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
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.service spamassassin start
3.service spamassassin status ; echo $?
spamd is stopped
spamd dead but subsys locked
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