Thank you for the information, Henning.
I don't know the PowerDevil thing, but it seems to me that

 1. /etc/acpi/power.sh calls /usr/sbin/pm-powersave.
 2. pm-powersave calls run_hooks defined in /usr/lib/pm-utils/pm-functions.
 3. run_hooks executes /usr/lib/pm-utils/power.d/anacron with an argument of 
"true", and it stops anacron.

If arguments for pm-powersave are omitted in step 2,
it determines whether the system should enter low-power operation or not 
according to the result of "on_ac_power"
(line 47 in /usr/sbin/pm-powersave).
So I modified the script of on_ac_power so that it always returns 0.
When I rebooted afterward, anacron started normally, without aborting.

Therefore, in my case, the problem is not in anacron or init (maybe),
but in the fact that my system cannot recognize that it actually runs on AC 
power.

# BTW, I've got used to starting anacron manually...

-- 
anacron killed immediately after resume from suspend state
https://bugs.launchpad.net/bugs/497813
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