1. 11 Dec, 2009 1 commit
    • David Zeuthen's avatar
      Bug 25594 – System logging · c93407fa
      David Zeuthen authored
      For now we log the following events
      
      1. Daemon startup -> /var/log/messages
      --------------------------------------
      
      Dec 11 15:12:56 localhost polkitd[3035]: started daemon version 0.95 using authority implementation `local' version `0.95'
      
      2. Authentication agent -> /var/log/secure
      ------------------------------------------
      
      Dec 11 15:14:00 localhost polkitd(authority=local): Registered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.903 [./polkit-gnome-authentication-agent-1], object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
      
      Dec 11 15:16:18 localhost polkitd(authority=local): Unregistered Authentication Agent for session /org/freedesktop/ConsoleKit/Session1 (system bus name :1.903, object path /org/gnome/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
      
      3. Authorization checks
      -----------------------
      
      Dec 11 15:17:57 localhost polkitd(authority=local): ALLOWING action org.freedesktop.policykit.example.pkexec.run-frobnicate for unix-process:2517:25785526 [bash] owned by unix-user:davidz (check requested by system-bus-name::1.905 [pkexec /usr/bin/pk-example-frobnicate])
      
      Dec 11 15:18:10 localhost polkitd(authority=local): ALLOWING action org.freedesktop.udisks.filesystem-mount-system-internal for system-bus-name::1.902 [palimpsest] owned by unix-user:davidz (check requested by system-bus-name::1.380 [/usr/libexec/udisks-daemon])
      
      4. Authorizations through authentication (both success and
         failures) -> /var/log/secure
      ----------------------------------------------------------
      
      Dec 11 15:19:01 localhost polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session1 successfully authenticated as unix-user:davidz to gain TEMPORARY authorization for action org.freedesktop.policykit.example.pkexec.run-frobnicate for unix-process:2517:25785526 [bash] (owned by unix-user:davidz)
      Dec 11 15:19:01 localhost polkitd(authority=local): ALLOWING action org.freedesktop.policykit.example.pkexec.run-frobnicate for unix-process:2517:25785526 [bash] owned by unix-user:davidz (check requested by system-bus-name::1.906 [pkexec /usr/bin/pk-example-frobnicate])
      
      Dec 11 15:19:10 localhost polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session1 successfully authenticated as unix-user:davidz to gain ONE-SHOT authorization for action org.freedesktop.policykit.exec for unix-process:2517:25785526 [bash] (owned by unix-user:davidz)
      Dec 11 15:19:10 localhost polkitd(authority=local): ALLOWING action org.freedesktop.policykit.exec for unix-process:2517:25785526 [bash] owned by unix-user:davidz (check requested by system-bus-name::1.908 [pkexec bash])
      
      Dec 11 15:19:10 localhost pkexec: pam_unix(polkit-1:session): session opened for user root by davidz(uid=500)
      Dec 11 15:19:22 localhost polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session1 FAILED to authenticate to gain authorization for action org.freedesktop.policykit.exec for unix-process:2517:25785526 [bash] (owned by unix-user:davidz)
      Dec 11 15:19:22 localhost polkitd(authority=local): DENYING action org.freedesktop.policykit.exec for unix-process:2517:25785526 [bash] owned by unix-user:davidz (check requested by system-bus-name::1.910 [pkexec bash])
      
      Dec 11 15:20:06 localhost polkitd(authority=local): Operator of unix-session:/org/freedesktop/ConsoleKit/Session1 successfully authenticated as unix-user:bateman to gain ONE-SHOT authorization for action org.freedesktop.policykit.exec for unix-process:2517:25785526 [bash] (owned by unix-user:davidz)
      Dec 11 15:20:06 localhost polkitd(authority=local): ALLOWING action org.freedesktop.policykit.exec for unix-process:2517:25785526 [bash] owned by unix-user:davidz (check requested by system-bus-name::1.913 [pkexec bash])
      Signed-off-by: default avatarDavid Zeuthen <davidz@redhat.com>
      c93407fa
  2. 11 Nov, 2009 1 commit
  3. 16 Sep, 2009 1 commit
  4. 27 Jul, 2009 1 commit
  5. 20 Jul, 2009 1 commit
  6. 15 Jul, 2009 1 commit
  7. 13 Jul, 2009 1 commit
  8. 19 May, 2009 1 commit
  9. 13 May, 2009 2 commits
  10. 09 Feb, 2009 1 commit
  11. 08 Feb, 2009 2 commits
  12. 02 Feb, 2009 2 commits
  13. 01 Feb, 2009 2 commits
  14. 27 Jan, 2009 1 commit
  15. 21 Jan, 2009 1 commit
  16. 20 Jan, 2009 1 commit
  17. 19 Jan, 2009 2 commits
  18. 18 Jan, 2009 1 commit
  19. 16 Jan, 2009 1 commit
  20. 12 Jan, 2009 2 commits
  21. 07 Jan, 2009 1 commit
  22. 06 Jan, 2009 1 commit
  23. 07 Dec, 2008 3 commits
  24. 03 Dec, 2008 1 commit