I recently upgraded gnome-power manager, and unmasked the following packages: =gnome-extra/gnome-power-manager-2.27.92-r1 ~amd64 =sys-apps/devicekit-power-010 ~amd64 =gnome-extra/polkit-gnome-0.93 ~amd64 =sys-auth/polkit-0.93 ~amd64 =dev-libs/eggdbus-0.5 ~amd64 =sys-fs/udev-146 ~amd64 =sys-apps/util-linux-2.16.1 ~amd64 =sys-apps/usbutils-0.82 ~amd64 =sys-fs/e2fsprogs-1.41.9 ~amd64 =sys-libs/e2fsprogs-libs-1.41.9 ~amd64 =sys-apps/hal-0.5.13-r2 ~amd64 =x11-libs/libXrandr-1.3.0 ~amd64 =x11-apps/xrandr-1.3.0 ~amd64 If I try to suspend, nothing happens. /var/log/messages reports: dbus-daemon: Rejected send message, 2 matched rules; type="method_call", sender=":1.30" (uid=0 pid=26636 comm="/usr/libexec/polkitd-1 ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=26221 comm="/usr/sbin/console-kit-daemon ")) If I try to suspend at the console by sending dbus a command: $ dbus-send --print-reply --system --dest=org.freedesktop.DeviceKit.Power /org/freedesktop/DeviceKit/Power org.freedesktop.DeviceKit.Power.Suspend Error org.freedesktop.DeviceKit.Power.GeneralError: not authorized and in /var/log/messages: dbus-daemon: Rejected send message, 2 matched rules; type="method_call", sender=":1.80" (uid=1000 pid=27070 comm="gnome-power-preferences ") interface="org.freedesktop.ConsoleKit.Manager" member="CanStop" error name="(unset)" requested_reply=0 destination="org.freedesktop.ConsoleKit" (uid=0 pid=26221 comm="/usr/sbin/console-kit-daemon ")) Please let me know if you need anything more from me.
I believe this would be best addressed at upstream bugzilla, https://bugzilla.gnome.org/
(In reply to comment #1) > I believe this would be best addressed at upstream bugzilla, > https://bugzilla.gnome.org/ > Done: https://bugzilla.gnome.org/show_bug.cgi?id=595963
Thanks
*** Bug 285969 has been marked as a duplicate of this bug. ***
See upstream comment, as richard said it seems to be a polkit problem, and this issue has nothing to do with g-p-m. We need to find a solution about polkit (missing settings ? missing rules registration ? I don't know, I need to search some stuff about polkit...) However I totally agree with Gilles comment.
Yes, in retrospect this is clearly not much to do with GPM (apart from the silent failure bit). Should I open up a new bug to try and see why ConsoleKit/Polkit is refusing to suspend, or can we re-open this bug?