Hi. I'm new to Obarun and the s6/66 system. So, when I try to start PulseAudio, I got this error:
66-enable: fatal: unable to parse service file: /usr/lib/66/service/pulseaudio: or it's dependencies
Then, I take a look at the service file and see that it doesn't seems to need any dependencies. How can I bypass/get rid of the error and get PulseAudio to work ?
please increase the verbosity and submit the result
% 66-enable -v4 pulseaudio
eric wroteplease increase the verbosity and submit the result
% 66-enable -v4 pulseaudio
Here:
# 66-enable -v4 pulseaudio
66-enable(src/lib66/parser_enabled.c: parse_service_before: 37): tracing: start parse process of service: /usr/lib/66/service/pulseaudio
66-enable(src/lib66/parser_enabled.c: parse_service_before: 70): tracing: read service file of: /usr/lib/66/service/pulseaudio
66-enable(src/lib66/parser_utils.c: keep_common: 570): warning: unable to use the service -- permission denied
66-enable(src/lib66/parser.c: parser: 70): warning: unable to keep information of service file: pulseaudio
66-enable(src/lib66/ssexec_enable.c: start_parser: 71): fatal: unable to parse service file: /usr/lib/66/service/pulseaudio: or its dependencies
When I saw that "permission denied", I tried the command agian with su but I still get the same thing.
Wild guess
% sudo pacman -S pulseaudio-66serv
% 66-enable -v4 pulseaudio
friedmushroom wroteWild guess
% sudo pacman -S pulseaudio-66serv
% 66-enable -v4 pulseaudio
I did install that package lol, but it does not work :))
So, I checked agian at the service file then found this:
{
        if -nt { s6-test -d ${XDG_RUNTIME_DIR}/pulse }
        s6-mkdir -p -m 0755 ${XDG_RUNTIME_DIR}/pulse
}
s6-ipcserver-socketbinder -- ${XDG_RUNTIME_DIR}/pulse/native
pulseaudio --daemonize=no
So, is "XDG_RUNTIME_DIR" the problem, or how can I get it to be set ?
So, you don't use it in the right way :).
First
66-enable(src/lib66/parser_utils.c: keep_common: 570): warning: unable to use the service -- permission denied
you try to enable the service with root privileges where the service is made for a regular user.
If you look at the frontend file you will see: @ user = ( user ). If you try to use as root, 66 will not accept it :).

Second.
To be able to use it properly you need to set and start an user supervision tree. To do it you need to follow https://wiki.obarun.org/doku.php?id=dbus_and_dm (only the first part concerning the module activation). I don't know how you start your X session but be aware about the change inside the .xinitrc. Your original one will be renamed .xinitrc.back.
This module will set and bring up an user supervision tree at boot time.So, after the activation of the module as describe in the wiki, reboot or start all services inside the tree by .eg (as root)
# 66-all -t boot-user up
Now you will be able to start a service at regular user. The first thing to do is to create a tree as regular user like this
% 66-tree -ncE <mytree>
Replace <mytree> by the name of your choice.
Then you will be able to active pulseaudio on that tree as regular user:
% 66-enable pulseaudio
eric wroteSo, you don't use it in the right way :).
First
66-enable(src/lib66/parser_utils.c: keep_common: 570): warning: unable to use the service -- permission denied
you try to enable the service with root privileges where the service is made for a regular user.
If you look at the frontend file you will see: @ user = ( user ). If you try to use as root, 66 will not accept it :).

Second.
To be able to use it properly you need to set and start an user supervision tree. To do it you need to follow https://wiki.obarun.org/doku.php?id=dbus_and_dm (only the first part concerning the module activation). I don't know how you start your X session but be aware about the change inside the .xinitrc. Your original one will be renamed .xinitrc.back.
This module will set and bring up an user supervision tree at boot time.So, after the activation of the module as describe in the wiki, reboot or start all services inside the tree by .eg (as root)
# 66-all -t boot-user up
Now you will be able to start a service at regular user. The first thing to do is to create a tree as regular user like this
% 66-tree -ncE <mytree>
Replace <mytree> by the name of your choice.
Then you will be able to active pulseaudio on that tree as regular user:
% 66-enable pulseaudio
It works now ! Thanks @ eric

Powered by Obarun