[OE-core] [PATCH v2] pulseaudio: add systemd to PACKAGECONFIG if enabled in DISTRO_FEATURES

Tanu Kaskinen tanu.kaskinen at linux.intel.com
Thu Jul 16 10:19:16 UTC 2015


On Mon, 2015-07-13 at 09:22 -0700, Christopher Larson wrote:
> 
> On Mon, Jul 13, 2015 at 9:17 AM, Pau Espin Pedrol
> <pespin.shar at gmail.com> wrote:

>         So, pulseaudio is intended to be used as a systemd user
>         service, not
>         as a systemd system service, and that means it needs to end up
>         in
>         /usr/lib/systemd/user and not in /lib/systemd/system/.
>         
>         All these changes are part of my efforts to improve systemd
>         user
>         service support in OE, which is kind of bad nowadays imho.
> 
> Fair enough, thanks for the clarification. Given that systemd user
> services require pam, and most embedded distros disable pam, I wonder
> if we shouldn’t have an option, at least for daemons in recipes that
> can handle it, to switch from user to system via a PACKAGECONFIG, and
> possibly default that for the non-pam case.. Hmm.

Do you mean that there are many distros that have systemd but don't have
pam, and that the lack of pam strongly suggests that the system won't
have any regular users? If so, then your proposal sounds good.

-- 
Tanu




More information about the Openembedded-core mailing list