Public bug reported:

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, ther is definitely a difference in the
way that the system is being reinitialised on resume compared to when it
boots.

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/sysctl.conf not loaded on resume
https://bugs.launchpad.net/bugs/351436
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to