Please reply if this is still an issue on a supported release.

** Changed in: pm-utils (Ubuntu)
       Status: New => Invalid

** Changed in: netbook-remix
       Status: New => Invalid

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

Title:
  /etc/sysctl.conf not loaded on resume

Status in Ubuntu Netbook Remix:
  Invalid
Status in “pm-utils” package in Ubuntu:
  Invalid

Bug description:
  Binary package hint:
  pm-utils

  What release of Ubuntu I am using:
  Hardy 8.04.1/Netbook remix 1.0.1 (kernel version2.6.24-19-lpia)

  What version of the package am I using:
  pm-utils 0.99.2-3ubuntu10

  What I expect to happen:
  If I set variables in /etc/sysctl.conf (or /etc/sysctl.d/*) they should still 
be set both after boot-up and after resuming from suspend

  What happened instead:
  Variables are set after boot but after suspending they are no longer loaded 
(can be confirmed by using "sysctl -a") and have to be manually reloaded by 
using "sysctl -p"

  A bit more detail:
  I have an acer aspire one, and I want to set up the wifi led to flash when 
I'm using wifi. This can be done by setting the appropriate variables in 
sysctl.conf. However, this only works after the initial boot, and if I suspend 
then the led no longer works (it's probable that this also works after 
hibernation too but hibernate's disabled on my machine).

  After a bit of investigation, I discovered that it was because
  variables set in sysctl.conf weren't being loaded after resuming, and
  if I ran "sysctl -p" (which reloads sysctl.conf) the wifi led came
  back to life. (I suspect this might also disable any network
  connection tweaks that are defined there as well, although I haven't
  tested this myself)

  Temporary solution:
  What I've done for now, is dropped a script in /etc/pm/sleep.d that calls 
sysctl -p after resuming. I've attached the code (if you want to use this, make 
sure that the script is executable...)

  Theory about what's going wrong: Not sure. I'm not even sure that it's
  a problem with pm-utils, however, there is definitely a difference in
  the way that the system is being reinitialised on resume compared to
  when it boots.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netbook-remix/+bug/351436/+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