Your message dated Wed, 19 May 2010 23:33:06 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#582305: Bug#582305: upower: 
can't obtain suspend/hibernate authorization
has caused the Debian Bug report #582305,
regarding upower: can't obtain suspend/hibernate authorization
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
582305: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582305
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: upower
Version: 0.9.4-1
Severity: normal

Hey,

I'm not 100% sure it's a bug in upower, but I'm still puzzled.

I'm testing xfce4-power-manager 0.9.98, which uses
upower/policykit/consolekit/…

Running xfpm --dump replies:

cor...@hidalgo: xfce4-power-manager --dump
---------------------------------------------------
       Xfce power manager version 0.9.98
       With HAL support
       With policykit support
       With network manager support
       With DPMS support
       ---------------------------------------------------
       Can suspend: True
       Can hibernate: False
       Can spin down hard disks: True
       Authorized to suspend: False
       Authorized to hibernate: False
       Authorized to shutdown: True
       Authorized to spin down hard disks: False
       Has brightness panel: True
       Has power button: True
       Has hibernate button: True
       Has sleep button: True
       Has LID: True

and the logs from debug xfpm give:

TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): 
Action=org.freedesktop.upower.suspend is authorized=FALSE
TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): 
Action=org.freedesktop.upower.hibernate is authorized=FALSE
TRACE[xfpm-polkit.c:407] xfpm_polkit_check_auth_intern(): 
Action=org.freedesktop.udisks.drive-set-spindown is authorized=FALSE

polkit-auth returns nothing (but I'm told it's normal, not sure), when I
try to obtain authorization from polickit, I get:

cor...@hidalgo: POLKIT_AUTH_FORCE_TEXT=1 polkit-auth --obtain 
org.freedesktop.upower.suspend
Attempting to obtain authorization for org.freedesktop.upower.suspend.
polkit-grant-helper: given auth type (1 -> no) is bogus
Failed to obtain authorization for org.freedesktop.upower.suspend.

Looking at /usr/share/polkit-1/actions/org.freedesktop.upower.policy,
local users should get the “suspend” authorization automatically, so I'm
not sure what is the problem. Do you have any clue what's not working
there and a way to debug?

Cheers,
--
Yves-Alexis


-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages upower depends on:
ii  dbus                         1.2.24-1    simple interprocess messaging syst
ii  libc6                        2.10.2-8    Embedded GNU C Library: Shared lib
ii  libdbus-1-3                  1.2.24-1    simple interprocess messaging syst
ii  libdbus-glib-1-2             0.86-1      simple interprocess messaging syst
ii  libglib2.0-0                 2.24.1-1    The GLib library of C routines
ii  libgudev-1.0-0               154-1       GObject-based wrapper library for 
ii  libpolkit-gobject-1-0        0.96-2      PolicyKit Authorization API
ii  libupower-glib1              0.9.4-1     abstraction for power management -
ii  libusb-0.1-4                 2:0.1.12-14 userspace USB programming library
ii  udev                         154-1       /dev/ and hotplug management daemo

Versions of packages upower recommends:
ii  pm-utils                      1.3.0-1    utilities and scripts for power ma
ii  policykit-1                   0.96-2     framework for managing administrat

upower suggests no packages.

-- no debconf information



--- End Message ---
--- Begin Message ---
After a quick debug session on IRC, it doesn't look like a upower/ck/pk issue
and might be a xfpm bug after all, which is not in Debian yet. So closing.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-utopia-maintainers mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/pkg-utopia-maintainers

Reply via email to