<p dir="ltr">I remember Debian had an oddly restrictive policy for systemd bus access (though it seems to be fixed now?).</p>
<br><div class="gmail_quote"><div dir="ltr">On Mon, Nov 23, 2015, 14:24 Andrei Borzenkov <<a href="mailto:arvidjaar@gmail.com">arvidjaar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Mon, Nov 23, 2015 at 11:00 AM, <a href="mailto:yankun@iscas.ac.cn" target="_blank">yankun@iscas.ac.cn</a> <<a href="mailto:yankun@iscas.ac.cn" target="_blank">yankun@iscas.ac.cn</a>> wrote:<br>
><br>
> what is the relationship between systemd-logind and polkit.Because when I do<br>
> like this "systemd-analyze plot ",it tells me that "failed to list<br>
> units:Access denied".About this ,I have no idea.<br>
<br>
<br>
It's not related to logind; this is answered directly by systemd and<br>
actually should not require any authentication (nor does systemd call<br>
polkit for ListUnits). I can only imagine that your D-Bus policy<br>
blocks it.<br>
<br>
Are you doing it as root?<br>
_______________________________________________<br>
systemd-devel mailing list<br>
<a href="mailto:systemd-devel@lists.freedesktop.org" target="_blank">systemd-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/systemd-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/systemd-devel</a><br>
</blockquote></div>