Package: cron
Version: 3.0pl1-100
Severity: important

When there is a broken link in /etc/cron.d cron does not recognize when
this link is resolved again.
How to reproduce:

# echo '* * * * * root /bin/true' > /root/true
# ln -s /root/true /etc/cron.d/true
then you see in syslog:
/USR/SBIN/CRON[16671]: (root) CMD (/bin/true)
# mv /root/true /root/true.break
the message in syslog:
/usr/sbin/cron[3967]: (*system*true) CAN'T OPEN (/etc/cron.d/true)
now rename the file back
# mv /root/true.break /root/true
(nothing in syslog, cronjob is not executed)

Thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to