@Andreas Mohr:

1. I would suggest poking the upstream bug report (possibly e-mailing
Victor Lowther (at gmail) directly, who did the latest commits for pm-
utils, see "git log" of git://anongit.freedesktop.org/git/pm-utils).

2. Since there are no Ubuntu related changes, it makes sense to fix it
in Debian (see the Debian bug report).

3. For updating released packages, e.g. for 12.04, see the procedure at
https://wiki.ubuntu.com/StableReleaseUpdates .

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