<p dir="ltr">systemd-logind: failed to get session: PID 879 doesnt belong to any known session</p>
<div class="gmail_quote">On Oct 31, 2014 7:31 PM, &quot;Lennart Poettering&quot; &lt;<a href="mailto:mzerqung@0pointer.de">mzerqung@0pointer.de</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Fri, 31.10.14 16:20, Lennart Poettering (<a href="mailto:mzerqung@0pointer.de">mzerqung@0pointer.de</a>) wrote:<br>
<br>
&gt; On Fri, 31.10.14 16:13, Michal Schmidt (<a href="mailto:mschmidt@redhat.com">mschmidt@redhat.com</a>) wrote:<br>
&gt;<br>
&gt; &gt; On 10/31/2014 03:42 PM, Kevin Fenzi wrote:<br>
&gt; &gt; &gt; On Fri, 31 Oct 2014 14:01:12 +0100<br>
&gt; &gt; &gt; Lennart Poettering &lt;<a href="mailto:mzerqung@0pointer.de">mzerqung@0pointer.de</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&gt; So the problem appears to be that gssproxy.service been ordered before<br>
&gt; &gt; &gt;&gt; remote-fs-pre.target. That target is ordered before<br>
&gt; &gt; &gt;&gt; basic.target. However gssproxy.service also is ordered after<br>
&gt; &gt; &gt;&gt; basic.target (simply because all services by default are ordered<br>
&gt; &gt; &gt;&gt; before basic.target, unless they explicitly specify<br>
&gt; &gt; &gt;&gt; DefaultDependencies=no), hence there&#39;s an ordering cycle.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Most likely some NFS maintainers tried to move gss-proxy.service into<br>
&gt; &gt; &gt;&gt; the early boot, and didn&#39;t set DefaultDependencies=no.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; That said, services running in early boot must be written in a<br>
&gt; &gt; &gt;&gt; specific style (i.e. not assume /var to be around, and suchlike), I<br>
&gt; &gt; &gt;&gt; do wonder if gssproxy is ready for that.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Anyway, long story short: file a bug against the gssproxy package.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I don&#39;t think this explains all the problems folks are having with<br>
&gt; &gt; &gt; systemd-217.<br>
&gt; &gt;<br>
&gt; &gt; I wonder if the new ordering dependency between<br>
&gt; &gt; systemd-journal-flush.service and systemd-tmpfiles-setup.service<br>
&gt; &gt; (added in 74055aa76 &quot;journalctl: add new --flush command and make use<br>
&gt; &gt; of it in systemd-journal-flush.service&quot;) participates in the ordering<br>
&gt; &gt; cycles.<br>
&gt;<br>
&gt; Ahh, indeed. It moves remote-fs.target into the early-boot where it<br>
&gt; doesn&#39;t belong.<br>
&gt;<br>
&gt; My fault.<br>
&gt;<br>
&gt; Will drop the remote-fs.target dep from the flush service.<br>
&gt;<br>
&gt; Thanks for tracking this down.<br>
<br>
Would be good if somebody who ran into this problem could check if<br>
this change fixes it:<br>
<br>
<a href="http://cgit.freedesktop.org/systemd/systemd/commit/units/systemd-journal-flush.service.in?id=919699ec301ea507edce4a619141ed22e789ac0d" target="_blank">http://cgit.freedesktop.org/systemd/systemd/commit/units/systemd-journal-flush.service.in?id=919699ec301ea507edce4a619141ed22e789ac0d</a><br>
<br>
(the actual commit unfortunately contains an unrelated change to<br>
nspawn, I fucked that up, sorry. Ignore everything but the change to<br>
systemd-journal-flush.service)<br>
<br>
Thanks,<br>
<br>
Lennart<br>
<br>
--<br>
Lennart Poettering, Red Hat<br>
--<br>
devel mailing list<br>
<a href="mailto:devel@lists.fedoraproject.org">devel@lists.fedoraproject.org</a><br>
<a href="https://admin.fedoraproject.org/mailman/listinfo/devel" target="_blank">https://admin.fedoraproject.org/mailman/listinfo/devel</a><br>
Fedora Code of Conduct: <a href="http://fedoraproject.org/code-of-conduct" target="_blank">http://fedoraproject.org/code-of-conduct</a></blockquote></div>