Description of problem: According to https://fedoraproject.org/wiki/FCNewInit/Initscripts "service spamassassin status" should return 2 when program is dead and /var/lock lock file exists. Spamassassin service return 3 (which indicate stopped program with lock/pid cleaned up) Version-Release number of selected component (if applicable): spamassassin-3.3.0-0.6.alpha2.fc12.x86_64 How reproducible: always Steps to Reproduce: 1.service spamassassin start 2.killall spamd 3.service spamassassin status ; echo $? Actual results: spamd is stopped 3 Expected results: spamd dead but subsys locked 2 Additional info: The correct exit code + error messages should be returned by "status" function from /etc/init.d/functions. But it is not used, probably because of the inconsistency between process names (spamd) and service name (spamassassin) that the "status" function can't handle.
That's just a random page in the wiki. It has no force as a guideline. I can't comment on whether the things in there are even remotely good ideas, but don't go quoting random wiki pages as if anything is supposed to obey them.
The real guideline page is https://fedoraproject.org/wiki/Packaging/SysVInitScript and the filed bugs do seem to be valid against that page... See/continue discussion in the blocking bug for this one?
Fixed in spamassassin-3.3.0