Bug 200187 - pxeos fails to use FTP password
Summary: pxeos fails to use FTP password
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: pxe
Version: 4.0
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: Daniel Walsh
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-07-25 23:33 UTC by Rhys Ulerich
Modified: 2012-06-20 16:14 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-20 16:14:05 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Rhys Ulerich 2006-07-25 23:33:18 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.4) Gecko/20060508 (CK-IBM) Firefox/1.5.0.4

Description of problem:
When attempting to use a line like

pxeos -a -i 'rhel4as-u3-i386' -p FTP -D 0 -s ftp3.linux.ibm.com \
      -L '/redhat/install/rhel4as-u3-i386/'
      -K '/root/kickstart' -A 0 -u myuser -P mypass rhel4as-u3-i386

to add an Operating system to PXE, the command fails to use authentication
when contacting the FTP server and looking for file 
/redhat/install/rhel4as-u3-i386/images/pxeboot/vmlinuz
it will, however, use authentication when checking for
/redhat/install/rhel4as-u3-i386/disc1/images/pxeboot/vmlinuz
'
The result is that FTP cannot be used to dig up PXE images when accessing an FTP server requiring authentication AND which contains all of the installation ISO contents in a single directory.

The defect is in /usr/share/system-config-netboot/pxeos.py on line 201.
Line 201 uses (self.protocol, self.server, self.location) to modify the
contents of the top variable.  Looking up to line 191 the 'server' variable
is the one modified to contain an FTP password/username, and the 'self.server'
in line 201 should be replaced by 'server'.  Doing so fixes the behavior.

Compare with the statement in line 208 which uses the correct variable for the path attempt containing disc1.

Adding some verbosity in terms of what URL is in use when attempting to retrieve the files sure wouldn't hurt either.

Version-Release number of selected component (if applicable):
system-config-netboot-0.1.32-1_EL4

How reproducible:
Always


Steps to Reproduce:
As above.

Actual Results:
As above.

Expected Results:
As above.

Additional info:

Comment 1 Jiri Pallich 2012-06-20 16:14:05 UTC
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.


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