FS#21972 - [pm-utils] 1.4.1-1 is missing the NetworkManager hook

Attached to Project: Arch Linux
Opened by Tuomo Lempiäinen (Tuxe) - Friday, 03 December 2010, 14:28 GMT
Last edited by Jan de Groot (JGC) - Thursday, 20 January 2011, 20:57 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Ionut Biru (wonder)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

The hook /usr/lib/pm-utils/sleep.d/55NetworkManager is missing from pm-utils-1.4.1-1. So NetworkManager is not put to sleep when suspending. pm-utils-1.4.0-1 had this hook and it is present in the upstream 1.4.1 package.

Steps to reproduce:

Connect to a WiFi network using NetworManager and suspend. Move away from the range of the network and resume from suspend. Now NM thinks the previously used network is still available and tries to reconnect to it.
This task depends upon

Closed by  Jan de Groot (JGC)
Thursday, 20 January 2011, 20:57 GMT
Reason for closing:  Works for me
Additional comments about closing:  Works when upower is installed.
Comment by Ionut Biru (wonder) - Friday, 03 December 2010, 14:37 GMT
55NetworkManager hook was removed intentionally because networkmanager now is using native udev/upower support for suspending
Comment by Ionut Biru (wonder) - Friday, 03 December 2010, 14:38 GMT
This explanation is in the commit log too, just to avoid this bug reports
Comment by Tuomo Lempiäinen (Tuxe) - Friday, 03 December 2010, 15:11 GMT
Hmm, ok, what am I doing wrong then? I have networkmanager-0.8.3-0.20101130 as well as the latest udev/upower packages installed, and I still have the problem described above.
Comment by Jan de Groot (JGC) - Thursday, 20 January 2011, 20:57 GMT
AFAIK upower is only listed as optdepend for pm-utils. It's not a dependency for networkmanager, so if you don't have it installed, networkmanager will not respond to suspend/resume.

Loading...