[OE-core] [PATCH v2] pulseaudio: add systemd to PACKAGECONFIG if enabled in DISTRO_FEATURES
clarson at kergoth.com
Thu Jul 16 14:56:01 UTC 2015
On Thu, Jul 16, 2015 at 3:19 AM, Tanu Kaskinen <
tanu.kaskinen at linux.intel.com> wrote:
> 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.
No, I mean that systemd user services require pam, as far as I know,
because it’s a systemd pam plugin which actually starts and stops the user
services. Without that hook, they won’t be run at all.
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Openembedded-core