Red Hat Bugzilla – Bug 521860
Wrong init script exit status code
Last modified: 2010-05-28 10:28:16 EDT
Description of problem:
Testing init script according to guidelines at  shows following results:
Wrong value to indicate status -> "program is dead and /var/lock lock file exists". This should return exit status code 2(dead & lock), not 3(dead).
# ll /var/lock/subsys/sshd
-rw-r--r--. 1 root root 0 2009-09-08 08:55 /var/lock/subsys/sshd
# service sshd status ; echo $?
openssh-daemon is stopped
Version-Release number of selected component (if applicable):
RC -> 3
RC -> 2
 - https://fedoraproject.org/wiki/FCNewInit/Initscripts
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.
More information and reason for this action is here: