Description of problem: Quoting http://fedoraproject.org/wiki/Packaging/SysVInitScript : If the status action is requested, the initscript must return the correct exit status code, from this list: 0: program is running or service is OK ... 3: program is not running --- "/etc/init.d/nfslock status" always returns 0. Therefore nfslock always appears as running in system-config-services. Version-Release number of selected component (if applicable): nfs-utils-1.1.2-1.fc9.x86_64 How reproducible: always Steps to Reproduce: 1. Make sure nfslock is stopped. 2. /etc/init.d/nfslock status ; echo $? Actual results: rpc.statd is stopped 0 Expected results: rpc.statd is stopped 3 Additional info: The attached patch applies on top of my patch from bug 441604.
Created attachment 301726 [details] return correct exit code from nfslock status
Fixed in nfs-utils-1.1.2-3
Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping