Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285947 - [gnome-overlay] gnome-power-manager-2.27.92-r1 silently fails to suspend
Summary: [gnome-overlay] gnome-power-manager-2.27.92-r1 silently fails to suspend
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL: https://bugzilla.gnome.org/show_bug.c...
Whiteboard:
Keywords:
: 285969 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-09-22 14:03 UTC by Peter Waller
Modified: 2011-02-14 03:24 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Waller 2009-09-22 14:03:02 UTC
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.
Comment 1 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-22 14:45:01 UTC
I believe this would be best addressed at upstream bugzilla, https://bugzilla.gnome.org/
Comment 2 Peter Waller 2009-09-22 14:51:36 UTC
(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
Comment 3 Rémi Cardona (RETIRED) gentoo-dev 2009-09-22 15:00:11 UTC
Thanks
Comment 4 Gilles Dartiguelongue (RETIRED) gentoo-dev 2009-09-23 11:19:22 UTC
*** Bug 285969 has been marked as a duplicate of this bug. ***
Comment 5 Romain Perier (RETIRED) gentoo-dev 2009-09-23 11:30:08 UTC
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.
Comment 6 Peter Waller 2009-09-23 11:33:54 UTC
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?