[systemd-devel] about administator Authentication agents

yankun at iscas.ac.cn yankun at iscas.ac.cn
Mon Nov 23 16:45:40 PST 2015

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"

yankun at iscas.ac.cn
From: Andrei Borzenkov
Date: 2015-11-23 20:24
To: yankun at iscas.ac.cn
CC: systemd-devel
Subject: Re: [systemd-devel] about administator Authentication agents
On Mon, Nov 23, 2015 at 11:00 AM, yankun at iscas.ac.cn <yankun at iscas.ac.cn> 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?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20151124/f2196694/attachment.html>

More information about the systemd-devel mailing list