Bug 1378946

Summary: Backport of apache bug 55910: Continuation lines are broken during buffer resize
Product: Red Hat Enterprise Linux 7 Reporter: David Mulford <dmulford>
Component: httpdAssignee: Luboš Uhliarik <luhliari>
Status: CLOSED ERRATA QA Contact: Jan Houska <jhouska>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: alan, athmanem, isenfeld, jhouska, jorton, luhliari, mfrodl, mmiura, rbost
Target Milestone: rcKeywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: httpd-2.4.6-59.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 21:36:44 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: 1298243    

Description David Mulford 2016-09-23 15:21:28 UTC
Description of problem:
Customer is asking if/when the apache bug linked below will be backported.
https://bz.apache.org/bugzilla/show_bug.cgi?id=55910

Version-Release number of selected component (if applicable):
Tested with httpd-2.4.6-40.el7_2.4 on RHEL 7.2

How reproducible:
Always

Steps to Reproduce:
1. Install httpd on RHEL 7.2
2. Add the following to /etc/httpd/conf/httpd.conf

# Make sure there is no whitespace at the beginning of these lines
# This was taken from the test case of the apache bug
<VirtualHost *:80>
DocumentRoot /var/www/html
ServerName my_server_name
ServerAlias 3456789 123456789 123456789 123456789 \
123456789 123456789 123456789 123456789 123456789 \
123456789 123456789 123456789 123456789 123456789 \
123456789 123456789 123456789 123456789 123456789 1234 \
thats_still_an_alias
</VirtualHost>

3. Run the command `apachectl configtest`

Actual results:

# apachectl configtest
AH00526: Syntax error on line 105 of /etc/httpd/conf/httpd.conf:
Invalid command 'thats_still_an_alias', perhaps misspelled or defined by a module not included in the server configuration

Expected results:

# apachectl configtest
Syntax OK

Additional info:

Comment 8 Jan Houska 2017-04-27 07:45:04 UTC
Verified in test: 

Old Fail:

httpd-2.4.6-45.el7_3.4.x86_64


::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Test of the cofiguration file :: actually running 'apachectl configtest &> error.log'
:: [   FAIL   ] :: Test of the cofiguration file (Expected 0, got 1)
============output of error.log===========
AH00526: Syntax error on line 8 of /etc/httpd/conf.d/bz1378946.conf:
Invalid command 'thats_still_an_alias', perhaps misspelled or defined by a module not included in the server configuration
===========/output of error.log===========
:: [   FAIL   ] :: File 'error.log' should not contain 'AH00526:' 
'3ac11271-faa3-43f4-9057-9f219ca6523b'
Test result: FAIL
   metric: 2
   Log: /var/tmp/beakerlib-54931143/journal.txt
    Info: Searching AVC errors produced since 1493202597.12 (Wed Apr 26 12:29:57 2017)
     Searching logs...
     Info: No AVC messages found.
 Writing to /mnt/testarea/tmp.Je4b5M
:
   AvcLog: /mnt/testarea/tmp.Je4b5M


New Pass:

httpd-2.4.6-64.el7.x86_64


:: [   LOG    ] :: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Test of the cofiguration file :: actually running 'apachectl configtest &> error.log'
:: [   PASS   ] :: Test of the cofiguration file (Expected 0, got 0)
============output of error.log===========
Syntax OK
===========/output of error.log===========
:: [   PASS   ] :: File 'error.log' should not contain 'AH00526:' 
'ce3a44a0-ad29-45b2-b36f-14247eb31e64'
Test result: PASS
   metric: 0
   Log: /var/tmp/beakerlib-54931145/journal.txt
    Info: Searching AVC errors produced since 1493202725.66 (Wed Apr 26 12:32:05 2017)
     Searching logs...
     Info: No AVC messages found.
 Writing to /mnt/testarea/tmp.uTXO3F
:
   AvcLog: /mnt/testarea/tmp.uTXO3F

Comment 9 Joe Orton 2017-05-30 15:26:12 UTC
*** Bug 1444652 has been marked as a duplicate of this bug. ***

Comment 10 Luboš Uhliarik 2017-06-12 11:24:53 UTC
*** Bug 1460646 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2017-08-01 21:36:44 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-2017:2175