On Thu, Jul 16, 2015 at 3:19 AM, Tanu Kaskinen <
tanu.kaski...@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.s...@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.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to