Cumin process is still running after the package was uninstalled i.e. there is no preuninstall hook which would stop it first. How reproducible: 100% Steps to Reproduce: 1. yum groupinstall "MRG Management" 2. cumin-database install 3. service cumin start 4. rpm -e cumin Actual results: The cumin processes are still running. Expected results: Cumin should be shut down before uninstalled. Additional info: For comparison, see output of rpm -q --scripts for cumin and postgresql-server (or sysklogd).
See https://fedoraproject.org/wiki/Packaging/SysVInitScript#Initscript_packaging
Fixed at 0:0.1.4267-1.
Verified in cumin-0.1.4279-1.el5 $ rpm -q --scripts cumin ... SNIP ... preuninstall scriptlet (using /bin/sh): if [ $1 = 0 ]; then /sbin/service cumin stop >/dev/null 2>&1 /sbin/chkconfig --del cumin fi