Bug 163889

Summary: [PATCH] List corruption when items are removed from /etc/cron.d
Product: Red Hat Enterprise Linux 4 Reporter: Jason Vas Dias <jvdias>
Component: vixie-cronAssignee: Jason Vas Dias <jvdias>
Status: CLOSED ERRATA QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0CC: tao
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHSA-2005-361 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-10-05 12:35:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 162887    
Bug Blocks: 156322    

Description Jason Vas Dias 2005-07-21 19:40:14 UTC
+++ This bug was initially created as a clone of Bug #162887 +++

Description of problem:
List corruption when items are removed from /etc/cron.d

Version-Release number of selected component (if applicable):
vixie-cron-4.1-3_EL3

How reproducible:
Every time

Steps to Reproduce:
 # cd /etc/cron.d
# service crond stop
# for i in a1 a2 a3 a4; do echo "* * * * * root /bin/echo $i >> /tmp/file" > $i
; done
# for i in a2 a3 a4; do touch -r a1 $i; done
# service crond start
# touch /tmp/file
# tail -f /tmp/file
(Wait until the next minute comes)
# rm a1
(Wait until the next minute comes)

Actual results:
a1
a2
a3
a4
<rm file>
a1
a3
a3

Expected results:
a1
a2
a3
a4
<rm file>
a2
a3
a4

Additional info:
Tested with current RHEL3 U5 vixie-cron and RHEL3 U6 candidate, probably also
affects RHEL4.

Comment 1 Jason Vas Dias 2005-07-21 20:51:40 UTC
Fixed for bug 162887 with vixie-cron-4.1-36.EL4 .

Comment 6 Red Hat Bugzilla 2005-10-05 12:35:25 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHSA-2005-361.html