Can we PLEASE get this resolved very soonish, in an important LTS
version, of all things holy?

It took me ages (~1h) to figure out the exact reason for use of an illegal(!!) 
stale dhclient DHCP lease IP after suspend / resume / hibernate via Internet 
research (which keywords would YOU use to discover sufficiently relevant 
topics? they all seem to fail...),
and according to my log that is exactly the problem here on 12.04LTS:

(as currently executed by /usr/lib/pm-utils/sleep.d/55NetworkManager of 
pm-utils 1.4.1-9fix.ubuntu12.04)
# dbus-send --print-reply --system --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep
Error org.freedesktop.DBus.Error.UnknownMethod: Method "sleep" with signature 
"" on interface "org.freedesktop.NetworkManager" doesn't exist

(corrected syntax as suggested by this report, working!)
# dbus-send --print-reply --system --dest=org.freedesktop.NetworkManager 
/org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Sleep 
boolean:true
method return sender=:1.5 -> dest=:1.972 reply_serial=2

# dbus-send --print-reply --system --dest=org.freedesktop.NetworkManager
/org/freedesktop/NetworkManager org.freedesktop.NetworkManager.Sleep
boolean:false

This report of a CRUCIAL suspend/resume breakage bug (my usual keyword
for such annoyingly frequent cases: "YASB") on a LONG-TERM-SUPPORT
distro is now more than THREE years old (fdo report), with a confirmed
working solution that is now 1.5 YEARS old. Please do (or communicate
some suggestions) what is necessary to finally have this high-profile
illegal-behaviour SHOW-STOPPER bug get resolved. Thank you. [I somehow
hate having to spell things out that clearly, but... anyway, please
accept my apologies]

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pm-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1007924

Title:
  pm-utils uses wrong interface for NetworkManager hook (should be
  org.freedesktop.NetworkManager.Sleep)

Status in pm-utils:
  Confirmed
Status in “pm-utils” package in Ubuntu:
  Triaged
Status in “pm-utils” package in Debian:
  Confirmed

Bug description:
  While looking at /var/log/pm-suspend.log I have noticed that the
  NetworkManager hooks fail:

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

        Running hook /usr/lib/pm-utils/sleep.d/55NetworkManager resume 
suspend_hybrid:
        Having NetworkManager wake interfaces back up...Failed.

  Looking at the script is uses org.freedesktop.NetworkManager.sleep and
  org.freedesktop.NetworkManager.wake.

  Calling this results in errors like this:
        % sudo dbus-send --print-reply --system 
--dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager 
org.freedesktop.NetworkManager.sleep
        Error org.freedesktop.DBus.Error.UnknownMethod: Method "sleep" with 
signature "" on interface "org.freedesktop.NetworkManager" doesn't exist

  According to the documentation [1], the interface is different / has
  changed.

  The correct usage would be to call
  org.freedesktop.NetworkManager.Sleep with a boolean value, like:

          sudo dbus-send --print-reply --system
  --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager
  org.freedesktop.NetworkManager.Sleep boolean:true

                
  1: 
http://projects.gnome.org/NetworkManager/developers/api/09/spec.htmlorg.freedesktop.NetworkManager.Sleep

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: pm-utils 1.4.1-9
  ProcVersionSignature: Ubuntu 3.2.0-25.40-generic 3.2.18
  Uname: Linux 3.2.0-25-generic x86_64
  ApportVersion: 2.0.1-0ubuntu8
  Architecture: amd64
  Date: Sat Jun  2 21:36:40 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  PackageArchitecture: all
  SourcePackage: pm-utils
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/pm-utils/+bug/1007924/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to