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): samba-3.4.0-0.43.fc12.1.x86_64 samba-winbind-3.4.0-0.43.fc12.1.x86_64 How reproducible: always Steps to Reproduce: 1.service smb start 2.killall smbd 3.service smb status ; echo $? Actual results: smbd is stopped 3 Expected results: smbd 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 (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: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
samba-3.4.8-59.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/samba-3.4.8-59.fc12
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.