Package: cron Version: 3.0pl1-116 Severity: minor --- Please enter the report below this line. --- After upgrade from cron 3.0pl1-114 to 3.0pl1-116 I had the following problem: My log reporting system began to send me a lot of error messages from cron.
Digging down it appears that the following cron command was the culprit: Jan 3 04:41:01 private /USR/SBIN/CRON[12126]: (www-data) CMD (if [ -d /usr/share/webcalendar ]; then cd /usr/share/webcalendar/tools; ./send_reminders.php 2>&1 |grep -v "PHP Notice" ; fi) Jan 3 04:41:01 private /USR/SBIN/CRON[12125]: (CRON) error (grandchild #12126 failed with exit status 1) It never produced such an error before and apparently it's due to the exit code of the last grep, usually =1 if nothing is output from ./send_reminders.php else than some PHP Notice. I fixed it by a simple cat, just to avoid to have an exit status=1: Jan 4 09:51:01 private /USR/SBIN/CRON[6150]: (www-data) CMD (if [ -d /usr/share/webcalendar ]; then cd /usr/share/webcalendar/tools; ./send_reminders.php 2>&1 |grep -v "PHP Notice"|cat ; fi) Before I was able to fix the problem I looked into the files NEWS.Debian.gz and changelog.gz but couldn't find a description of this new behavior. I think it should be documented in one of those files. Hopefully this bugreport by itself could help other people facing the same problem and identifying what to do. --- System information. --- Architecture: amd64 Kernel: Linux 2.6.34-1-amd64 Debian Release: squeeze/sid 990 testing www.debian-multimedia.org 990 testing security.debian.org 990 testing ftp.be.debian.org 990 testing deb.torproject.org 500 unstable ftp.be.debian.org 500 lucid linux.dropbox.com 1 experimental ftp.be.debian.org --- Package information. --- Depends (Version) | Installed ================================-+-============== libc6 (>= 2.7) | 2.11.2-7 libpam0g (>= 0.99.7.1) | 1.1.1-6.1 libselinux1 (>= 1.32) | 2.0.96-1 debianutils (>= 1.7) | 3.4 adduser | 3.112+nmu2 lsb-base (>= 3.0-10) | 3.2-23.1 libpam-runtime (>= 1.0.1-11) | 1.1.1-6.1 Package Status (Version) | Installed =============================-+-=========== nscd | nis | libpam-mount | libpam-ldap | libnss-ldap | libnss-ldapd | Recommends (Version) | Installed ===================================-+-=========== exim4 | 4.72-2 OR postfix | OR mail-transport-agent | lockfile-progs | 0.1.15 Suggests (Version) | Installed ============================-+-=========== anacron (>= 2.0-1) | 2.3-14 logrotate | 3.7.8-6 checksecurity | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org