<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 3:19 AM, Tanu Kaskinen <span dir="ltr">&lt;<a href="mailto:tanu.kaskinen@linux.intel.com" target="_blank">tanu.kaskinen@linux.intel.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Mon, 2015-07-13 at 09:22 -0700, Christopher Larson wrote:<br>
&gt;<br>
&gt; On Mon, Jul 13, 2015 at 9:17 AM, Pau Espin Pedrol<br>
&gt; &lt;<a href="mailto:pespin.shar@gmail.com">pespin.shar@gmail.com</a>&gt; wrote:<br>
<br>
</span><span class="">&gt;         So, pulseaudio is intended to be used as a systemd user<br>
&gt;         service, not<br>
&gt;         as a systemd system service, and that means it needs to end up<br>
&gt;         in<br>
&gt;         /usr/lib/systemd/user and not in /lib/systemd/system/.<br>
&gt;<br>
&gt;         All these changes are part of my efforts to improve systemd<br>
&gt;         user<br>
&gt;         service support in OE, which is kind of bad nowadays imho.<br>
&gt;<br>
&gt; Fair enough, thanks for the clarification. Given that systemd user<br>
&gt; services require pam, and most embedded distros disable pam, I wonder<br>
&gt; if we shouldn’t have an option, at least for daemons in recipes that<br>
&gt; can handle it, to switch from user to system via a PACKAGECONFIG, and<br>
&gt; possibly default that for the non-pam case.. Hmm.<br>
<br>
</span>Do you mean that there are many distros that have systemd but don&#39;t have<br>
pam, and that the lack of pam strongly suggests that the system won&#39;t<br>
have any regular users? If so, then your proposal sounds good.</blockquote></div><br>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.<br>-- <br><div class="gmail_signature">Christopher Larson<br>clarson at kergoth dot com<br>Founder - BitBake, OpenEmbedded, OpenZaurus<br>Maintainer - Tslib<br>Senior Software Engineer, Mentor Graphics</div>
</div></div>