** Changed in: pm-utils (Debian)
       Status: Fix Released => Confirmed

-- 
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:
  Won't Fix
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     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to