[pulseaudio-discuss] [PATCH 7/8] launch: Disable autospawn by default when systemd daemon support is enabled.
Colin Guthrie
gmane at colin.guthr.ie
Fri Oct 24 03:47:26 PDT 2014
David Henningsson wrote on 24/10/14 11:12:
>
>
> On 2014-10-24 11:42, Tanu Kaskinen wrote:
>> On Sat, 2014-10-18 at 20:43 +0200, Colin Guthrie wrote:
>>> This method is prefered over pulseaudio's built in systems so we should
>>> try our best to ensure that it cannot be spawned outside of the
>>> mechanisms
>>> desired.
>>
>> Would it make sense to disable all autospawn related code when
>> HAVE_SYSTEMD_DAEMON is defined?
>
> From a distro perspective, no. Just because systemd is a build
> dependency, does not mean that the end user wants to use systemd.
>
> Debian being the prime example of a distro supporting multiple init
> systems.
Good point.
With a maintainers hat on, I'd think it would be annoying to have to
support multiple ways of configuring things for the best out of the box
experience, so I may be tempted to just disable systemd socket
activation and just use the built in autospawn stuff everywhere (which
reduced my test matrix). But either way it shouldn't be too hard to
support both (only slight quirk would be the fact that a build has to
have one built-in default for whether autospawn is on or off, but
obviously the config files can change that as needed).
Col
--
Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/
Day Job:
Tribalogic Limited http://www.tribalogic.net/
Open Source:
Mageia Contributor http://www.mageia.org/
PulseAudio Hacker http://www.pulseaudio.org/
Trac Hacker http://trac.edgewall.org/
More information about the pulseaudio-discuss
mailing list