Red Hat Bugzilla – Bug 57766
vixie cron does not skip white space in /etc/crontab and /etc/cron.d
Last modified: 2005-10-31 17:00:50 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.5) Gecko/20011015
Description of problem:
The commands executed by vixie-cron from /etc/crontab and from the
files in /etc/cron.d contain leading whitespace
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Look at /var/log/cron
2. Notice e.g.
Dec 21 16:20:00 forge CROND: (root) CMD ( /sbin/rmmod -as)
Dec 21 16:30:00 forge CROND: (root) CMD ( /sbin/rmmod -as)
See the whitespace before the /sbin/rmmod -as ??
I was always wondering where this comes from. Today I gave it a look.
Actual Results: The commands shouldn't have leading whitespace. The
commands from the
user crontabs don't have.
The bug fix is attached.
Created attachment 41188 [details]
The mentioned patch
Thanks for the patch.
AFAICT this is fixed now in upstream cron 4.1.
Appears to be fixed.