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"


yan...@iscas.ac.cn
 
From: Andrei Borzenkov
Date: 2015-11-23 20:24
To: yan...@iscas.ac.cn
CC: systemd-devel
Subject: Re: [systemd-devel] about administator Authentication agents
On Mon, Nov 23, 2015 at 11:00 AM, yan...@iscas.ac.cn <yan...@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?
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to