Red Hat Bugzilla – Bug 606805
mon_statd: wrong exit code on stop already stopped service
Last modified: 2010-11-10 17:19:55 EST
Description of problem:
mon_statd init scripts returns wrong exit code on stop already stopped service
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. service mon_statd stop
2. service mon_statd stop
3. echo $?
According guidance https://fedoraproject.org/wiki/Packaging/SysVInitScript running stop on a service already stopped or not running should return an exit status of zero.
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux major release. Product Management has requested further
review of this request by Red Hat Engineering, for potential inclusion in a Red
Hat Enterprise Linux Major release. This request is not yet committed for
Red Hat Enterprise Linux 6.0 is now available and should resolve
the problem described in this bug report. This report is therefore being closed
with a resolution of CURRENTRELEASE. You may reopen this bug report if the
solution does not work for you.