Description of problem: "service rpcbind status" should return 3 if the rpcbind service is not running[1]. Version-Release number of selected component (if applicable): rpcbind-0.2.0-7.fc14.x86_64 How reproducible: Every time Steps to Reproduce: 1. Make sure the rpcbind service is stopped, e.g. run "service rpcbind stop" 2. Run "service rpcbind status; echo $?" Actual results: rpcbind is stopped 0 Expected results: rpcbind is stopped 0 Additional info: The source code of /etc/init.d/rpcbind includes this snippet: status) status $prog ;; and as you can see RETVAL is not set, so it always have the initial value which is 0. [1] http://fedoraproject.org/wiki/Packaging:SysVInitScript#Exit_Codes_for_the_Status_Action
Errata: Expected results: rpcbind is stopped 3
Created attachment 468222 [details] Patch for /etc/init.d/rpcbind
The build is at: http://koji.fedoraproject.org/koji/taskinfo?taskID=2661385
The Fedora 14 build: http://koji.fedoraproject.org/koji/taskinfo?taskID=2663450
rpcbind-0.2.0-8.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/rpcbind-0.2.0-8.fc14
rpcbind-0.2.0-8.fc14 has been pushed to the Fedora 14 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 rpcbind'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/rpcbind-0.2.0-8.fc14
rpcbind-0.2.0-8.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.