/usr/lib/pm-utils/sleep.d/55NetworkManager uses old nm dbus api

Bug #907075 reported by baol
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

The script mentioned in the subject does not use NM api version 0.9.

I found this bug trying to figure out why, when resuming from sleep, the network takes always ages to wake up.

As far as I understand the correct calls are.

 dbus_send --print-reply --system \
  --dest=org.freedesktop.NetworkManager \
  /org/freedesktop/NetworkManager \
  org.freedesktop.NetworkManager.Sleep boolean:true

        dbus_send --print-reply --system \
  --dest=org.freedesktop.NetworkManager \
  /org/freedesktop/NetworkManager \
  org.freedesktop.NetworkManager.Sleep boolean:false

Revision history for this message
baol (baol) wrote :

Note: I'm nonexpert here, so please take the suggested calls as an hint about the problem, not as a proposed patch.

With the original 55NetworkManager file I get this log everytime the system goes in standby:

 /usr/lib/pm-utils/sleep.d/49bluetooth suspend suspend: success.
 Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager suspend suspend:
 Having NetworkManager put all interaces to sleep...Failed.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in pm-utils (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.