← Back to team overview

touch-packages team mailing list archive

[Bug 888434] Re: /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

 

I attached a modified version of 55NetworkManager that simply calls
"stop network-manager" and "start network-manager", respectively.  This
works for me, i.e. I have a working network connection after resume,
which I hadn't before (Mint 13 Xfce, kernel 3.13.0-43-generic, ThinkPad
R500).

Please comment if this is a sensible solution –  or post a correct
version using dbus_send.

** Attachment added: "55NetworkManager"
   https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/888434/+attachment/4295640/+files/55NetworkManager

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

Title:
  /usr/lib/pm-utils/sleep.d/55NetworkManager calls the wrong method

Status in pm-utils package in Ubuntu:
  Confirmed

Bug description:
  As of 11.10, 55NetworkManager calls the already non-existing "sleep"
  and "wake" methods on org.freedesktop.NetworkManager. It should call
  instead the "Sleep" (not capital 'S') method with a boolean argument:

  dbus_send ... ... org.freedesktop.NetworkManager.Sleep boolean:true

  for suspending, and false for resuming.

  Attached the fixed file.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: pm-utils 1.4.1-8ubuntu1 [modified: usr/lib/pm-utils/sleep.d/55NetworkManager]
  ProcVersionSignature: Ubuntu 3.0.0-12.20~ppa1-generic-tuxonice 3.0.4
  Uname: Linux 3.0.0-12-generic-tuxonice x86_64
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  Date: Thu Nov 10 08:32:17 2011
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110426)
  PackageArchitecture: all
  ProcEnviron:
   LANGUAGE=en_US:en
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: pm-utils
  UpgradeStatus: Upgraded to oneiric on 2011-10-30 (11 days ago)

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