HAL powermanager exception on Arch Linux

Bug #351170 reported by Andrew Williams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OBLogout
Confirmed
High
Andrew Williams

Bug Description

Attains auth, but then fails due to access. polkit-gnome-authorization applet shows the entry intermittently, depending on where it's executed.

[nikdoof@vektor oblogout]$ ./oblogout-dev.sh
2009-03-29 20:34:12,134 - OpenboxLogout - DEBUG - Shortcut Options: [('suspend', 'U'), ('lock', 'K'), ('hibernate', 'H'), ('logout', 'L'), ('shutdown', 'S'), ('cancel', 'Escape'), ('restart', 'R')]
2009-03-29 20:34:12,153 - OpenboxLogout - DEBUG - Validated Button List: ['cancel', 'logout', 'restart', 'shutdown', 'suspend', 'lock']
2009-03-29 20:34:12,161 - OpenboxLogout - DEBUG - Screen supports alpha channels!
2009-03-29 20:34:13,778 - DbusController - DEBUG - Checking permissions for org.freedesktop.hal.power-management.reboot-multiple-sessions
2009-03-29 20:34:13,831 - DbusController - DEBUG - Not authorised to use, requires auth_admin
2009-03-29 20:34:13,831 - DbusController - DEBUG - Attempting to obtain org.freedesktop.hal.power-management.reboot-multiple-sessions
2009-03-29 20:34:16,057 - DbusController - DEBUG - Result: True
2009-03-29 20:34:16,058 - DbusController - DEBUG - Rebooting...
Traceback (most recent call last):
  File "/home/nikdoof/dev/oblogout/oblogout/oblogout.py", line 344, in click_button
    self.dbus.restart()
  File "/home/nikdoof/dev/oblogout/oblogout/dbushandler.py", line 145, in restart
    return self._halpm.Reboot()
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 68, in __call__
    return self._proxy_method(*args, **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/proxies.py", line 140, in __call__
    **keywords)
  File "/usr/lib/python2.6/site-packages/dbus/connection.py", line 622, in call_blocking
    message, timeout)
dbus.exceptions.DBusException: org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org.freedesktop.hal.power-management.reboot-multiple-sessions auth_admin <-- (action, result)

Changed in oblogout:
assignee: nobody → nikdoof
importance: Undecided → High
milestone: none → 0.2.0
status: New → Confirmed
Changed in oblogout:
milestone: 0.2.0 → 0.3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.