Description of problem:
According to https://fedoraproject.org/wiki/FCNewInit/Initscripts "service XYZ status" should return 2 when program is dead and /var/lock lock file exists.
Samba services ruturn 3 (which indicate stopped program with lock/pid cleaned up)
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.service smb start
3.service smb status ; echo $?
smbd is stopped
smbd 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 (smbd) and service name (smb) that the "status" function can't handle.
Correction - this is the right initscript guideline page: https://fedoraproject.org/wiki/Packaging/SysVInitScript. The bug is there according to this page too (and in the other samba's services initscripts too).
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:
samba-3.4.8-59.fc12 has been submitted as an update for Fedora 12.
samba-3.4.8-59.fc12 has been pushed to the Fedora 12 testing repository. If problems still persist, please make note of it in this bug report.
If you want to test the update, you can install it with
su -c 'yum --enablerepo=updates-testing update samba'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/samba-3.4.8-59.fc12
samba-3.4.8-59.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.