Output of polkitd when trying to authenticate in time-admin (the
password dialog is never displayed):

** (polkitd:1752): DEBUG: system-bus-name::1.56 is inquiring whether 
unix-process:2283:1752924 is authorized for 
org.freedesktop.systemtoolsbackends.set
** (polkitd:1752): DEBUG:  user of caller is unix-user:connor
** (polkitd:1752): DEBUG:  user of subject is unix-user:connor

Authenticating in nm-connection-editor works as expected, and polkitd
logs this instead:

** (polkitd:15480): DEBUG: system-bus-name::1.4 is inquiring whether 
system-bus-name::1.103 is authorized for 
org.freedesktop.network-manager-settings.system.modify
** (polkitd:15480): DEBUG:  user of caller is unix-user:root
** (polkitd:15480): DEBUG:  user of subject is unix-user:connor
** (polkitd:15480): DEBUG: checking whether system-bus-name::1.103 is 
authorized for org.freedesktop.network-manager-settings.system.modify
** (polkitd:15480): DEBUG:   0xb6902e60
** (polkitd:15480): DEBUG:  subject is in session 
/org/freedesktop/ConsoleKit/Session5 (local=1 active=1)
** (polkitd:15480): DEBUG:  challenge (implicit_authorization = auth_admin_keep)
** (polkitd:15480): DEBUG:  
** (polkitd:15480): DEBUG:  using authentication agent for challenge
** (polkitd:18202): DEBUG: In authentication_agent_response for cookie 
'cookie0' and identity unix-user:connor
** (polkitd:18202): DEBUG: Authentication complete, is_authenticated = 1
** (polkitd:18202): DEBUG: In check_authorization_challenge_cb
  subject                system-bus-name::1.103
  action_id              org.freedesktop.network-manager-settings.system.modify
  authentication_success 1

apt-cache policy libpolkit-gobject-1-0 libpolkit-gtk-1-0 produces:

libpolkit-gobject-1-0:
  Installed: 0.99-1
  Candidate: 0.99-1
  Version table:
 *** 0.99-1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status
libpolkit-gtk-1-0:
  Installed: 0.99-1ubuntu1
  Candidate: 0.99-1ubuntu1
  Version table:
 *** 0.99-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main i386 Packages
        100 /var/lib/dpkg/status

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/685655

Title:
  PolicyKit authentication error: Only trusted callers (e.g. uid 0) can use 
CheckAuthorization() and pass details

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to