Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1204075

Summary: HTTPD variable in .../etc/sysconfig/httpd should be ignored
Product: Red Hat Software Collections Reporter: Martin Frodl <mfrodl>
Component: httpdAssignee: Jan Kaluža <jkaluza>
Status: CLOSED ERRATA QA Contact: Ondřej Pták <optak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: httpd24CC: jorton, optak
Target Milestone: rc   
Target Release: 2.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd24-httpd-2.4.18-2.el6 httpd24-httpd-2.4.18-2.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-05-31 10:15:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Martin Frodl 2015-03-20 10:43:57 UTC
Description of problem:

According to information in /opt/rh/httpd24/root/etc/sysconfig/httpd, the legacy HTTPD variable that was used to change the MPM in older httpd versions should now be ignored, having been replaced by .../etc/httpd/conf.modules.d/00-mpm.conf:

# Note: With previous versions of httpd, the MPM could be changed by
# editing an "HTTPD" variable here.  With the current version, that
# variable is now ignored.  The MPM is a loadable module, and the
# choice of MPM can be changed by editing the configuration file
# /etc/httpd/conf.modules.d/00-mpm.conf.

This is not the case with RHEL 6, however:

# echo 'HTTPD=/opt/rh/httpd24/root/usr/sbin/httpd.event' > /opt/rh/httpd24/root/etc/sysconfig/httpd
# service httpd24-httpd restart
Stopping httpd: [  OK  ]
Starting httpd: /bin/bash: /opt/rh/httpd24/root/usr/sbin/httpd.event: No such file or directory
[FAILED]
#

On RHEL 7, on the other hand, HTTPD is correctly ignored:

# echo 'HTTPD=/opt/rh/httpd24/root/usr/sbin/httpd.event' > /opt/rh/httpd24/root/etc/sysconfig/httpd
# service httpd24-httpd restart
Redirecting to /bin/systemctl restart  httpd24-httpd.service
#

Version-Release number of selected component (if applicable):
httpd24-httpd-2.4.12-4.el6.x86_64

Comment 7 errata-xmlrpc 2016-05-31 10:15:56 UTC
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.

https://access.redhat.com/errata/RHBA-2016:1154