Description of problem: When command "service httpd reload" is run and fails the return value is 0. i:ia64|m:ia64 root@hp-bl870c-02 [~]# service httpd reload; echo $? Reloading httpd: [FAILED] 0 Version-Release number of selected component (if applicable): httpd-2.2.3-63.el5 How reproducible: Always Steps to Reproduce: 1. service httpd stop 2. service httpd reload 3. echo $? Actual results: 0 Expected results: 1 (or non-zero) Additional info:
LSB compliance fixes were done in RHEL6 per bug 546252, which include this fix; we can backport some/all of those as required.
Hi Joe, I know it was fixed in RHEL-6. I also know there are no plans for LSB in RHEL-5 but if it's possible it will be nice to have this function (these functions) fixed. I wonder why PM didn't endorse LSB for RHEL-5, it's part of that distribution, and it's recommended to use it. Thanks and Regards!
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHSA-2013-0130.html