Comment 7 for bug 477832

Revision history for this message
Tristan Schmelcher (tschmelcher) wrote :

Starting polkit goes fine:

tristan@tinygod4:~$ sudo killall polkitd; sudo /usr/lib/policykit-1/polkitd
[sudo] password for tristan:
Registering null backend at priority -10
Using authority class PolkitBackendLocalAuthority
** (process:10436): DEBUG: Added authentication agent for session /org/freedesktop/ConsoleKit/Session10 at name :1.153, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8
** (process:10436): DEBUG: Added authentication agent for session /org/freedesktop/ConsoleKit/Session2 at name :1.46, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8

I tried several permutations of the edits that you suggested, but none of them changed the behaviour of users-admin. Even setting both parameters to "yes" still says that I'm "Not authorized to make changes". When I start users-admin though, my polkitd daemon that I started from the terminal outputs some interesting stuff:

tristan@tinygod4:~$ users-admin
Xlib: extension "RANDR" missing on display "::1:1.0".
Xlib: extension "Generic Event Extension" missing on display "::1:1.0".
Xlib: extension "Generic Event Extension" missing on display "::1:1.0".
Xlib: extension "Generic Event Extension" missing on display "::1:1.0".

(process:10489): GLib-GObject-WARNING **: value "-1" of type `gint' is invalid or out of range for property `pid' of type `gint'
** (process:10489): DEBUG: system-bus-name::1.218 is inquiring whether unix-process:10498:16170409 is authorized for org.freedesktop.systemtoolsbackends.set
** (process:10489): DEBUG: user of caller is unix-user:tristan
** (process:10489): DEBUG: user of subject is unix-user:tristan
** (process:10489): DEBUG: checking whether unix-process:10498:16170409 is authorized for org.freedesktop.systemtoolsbackends.set
** (process:10489): DEBUG: 0x992d50
** (process:10489): DEBUG: subject is in session /org/freedesktop/ConsoleKit/Session10 (local=0 active=0)
** (process:10489): DEBUG: not authorized
** (process:10489): DEBUG:
tristan@tinygod4:~$

That seems to make it look like there are two problems: I am not detected as "active", and I am not detected as "local" either.

I think I will file a separate bug report against update-manager to cover the groups membership issue that I originally reported, since this report has clearly evolved into tracking the users-admin problem.