Bug 809035 - NetworkManager does not awaken after suspend
Summary: NetworkManager does not awaken after suspend
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 16
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-04-02 10:13 UTC by Stephen J Alexander
Modified: 2012-06-08 23:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-08 23:59:04 UTC
Type: ---


Attachments (Terms of Use)
55NetworkManager.patch (715 bytes, patch)
2012-04-02 10:13 UTC, Stephen J Alexander
no flags Details | Diff

Description Stephen J Alexander 2012-04-02 10:13:51 UTC
Created attachment 574441 [details]
55NetworkManager.patch

Description of problem:
After resuming from suspend, NetworkManager remains in a sleep state.
Can be re-awakened with: nmcli -p nm sleep false


Version-Release number of selected component (if applicable):
pm-utils-1.4.1-12.fc16.x86_64
NetworkManager-0.9.2-1.fc16.x86_64

How reproducible:
100%

Steps to Reproduce:
1. With network controlled from NM, suspend system
2. Resume system
3. Note that NM remains asleep
  
Actual results:
[root@crucibulum Desktop]# nmcli -p nm status
======================================================================================
                                NetworkManager status
======================================================================================
RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
--------------------------------------------------------------------------------------
running         asleep          enabled         enabled    enabled         enabled   


Expected results:
[root@crucibulum Desktop]# nmcli -p nm status
======================================================================================
                                NetworkManager status
======================================================================================
RUNNING         STATE           WIFI-HARDWARE   WIFI       WWAN-HARDWARE   WWAN      
--------------------------------------------------------------------------------------
running         connected       enabled         enabled    enabled         enabled   


Additional info:

The pm-utils script /usr/lib64/pm-utils/sleep.d/55NetworkManager contains an error.  The dbus-send command parameters do not match the requirements of NetworkManager.  Specifically "...sleep" and "...wake" are both replces with "...Sleep" and a boolean paramaters.  The attached patch appears to solve the problem..

Comment 1 Stephen J Alexander 2012-04-02 10:15:59 UTC
The patch was based on review of ...
http://rpmfind.net/linux/RPM/opensuse/updates/12.1/x86_64/pm-utils-ndiswrapper-1.4.1-12.6.1.x86_64.html

Comment 2 Jaroslav Škarvada 2012-05-24 12:35:49 UTC
Thanks for reporting, accepted and notified upstream.

Comment 3 Fedora Update System 2012-05-24 13:10:29 UTC
pm-utils-1.4.1-13.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/pm-utils-1.4.1-13.fc16

Comment 4 Fedora Update System 2012-05-25 00:02:57 UTC
Package pm-utils-1.4.1-13.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing pm-utils-1.4.1-13.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-8389/pm-utils-1.4.1-13.fc16
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2012-06-08 23:59:04 UTC
pm-utils-1.4.1-13.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.