Bug 194247 - Can't get initial kickstart when URL requires auth
Summary: Can't get initial kickstart when URL requires auth
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: anaconda
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: David Cantrell
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 190430
TreeView+ depends on / blocked
 
Reported: 2006-06-06 16:14 UTC by Bastien Nocera
Modified: 2018-10-19 20:38 UTC (History)
1 user (show)

Fixed In Version: RHBA-2007-0816
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-15 16:35:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda-rhel3-initial-ks-auth.patch (4.19 KB, patch)
2006-06-06 16:14 UTC, Bastien Nocera
no flags Details | Diff
anaconda-rhel4-initial-ks-auth.patch (4.22 KB, patch)
2006-06-06 16:16 UTC, Bastien Nocera
no flags Details | Diff
test.c (2.53 KB, text/plain)
2006-06-06 16:16 UTC, Bastien Nocera
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2007:0816 0 normal SHIPPED_LIVE anaconda bug fix and enhancement update 2007-11-14 18:43:57 UTC

Description Bastien Nocera 2006-06-06 16:14:34 UTC
RHEL3 U7

In the anaconda logs, you might see:
* reverse name lookup worked
* ks location: ftp://ftpuser:redhat@10.0.0.1/home/ftpuser/ks.cfg
* transferring ftp://ftpuser:redhat@10.0.0.1//./home/ftpuser/ks.cfg to a fd
* failed to retrieve http://ftpuser:redhat@10.65.6.242///home/ftpuser/ks.cfg

The attached patch adds support for parsing login and password from the URI
itself. I also attached a test program to see whether there were any regressions
in the parsing.

I'm afraid my patch uses the same lax memory management as the original code
(host and path are never freed).

Comment 1 Bastien Nocera 2006-06-06 16:14:35 UTC
Created attachment 130617 [details]
anaconda-rhel3-initial-ks-auth.patch

Comment 2 Bastien Nocera 2006-06-06 16:16:04 UTC
Created attachment 130618 [details]
anaconda-rhel4-initial-ks-auth.patch

RHEL4 patch, if necessary.

Comment 3 Bastien Nocera 2006-06-06 16:16:50 UTC
Created attachment 130619 [details]
test.c

Parsing testcase.

Comment 6 David Cantrell 2007-04-03 20:08:53 UTC
Patch applied to rawhide.  Flagging for inclusion in RHEL-4.6.

Comment 7 RHEL Program Management 2007-05-09 10:14:04 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red
Hat Enterprise Linux maintenance release.  Product Management has requested
further review of this request by Red Hat Engineering, for potential
inclusion in a Red Hat Enterprise Linux Update release for currently deployed
products.  This request is not yet committed for inclusion in an Update
release.

Comment 12 errata-xmlrpc 2007-11-15 16:35:07 UTC
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.

http://rhn.redhat.com/errata/RHBA-2007-0816.html



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