It would be nice if anacron would update its time-stamps via the regular cron command. Currently anacron is executed after an uptime of more than a day since its time-stamps indicate that it hasn't run for more than a day, i.e. missed the last cron.daily. I included attachments for cron.daily, cron.weekly, and cron.monthly that will do the job.
Created attachment 15896 [details] crontab that executes in cron.daily
Created attachment 15897 [details] to execute in cron.weekly
Created attachment 15898 [details] to execute in cron.monthly
I forgot to mention that the scripts should be named such that they get executed _first_ in a particular /etc/cron.*/. We don't want to run the same scripts with cron and anacron.... A script name of "0-anacron" for example should do the trick.
The miss of those scripts is causing, on my system, anacron and crond to execute the same tasks, which then finish together, causing race conditions and failures... for instance, there are two concurrent updatedb, with at least one of them failing.
As said in my previous comment, this is causing breakage... so it must not be marked as an "enhancement". I'm not allowed by Bugzilla to remark it, however please do it - and btw fix the bug, it's trivial. Also, the fact that nobody has yet fixed this bug is bad.
(In reply to comment #6) > As said in my previous comment, this is causing breakage... BlaisorBlade: Could you be more specific, please. What's your setup (crontab/anacron)?
Dead bug.