On 02/22/2011 11:28 PM, H.-Dirk Schmitt wrote:
> If have some symlinks below /etc/cron.d pointing to another directory
> (configuration repository).

/etc/cron.d has no recursive support, so any symlinks pointing to
directories won't work.

> E.g. /etc/cron.d/c42-dump-fs is such a symlink.
> On restart of crond i found following in the syslog:
> Feb 22 23:23:43 XXXX cron[6128]: (*system*c42-dump-fs) WRONG INODE INFO 
> (/etc/cron.d/c42-dump-fs) 

(I'm assuming c42-dump-fs is a file, not a directory, because of the
syslog marker below)

Admittedly, the error message is confusing. Both owner:group of
/etc/cron.d/c42-dump-fs must be root:root; the error message intends to
say that at least one of those is not the case.

> The file has also a marker for syslog:
> @daily nobody logger -p local0.notice -t CRON '$Id: c42-dump-fs.XXXX 4388 
> 2011-02-15 23:41:20Z XXXX $'

Because of the ownership issues above, this file would be ignored.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/723423

Title:
  crond ignores symlinks in /etc/cron.d

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

Reply via email to