Bug 55340 - Removal of vixie-cron
Removal of vixie-cron
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: vixie-cron (Show other bugs)
7.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Jens Petersen
Brock Organ
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2001-10-29 17:15 EST by Matthew Galgoci
Modified: 2007-04-18 12:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2002-03-25 09:16:39 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Matthew Galgoci 2001-10-29 17:15:29 EST
Removal of vixie-cron in Red Hat Linux 7.2 (and probably earlier) fails
if cron is not first running. The preun script looks like this:

if [ $1 = 0 ]; then
    /sbin/chkconfig --del crond
    /sbin/service crond stop >/dev/null 2>&1
fi

It should be more like the following:

if [ "$1" = 0 ]
then
	/sbin/service crond stop > /dev/null 2>&1 || :
	/sbin/chkconfig --del crond
fi
Comment 1 Michael Schwendt 2001-11-01 10:50:00 EST
In similar bug reports about other components, I've suggested a fix like this:

[ -f /var/lock/subsys/crond ] && /sbin/service crond stop >/dev/null 2>&1
Comment 2 Bill Huang 2002-06-10 04:14:34 EDT
Fixed in rawhide.Thanks for your advice.

Note You need to log in before you can comment on or make changes to this bug.