Hi Andrei Borzenkov: I do it as sam , the administrator,not root.And when I do it as root,it works. as you say,at the /run/user/1000/, there is no "dbus-session"
[email protected] From: Andrei Borzenkov Date: 2015-11-23 20:24 To: [email protected] CC: systemd-devel Subject: Re: [systemd-devel] about administator Authentication agents On Mon, Nov 23, 2015 at 11:00 AM, [email protected] <[email protected]> wrote: > > what is the relationship between systemd-logind and polkit.Because when I do > like this "systemd-analyze plot ",it tells me that "failed to list > units:Access denied".About this ,I have no idea. It's not related to logind; this is answered directly by systemd and actually should not require any authentication (nor does systemd call polkit for ListUnits). I can only imagine that your D-Bus policy blocks it. Are you doing it as root?
_______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
