Description of problem: RHEVM Service (/etc/init.d/ovirt-engine) doesn't follow http://fedoraproject.org/wiki/Packaging:SysVInitScript#Exit_Codes_for_the_Status_Action and return 1 when service is down, pid exists or any other issue. Version-Release number of selected component (if applicable): SI11 How reproducible: run: # service ovirt-engine status ovirt-engine is stopped see RC: # echo $? 1 Actual results: rc is 1 Expected results: 0: program is running or service is OK 1: program is dead and /var/run pid file exists 2: program is dead and /var/lock lock file exists 3: program is not running 4: program or service status is unknown 5-99: reserved for future LSB use 100-149: reserved for distribution use 150-199: reserved for application use 200-254: reserved
The suggested fix for this bug is here: http://gerrit.ovirt.org/6571
The change has already been merged upstream: http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=6a70668ecf4fa1290176bc4248c2ca2801b55df8