Red Hat Bugzilla – Bug 103899
crontab -l keeps extraneous headers
Last modified: 2007-04-18 12:57:25 EDT
Description of problem:
If you do a crontab -l it prefixes the user crontab with extra comments:
# DO NOT EDIT THIS FILE - edit the master and reinstall.
# (/tmp/crontab.20699 installed on Sat Sep 6 15:24:23 2003)
# (Cron version -- $Id: crontab.c,v 2.13 1994/01/17 03:20:37 vixie Exp $)
After several iterations of
crontab -l > ctab
you end up with a lot of extra headers.
That header is supposed to be in the cron file in /var/spool/cron, but NOT be
reported to the user. Especially since there's no reason for them to not edit a
file they create via crontab -l.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. create user crontab
2. crontab -l
Actual Results: Extra headers reported
Expected Results: No headers... only user comments.
Should be fixed in vixie-cron-3.0.1-94 in rawhide shortly.
This has been fixed since vixie-cron-3.0.1-94 (current release