Package: cron Version: 3.0pl1-116 Severity: normal Hi,
Lines in crontabs in /etc/cron.d/ are silently truncated before command execution. Having a line length limit is not in itself a bad thing, but the program should complain when the limit is exceeded instead of silently truncating. As it is, sometimes you get an error and sometimes you don't. (And you have no clues to tell you what's wrong.) (Sorry, I didn't test other sorts of crontabs to see if they have the same problem.) Example: A like like: 13 1 * * * root /bin/echo one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eightteen nineteen twenty twentyone twentytwo twentythree twentyfour twentyfive twentysix twentyseven twentyeight twentynine thirty thirtyone thirtytwo thirtythree thirtyfour thirtyfive thirtysix thirtyseven thirtyeight thirtynine fourty fourtyone fourtytwo fourtythree fourtyfour fourtyfive fourtysix fourtyseven fourtyeight fourtynine fifty fiftyone fiftytwo fiftythree fiftyfour fiftyfive fiftysix fiftyseven fiftyeight fiftynine sixty sixtyone sixtytwo sixtythree sixtyfour sixtyfive sixtysix sixtyseven sixtyeight sixtynine seventy seventyone seventytwo seventythree seventyfour seventyfive seventysix seventyseven seventyeight seventynine eighty eightyone eightytwo eightythree eightyfour eightyfive eightysix eightyseven eightyeight eightynine ninety ninetyone ninetytwo ninetythree ninetyfour ninetyfive ninetysix ninetyseven ninetyeight ninetynine onehundred onehundredone onehundredtwo onehundredthree onehundredfour onehundredfive onehundredsix onehundredseven onehundredeight onehundrednine onehundredeleven onehundredtwelve onehundredthirteen onehundredfourteen onehundredfifteen onehundredsixteen onehundredseventeen onehundredeightteen onehundrednineteen onehundredtwenty onehundredtwentyone onehundredtwentytwo onehundredtwentythree onehundredtwentyfour onehundredtwentyfive onehundredtwentysix onehundredtwentyseven onehundredtwentyeight onehundredtwentynine onehundredthirty onehundredthirtyone onehundredthirtytwo onehundredthirtythree onehundredthirtyfour onehundredthirtyfive onehundredthirtysix onehundredthirtyseven onehundredthirtyeight onehundredthirtynine Produces an email with only: one two three four five six seven eight nine ten eleven twelve thirteen fourteen fifteen sixteen seventeen eightteen nineteen twenty twentyone twentytwo twentythree twentyfour twentyfive twentysix twentyseven twentyeight twentynine thirty thirtyone thirtytwo thirtythree thirtyfour thirtyfive thirtysix thirtyseven thirtyeight thirtynine fourty fourtyone fourtytwo fourtythree fourtyfour fourtyfive fourtysix fourtyseven fourtyeight fourtynine fifty fiftyone fiftytwo fiftythree fiftyfour fiftyfive fiftysix fiftyseven fiftyeight fiftynine sixty sixtyone sixtytwo sixtythree sixtyfour sixtyfive sixtysix sixtyseven sixtyeight sixtynine seventy seventyone seventytwo seventythree seventyfour seventyfive seventysix seventyseven seventyeight seventynine eighty eightyone eightytwo eightythree eightyfour eightyfive eightysix eightyseven eightyeight eightynine ninety ninetyone ninetytwo ninetythree ninetyfour ninetyfive ninetysix ninetyseven ninetyeight ninetynine onehundred onehundredone -- Package-specific info: --- EDITOR: --- usr/bin/editor: /bin/nano --- /usr/bin/crontab: -rwxr-sr-x 1 root crontab 30248 Dec 18 2010 /usr/bin/crontab --- /var/spool/cron drwxr-xr-x 5 root root 4096 Mar 8 2005 /var/spool/cron --- /var/spool/cron/crontabs drwx-wx--T 2 root crontab 4096 Jul 25 21:10 /var/spool/cron/crontabs -- System Information: Debian Release: 6.0.5 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages cron depends on: ii adduser 3.112+nmu2 add and remove users and groups ii debianutils 3.4 Miscellaneous utilities specific t ii dpkg 1.15.8.12 Debian package management system ii libc6 2.11.3-3 Embedded GNU C Library: Shared lib ii libpam-runtime 1.1.1-6.1+squeeze1 Runtime support for the PAM librar ii libpam0g 1.1.1-6.1+squeeze1 Pluggable Authentication Modules l ii libselinux1 2.0.96-1 SELinux runtime shared libraries ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip Versions of packages cron recommends: ii lockfile-progs 0.1.15 Programs for locking and unlocking ii postfix [mail-transport 2.7.1-1+squeeze1 High-performance mail transport ag Versions of packages cron suggests: ii anacron 2.3-14 cron-like program that doesn't go pn checksecurity <none> (no description available) ii logrotate 3.7.8-6 Log rotation utility Versions of packages cron is related to: pn libnss-ldap <none> (no description available) pn libnss-ldapd <none> (no description available) pn libpam-ldap <none> (no description available) pn libpam-mount <none> (no description available) pn nis <none> (no description available) pn nscd <none> (no description available) -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org