Summary: | sys-process/vixie-cron with app-admin/logrotate - cron cannot handle cron.daily file with a dot in its filename | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | LABBE Corentin <clabbe.montjoie> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED OBSOLETE | ||
Severity: | normal | CC: | cron-bugs+disabled, jer, nimiux, treecleaner |
Priority: | Normal | Keywords: | PMASKED |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | http://bugs.debian.org/609162 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Deadline: | 2019-10-11 |
Description
LABBE Corentin
2013-02-08 07:40:37 UTC
Which crond do you use? vixie-cron But anyway, this is not relevant, some other crond could ignore this file. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=609162 It does matter which cron you use, because sys-process/dcron doesn't have this problem, for one thing. I have two boxes with =sys-process/vixie-cron-4.1-r12 installed and it works fine, all files under /etc/cron.* are executed, even those with dots in their filenames (including logrotate.conf) Tested with fcron and works ok too. By looking at script /usr/sbin/run-crons (from the =sys-process/cronbase-0.3.3): http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-process/cronbase/files/run-crons-0.3.3?revision=1.1&view=markup you can check that all scripts under /etc/cron.{hourly,daily,weekly,monthly} are executed no matter their names contain a dot or not: for SCRIPT in $CRONDIR/* ; do ... Can you take a look at your /etc/crontab to see if /usr/sbin/run-crons is executed properly?. That is, contains a line like: */10 * * * * root test -x /usr/sbin/run-crons && /usr/sbin/run-crons Thanks for reporting. My initial problem is resolved, all files under /etc/crond.daily hasn't exec perms. So my logrotate reworks now. But I think adding .cron is still a bad idea. How was this bug resolved. Why would it suddenly be invalid? Package removed. |