Bug 161893 - Bug 145666 is missing a ',' after REDIRECT_REMOTE_USER
Bug 145666 is missing a ',' after REDIRECT_REMOTE_USER
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: httpd (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Joe Orton
: Regression
Depends On:
  Show dependency treegraph
Reported: 2005-06-28 04:32 EDT by HSCG NOC
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-25 03:50:03 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
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-2005:582 normal SHIPPED_LIVE Moderate: httpd security update 2005-07-25 00:00:00 EDT

  None (edit)
Description HSCG NOC 2005-06-28 04:32:46 EDT
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050512 Red Hat/1.7.8-

Description of problem:
The patch 'httpd-2.0.46-rediruser.patch' is missing a ',' after the REDIRECT_REMOTE_USER string, which the patch adds to suexec.c, resulting in a new entry in the save_enf_lst, "REDIRECT_REMOTE_USER=REDIRECT_STATUS=". This breaks our setup, using php as cgi, which relies on the REDIRECT_STATUS variable to be correctly setup.

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

How reproducible:

Steps to Reproduce:
1. install httpd 2.0.46-46
2. configure apache to start php as cgi
3. php bails out because it can't find the redirect_status variable.

It can easily be shown using 'strings' on /usr/sbin/suexec. The correct version shows seperate entries for REDIRECT_REMOTE_USER and REDIRECT_STATUS. The faulty version of suexec will show a large 'REDIRECT_REMOTE_USER=REDIRECT_STATUS=' string.

Actual Results:  php won't run as cgi, because of the missing REDIRECT_STATUS variable

Expected Results:  REDIRECT_STATUS should be included in the environment

Additional info:

This should be fixed soon, as it probably breaks a lot of setups, by using a flawed patch.
Comment 1 Joe Orton 2005-06-28 04:40:21 EDT
Thanks for the report and analysis, and apologies for the regression.
Comment 4 Mark J. Cox 2005-07-25 03:50:03 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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