Description of problem: After an update to anacron-2.3-49.fc8 we have the following: # service anacron stop Stopping anacron: Usage: killproc [-p pidfile] [ -d delay] {program} [-signal] [FAILED] Hm, ok. Lets try # service anacron status cron.daily is stopped but 'pgrep -l -f anacron' shows '4075 anacron -s'. OTOH we have this: # service anacron condrestart Usage: /etc/init.d/anacron {start|stop|restart|status} One of problems with the above is that 'rpm -q --scripts anacron' prints: ..... postuninstall scriptlet (using /bin/sh): if [ "$1" -ge "1" ]; then service anacron condrestart >/dev/null 2>&1 fi so this fails with a status 3 and after an update we are stuck with double packages: anacron-2.3-47.fc7 anacron-2.3-49.fc8 which have to be cleaned manually. Even if 'condrestart' would be present the the above likely needs '... || :' to be on a safe side. Version-Release number of selected component (if applicable): anacron-2.3-49.fc8 How reproducible: always
Thanks for report, I change spec file and init script in anacron-2.3-50.fc7.
*** Bug 252455 has been marked as a duplicate of this bug. ***