Bug 200187 - pxeos fails to use FTP password
pxeos fails to use FTP password
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: pxe (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Daniel Walsh
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2006-07-25 19:33 EDT by Rhys Ulerich
Modified: 2012-06-20 12:14 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 12:14:05 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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

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 
it will, however, use authentication when checking for
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):

How reproducible:

Steps to Reproduce:
As above.

Actual Results:
As above.

Expected Results:
As above.

Additional info:
Comment 1 Jiri Pallich 2012-06-20 12:14:05 EDT
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.