I can confirm this bug in 9.04. In fact there is a pm-handler in file 
/usr/lib/pm-utils/sleep.d/95anacron
but unfortunately it does not work correctly. I tried to find out why:

* Anacron is started correcty.
* It detects the TO-DO-JOBS
* It sets alarm(300), which is the time to wait for cron.daily
* Tries rt_sigsuspend()
* Gets ERESTARTNOHAND and terminates.

Maybe a kernel-bug? When I start the pm-utils-handly by myself,
everything works.

strace of failed anacron-start:

time(NULL)                              = 1253183686
alarm(300)                              = 0
rt_sigprocmask(SIG_BLOCK, NULL, [USR1 ALRM CHLD], 8) = 0
rt_sigsuspend([]) = ? ERESTARTNOHAND (To be restarted)
--- SIGTERM (Terminated) @ 0 (0) ---


uname -r
2.6.28-15-generic

-- 
anacron does not execute cron.daily jobs if system is suspended between 6 and 8 
am
https://bugs.launchpad.net/bugs/411796
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to