Your message dated Thu, 05 Feb 2009 15:47:21 +0100
with message-id <[email protected]>
and subject line Re: Bug#514230: invalid user in /etc/crontab prevents other
jobs from being executed
has caused the Debian Bug report #514230,
regarding invalid user in /etc/crontab prevents other jobs from being executed
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
514230: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=514230
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: cron
Version: 3.0pl1-100
Severity: normal
We had an invalid line in our /etc/crontab; it was referring to a user
account that did not exist any more (removed from /etc/passwd and
/etc/shadow, I checked). This prevented other entries in
/etc/crontab from being executed. However, it seems that jobs in
/etc/cron.d/ were working fine.
I could not find any indication of this problem in syslog, messages or
daemon.log, however auth.log showed that cron did not try to execute
the other jobs in /etc/crontab.
After commenting the invalid line cron works fine again.
Expected behaviour: Ignore invalid line and print error message somewhere
sensible.
Best regards,
David Gubler, Doodle AG
-- System Information:
Debian Release: 4.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Versions of packages cron depends on:
ii adduser 3.102 Add and remove users and groups
ii debianutils 2.17 Miscellaneous utilities specific t
ii libc6 2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii libpam0g 0.79-5 Pluggable Authentication Modules l
ii libselinux1 1.32-3 SELinux shared libraries
ii lsb-base 3.1-23.2etch1 Linux Standard Base 3.1 init scrip
Versions of packages cron recommends:
ii postfix [mail-transport-ag 2.3.8-2+etch1 A high-performance mail transport
-- no debconf information
--- End Message ---
--- Begin Message ---
Justin T Pryzby schrieb:
Debian patched cron to stop processing tab files after the first
error.
Thanks for the quick response, that explains it, yes. Unfortunately the
behaviour was so unexpected I couldn't imagine this to be intentional...
Warnings do go to syslog, you might use logcheck or something to
notice that more readily. It would proably be reasonable for cron to
send a mail, too.
You're probably right. After your hint I noticed that sysklogd was
configured (not by me) to silently drop messages from cron instead of
writing them to syslog...
I guess this bug can be closed, sorry for the trouble.
Best regards,
David Gubler, Doodle AG
--- End Message ---