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

Belal, Awais Awais_Belal at mentor.com
Fri May 29 05:04:49 PDT 2015


Hi Martin,

Thanks for the very quick reply :)
So, are you saying that there is no guaranteed way in which PA can be enabled/disabled in a systemd based system?  That too, if I want to keep the binary in so if a user needs he can enable/disable PA as per need. How can I disable PA in such a scenario?

BR,
Awais

________________________________________
From: Martin Pitt [martin.pitt at ubuntu.com]
Sent: Friday, May 29, 2015 4:24 PM
To: Belal, Awais
Cc: systemd-devel at lists.freedesktop.org
Subject: Re: [systemd-devel] systemctl disable <service> not working as expected

Hello Belal,

Belal, Awais [2015-05-29 11:19 +0000]:
> 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.

Note that the pulseaudio daemon is commonly be auto-spawned from the
library (libpulse) from the user session. It's not very common to
enable a system-wide daemon with the .service file. So presumably it's
just from that?

Martin

--
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the systemd-devel mailing list