[systemd-devel] systemctl disable <service> not working as expected

Lennart Poettering lennart at poettering.net
Fri May 29 06:59:58 PDT 2015

On Fri, 29.05.15 11:19, Belal, Awais (Awais_Belal at mentor.com) wrote:

> Hi,
> I am working on an x86_64 platform with a yocto based environment. I
> was trying to disable pulseaudio which is included in the system by
> default so I did a 'systemctl disable pulseaudio' but when I reboot
> it seems pulseaudio is still run for a very short period of time and
> this is messing up some sound controls on my system. Although
> SYSVINIT capability is enabled but no sysv init style scripts are
> available on the target. Any pointers will be really helpful.

pulseaudio is generally not a system service but a user
service. Unless your user session is fully converted to be managed by
systemd too (which is unlikely) systemd is hence not involved at all
with starting it.

PA is usually started from the session setup script or service. In
Gnome that's gnome-session, for example. It's also auto-spawned
on-demand if the libraries are used and note that it is missing.


Lennart Poettering, Red Hat

More information about the systemd-devel mailing list