Package: pm-utils Version: 0.99.2-3 Severity: normal Hi,
I realize that on my laptop the scripts in /etc/cron.(daily|weekly|monthly) are not run as regularly as they should, if anacron was doing its job. This is because I put my laptop to sleep at night, and wake it up typically after 7:30 AM so /etc/cron.d/anacron is not run. I believe anacron should be invoked on resume, and moreover when the AC is plugged (because by default anacron is not run when AC is unplugged), so that it can check whether it has work to do. A number of related bugs (202605, 260323, 426294) have been filed for anacron, and the issue seem to have been addressed in Ubuntu. However the fix probably depends on the power management script used, so I file this as a pm-utils bug. My current fix is to add hooks in /etc/pm/(power.d|sleep.d) that do "invoke-rc.d anacron start" on resume/AC on (and also "invoke-rc.d anacron stop" on suspend/AC off). Cheers, Jeremie -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (900, 'testing'), (900, 'stable'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores) Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Shell: /bin/sh linked to /bin/bash Versions of packages pm-utils depends on: ii powermgmt-base 1.30 Common utils and configs for power Versions of packages pm-utils recommends: ii hal 0.5.10-5 Hardware Abstraction Layer ii radeontool 1.5-5 utility to control ATI Radeon back ii uswsusp 0.7-1 tools to use userspace software su ii vbetool 1.0-1.1 run real-mode video BIOS code to a -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

