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):
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.
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.
Created attachment 92428 [details]
Created attachment 92429 [details]
Script output (the ks file)
Created attachment 92430 [details]
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.
Thanks for the chunking info. Since chunking is a HTTP/1.1 feature, adding a few
lines to httpd.conf fixed the problem.
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?
More current releases only request 1.0