Hi folks. I'd like to propose that the default anacrontab invokes run-parts with the --lsbsysinit parameter. The background for this is covered in this bug: http://bugs.gentoo.org/show_bug.cgi?id=95173 In any case, the crux of the matter is that run-parts will only execute scripts that fall into the "Debian" namespace which, according to the manpage, must "consist entirely of upper and lower case letters, digits, underscores, and hyphens." The main problem is that this vetoes scripts that have a fullstop (period) in their names such as those ending with the ".cron" suffix. Having gone through a frustrating debugging session with one user I found at least one case where this is an issue: the app-admin/logrotate package installs the /etc/cron.daily/logrotate.cron script which will be ignored by anacron.
Created attachment 61663 [details] /etc/anacrontab (proposed) Simple amendment to invoke the run-parts command with the --lsbsysinit parameter (see man run-parts).
what a retarded namespace
Fixed. Thanks for the bug.
OK, I screwed up on this one. Whilst the resolution for this bug was sensible, I was wrong to claim that it resolved the specific issue I described with logrotate (crossed wires - the script in question had actually been renamed ... *ahem*). I'll make further and more detailed comments on bug 95173 where they belong.
This bug has now become a natural inversion of itself! So I'm requesting that the original resolution to this bug be reverted. That is, the --lsbsysinit parameter should be removed from the default anacrontab file. The resolution to bug 95173 explains why. Basically, the default namespace in debianutils-2.14.1-r1 is now much more tolerant and solves the problem originally mentioned in this bug. It has not yet been unmasked but, nontheless, it should be safe to revert the anacrontab change because it didn't correctly solve the the "dots-in-filenames" issue in the first place (certainly not for the "*.cron" scripts). I apologise for any inconvenience caused.
Reverted.