Bug 97481 - Crash when reading CGI generated kickstart files
Crash when reading CGI generated kickstart files
Product: Red Hat Enterprise Linux 2.1
Classification: Red Hat
Component: anaconda (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Jeremy Katz
Mike McLean
Depends On:
  Show dependency treegraph
Reported: 2003-06-16 11:15 EDT by Travis Crawford
Modified: 2007-11-30 17:06 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-06-19 17:57:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
Crash output (662 bytes, text/plain)
2003-06-16 11:17 EDT, Travis Crawford
no flags Details
Script output (the ks file) (135 bytes, text/plain)
2003-06-16 11:19 EDT, Travis Crawford
no flags Details
Script (1009 bytes, text/plain)
2003-06-16 11:20 EDT, Travis Crawford
no flags Details

  None (edit)
Description Travis Crawford 2003-06-16 11:15:46 EDT
Description of problem:
Crash when reading CGI generated kickstart files. Might have something to do
with handling of the content-type line.

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

How reproducible:

Steps to Reproduce:
1. Write a CGI script that outputs a Kickstart file.
2. Pass ks=http://web_server/script.cgi to the kernel.
3. Watch as the installer crashes.

Actual results:
Anaconda crashes.

Expected results:
Automated install.

Additional info:
A text file (created by wget'ting the script works as expected (the install
works.) When the CGI script is the specified kickstart file anaconda crashes.
Comment 1 Travis Crawford 2003-06-16 11:17:48 EDT
Created attachment 92428 [details]
Crash output
Comment 2 Travis Crawford 2003-06-16 11:19:20 EDT
Created attachment 92429 [details]
Script output (the ks file)
Comment 3 Travis Crawford 2003-06-16 11:20:54 EDT
Created attachment 92430 [details]
Comment 4 Jeremy Katz 2003-06-16 12:21:39 EDT
Your web server is created chunked output which our simplistic http client can't
handle.  You need to configure your web server to not return chunked output.

Newer versions handle this better.
Comment 5 Travis Crawford 2003-06-16 15:50:10 EDT
Thanks for the chunking info. Since chunking is a HTTP/1.1 feature, adding a few
lines to httpd.conf fixed the problem.

SetEnv nokeepalive
SetEnv downgrade-1.0
SetEnv force-response-1.0

Perhaps Anaconda could default to making HTTP/1.0 requests? Or are there any
HTTP/1.1 features that make sticking with the new version better?
Comment 6 Jeremy Katz 2003-06-19 17:57:58 EDT
More current releases only request 1.0

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