Description of problem: Was just running install/upgrade/downgrade tests on the clumanager package with the produce configured. In this case, on upgrade and downgrades you get the following error message: [root@bench-01 root]# rpm -Uvh clumanager-1.2.22-2.i386.rpm Preparing... ########################################### [100%] 1:clumanager ########################################### [100%] error: %postun(clumanager-1.2.16-1) scriptlet failed, exit status 1 It still upgrades, but you get the error. More detail with debugging turned up: D: erase: %postun(clumanager-1.2.16-1) asynchronous scriptlet start D: erase: %postun(clumanager-1.2.16-1) execv(/bin/sh) pid 8748 + ldconfig + '[' 1 -ge 1 ']' + /sbin/service clumanager condrestart D: erase: waitpid(8748) rc 8748 status 100 secs 0.063 error: %postun(clumanager-1.2.16-1) scriptlet failed, exit status 1 Version-Release number of selected component (if applicable): clumanager-1.2.22-2 How reproducible: Steps to Reproduce: 1. Remove /etc/cluster.xml 2. Upgrade the package with rpm 3. Actual results: Expected results: Additional info:
I've fixed this in the development pool; it will be in the next erratum. It occurs because it /etc/init.d/clumanager checks to see if /etc/cluster.xml exits and exits with 1 instead of zero if it doesn't exist. It should exit with 0.
Verified with clumanager-1.2.25-2. Should probably be checking existence of $CFG_FILE since you defined it earlier. :)
Fixing product name. Clumanager on RHEL3 was part of RHCS3, not RHEL3