Bug 50123
Summary: | removing sysklogd package failed | ||
---|---|---|---|
Product: | [Retired] Red Hat Linux | Reporter: | Florin Andrei <florin> |
Component: | sysklogd | Assignee: | Bill Nottingham <notting> |
Status: | CLOSED RAWHIDE | QA Contact: | Brian Brock <bbrock> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 7.1 | CC: | bugs.michael, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | i686 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2001-07-28 00:36:26 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: |
Description
Florin Andrei
2001-07-27 00:59:02 UTC
ACK. To reproduce it: 1. service syslog stop 2. rpm -e --nodeps sysklogd Gives: error: execution of %preun scriptlet from sysklogd-1.4-7 failed, exit status 1 # rpm -q --qf "%{PREUN}\n" sysklogd if [ $1 = 0 ]; then /sbin/chkconfig --del syslog service syslog stop >/dev/null 2>&1 fi Order is unlucky. Would be easy to patch. But what would happen if service syslog were still running and failed to stop? These PREUN scripts don't seem to handle such special cases. Anyway, this changed script (or without the file check) would fix this bug: if [ $1 = 0 ]; then [ -f /var/lock/subsys/syslog ] && service syslog stop >/dev/null 2>&1 /sbin/chkconfig --del syslog fi Will be fixed in 1.4.1-2 - thanks! |