Description of problem: Attepmpting to do a "service spamass-milter stop" fails - spamass-milter is killed, but automatically restarted. Version-Release number of selected component (if applicable): spamass-milter-0.3.1-1.fc5 How reproducible: Always. Steps to Reproduce: 1. With service running, issue "service spamass-milter stop" as superuser. 2. Stop reports success. 3. Check list of active process/root's email & see that /usr/sbin/spamass- milter-wrapper automatically restarted the milter. Expected results: A controlable service. Additional info: /usr/sbin/spamass-milter-wrapper checks for /var/lock/subsys/spamass-milter to determine if the service is to stop or if the milter crashed. /etc/rc.d/init.d/spamass-milter does not unlink this file before killing the process. Possible resolution: Patch /etc/rc.d/init.d/spamass-milter as follows: 46a47 > rm -f /var/lock/subsys/spamass-milter 51d51 < [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/spamass-milter
I can't actually reproduce this error here, but I can see the race condition and how it could happen. I also agree with your suggested fix, which I'll make shortly.
The update has now reached the mirrors, so this should be fixed now. Please repoen the bug if there's still an issue.
gdesklets-0.36.3-6.1.fc16 has been submitted as an update for Fedora 16. https://admin.fedoraproject.org/updates/gdesklets-0.36.3-6.1.fc16