Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 783242 - service httpd reload return 0 when it fails
service httpd reload return 0 when it fails
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: httpd (Show other bugs)
5.9
All Linux
medium Severity medium
: rc
: ---
Assigned To: Joe Orton
Aleš Mareček
:
Depends On:
Blocks: 713373
  Show dependency treegraph
 
Reported: 2012-01-19 13:28 EST by Aleš Mareček
Modified: 2013-01-08 00:04 EST (History)
5 users (show)

See Also:
Fixed In Version: httpd-2.2.3-67.el5
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-01-08 00:04:06 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0130 normal SHIPPED_LIVE Low: httpd security, bug fix, and enhancement update 2013-01-08 04:33:40 EST

  None (edit)
Description Aleš Mareček 2012-01-19 13:28:39 EST
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:
Comment 1 Joe Orton 2012-01-20 11:55:54 EST
LSB compliance fixes were done in RHEL6 per bug 546252, which include this fix; we can backport some/all of those as required.
Comment 2 Aleš Mareček 2012-01-23 08:39:32 EST
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!
Comment 5 RHEL Product and Program Management 2012-04-19 07:50:05 EDT
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.
Comment 11 errata-xmlrpc 2013-01-08 00:04:06 EST
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

Note You need to log in before you can comment on or make changes to this bug.