Your message dated Sat, 03 Aug 2013 01:34:25 +0200
with message-id <[email protected]>
and subject line Re: [Pkg-utopia-maintainers] Bug#718491: Bug#718491: 
Bug#718458: Processed: Reassigning to upower
has caused the Debian Bug report #718491,
regarding upower: claims sleep is pending when it is not
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.)


-- 
718491: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718491
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: xfce4-power-manager
Version: 1.2.0-2
Severity: normal

About a week ago, my laptop stopped suspending when I closed the lid; I
don't remember exactly when this started.  It's a Thinkpad X220, and
suspend has worked very well on it since I've had it.  I'm not sure what
caused it, but the following might help you:

* I am running the systemd in sid.
* I've started seeing the following errors in /var/log/auth.log starting
  on the 24th:

  Jul 31 23:47:15 vauxhall dbus[1891]: [system] Rejected send message, 6 
matched rules; type="method_call", sender=":1.24" (uid=1000 pid=3805 
comm="xfce4-power-manager --restart --sm-client-id 28c7f") 
interface="org.freedesktop.NetworkManager" member="Sleep" error name="(unset)" 
requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 
pid=1989 comm="/usr/sbin/NetworkManager --no-daemon ")
  Jul 31 23:47:43 vauxhall dbus[1891]: [system] Rejected send message, 6 
matched rules; type="method_call", sender=":1.24" (uid=1000 pid=3805 
comm="xfce4-power-manager --restart --sm-client-id 28c7f") 
interface="org.freedesktop.NetworkManager" member="Sleep" error name="(unset)" 
requested_reply="0" destination="org.freedesktop.NetworkManager" (uid=0 
pid=1989 comm="/usr/sbin/NetworkManager --no-daemon ")

* Switching to an older kernel does not help.
* I can use pm-suspend and everything works just fine.
* I use network-manager with the GNOME applet.

If you need more information, please let me know; if the bug lies in
some other package, please reassign it there.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages xfce4-power-manager depends on:
ii  libc6                     2.17-7
ii  libdbus-1-3               1.6.12-1
ii  libdbus-glib-1-2          0.100.2-1
ii  libgdk-pixbuf2.0-0        2.28.2-1
ii  libglib2.0-0              2.36.3-3
ii  libgtk2.0-0               2.24.20-1
ii  libnotify4                0.7.5-2
ii  libx11-6                  2:1.6.0-1
ii  libxext6                  2:1.3.2-1
ii  libxfce4ui-1-0            4.10.0-3
ii  libxfce4util6             4.10.1-1
ii  libxfconf-0-2             4.10.0-2
ii  libxrandr2                2:1.4.1-1
ii  upower                    0.9.21-1
ii  xfce4-power-manager-data  1.2.0-2

Versions of packages xfce4-power-manager recommends:
ii  consolekit  0.4.5-3.1

Versions of packages xfce4-power-manager suggests:
ii  udisks                       1.0.4-8
pn  xfce4-power-manager-plugins  <none>

-- no debconf information

-- 
brian m. carlson / brian with sandals: Houston, Texas, US
+1 832 623 2791 | http://www.crustytoothpaste.net/~bmc | My opinion only
OpenPGP: RSA v4 4096b: 88AC E9B2 9196 305B A994 7552 F1BA 225C 0223 B187

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Version: 0.9.21-2

Am 02.08.2013 22:06, schrieb brian m. carlson:
> On Fri, Aug 02, 2013 at 04:44:52AM +0200, Michael Biebl wrote:
>> Am 02.08.2013 04:37, schrieb Michael Biebl:
>>> You are using systemd, correct?
> 
> Yes.
> 
>>> /lib/systemd/system-sleep/notify-upower.sh
>>> which is supposed to notify upower to send the Resume signal after a
>>> successful resume.
>>>
>>> Can you copy the attached file to /lib/systemd/system-sleep/, make it
>>
>> I have to add: This requires systemd 204 from experimental. The version
>> in unstable doesn't have support for suspend/hibernate (which was added
>> in v183).
> 
> I've already upgraded to that version in hopes it would make it work, so
> it isn't a problem.  Adding the script does make it work.
> 
>> While we should get 204 in unstable hopefully soon, I guess the safest
>> action for now is, to patch upower to always use the pm-utils backend
>> directly, unless this causes an unwanted side-effect if one is actually
>> running systemd 204.
> 
> I haven't seen such a side effect, so I don't see a problem with that.
> Even if there were such a side effect, I suspect people would be more
> likely to object about their laptop refusing to suspend than about the
> side effect.

Agreed. So what I've done is change upower to always use the pm-utils
backend for now, even if logind is running.
Once systemd 204 hits unstable (and once we have systemd-shim [1] for
sysvinit) we might consider reenabling the logind backend in upower. So
we also install the notify-upower.sh script, just so we don't forget.

Michael

[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=718493


-- 
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 ---

Reply via email to