Bug 1227219

Summary: Variables get undefined on graceful restart
Product: Red Hat Enterprise Linux 7 Reporter: bugzilla
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Martin Frodl <mfrodl>
Severity: medium Docs Contact:
Priority: urgent    
Version: 7.3CC: dmasirka, isenfeld, jkaluza, jorton, wburrows, zpytela
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: httpd-2.4.6-34.el7 Doc Type: Bug Fix
Doc Text:
The httpd daemon did not reset an internal array for storing variables defined using the "Define" directive. Consequently, variables could be undefined after a graceful restart. httpd has been fixed to reset this internal array during a graceful restart, and variables are now correctly defined in this scenario.
Story Points: ---
Clone Of:
: 1235313 (view as bug list) Environment:
Last Closed: 2015-11-19 04:38:00 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:
Bug Depends On:    
Bug Blocks: 1235313    
Attachments:
Description Flags
Example configuration that will lead to a crash on graceful reload none

Description bugzilla 2015-06-02 07:54:35 UTC
Created attachment 1033646 [details]
Example configuration that will lead to a crash on graceful reload

Description of problem:

Defined variables in Apache HTTP server version 2.4.x in RHEL 7 are not properly handled during graceful restarts, leading to variables suddenly becoming undefined or other unpredictable behaviour.

Version-Release number of selected component (if applicable):

Reproduced with httpd-2.4.6-31.el7.x86_64

How reproducible:

Every time.

Steps to Reproduce:
1. Define a certain set of variables (Example configuration attached)
2. Make the variable a part of a configuration item
3. Reload Apache

Actual results:

The variables apparently get undefined and any configuration using the value of the variable will result in a syntax error.

Expected results:

No errors.

Additional info:

The problem is discussed at https://bz.apache.org/bugzilla/show_bug.cgi?id=57328, and was fixed in 2.4.10.

Comment 14 errata-xmlrpc 2015-11-19 04:38:00 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://rhn.redhat.com/errata/RHBA-2015-2194.html