Package: anacron Version: 2.3-14 Severity: important I have this same problem, but I don't think the problem lies entirely in /usr/lib/pm-utils/power.d/anacron
This file gets bad information from pm-powersave which assumes that if on_ac_power returns false then the system is not on AC power. This is incorrect as, according to its man page, on_ac_power can return 255 meaning 'I don't know'. Since this usually happens when there are no power saving features in the machine it's actually very likely that it IS on AC power, whereas pm-powersave assumes it isn't. There is also a fault in power.d/anacron in that the comment says, sensibly, that "we just try to run anacron every time and let it abort if there's no AC" but instead of this it actually uses the parameter to decide whether to start anacron or to stop it. Stopping anacron is very different from not starting it, and the resume from hibernate process actually starts anacron (sleep.d/95anacron) and then stops it (00powersave calls pm-powersave calls power.d/anacron true) leaving a very confusing trail in the syslog! It also hard codes a second decision about whether to run anacron in powersave mode which is better handled in /etc/init.d/anacron which checks for the 255 return from on_ac_power and acts accordingly. HTH, Peter -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org