Bug 134054 - anaconda ip= and pxelinux IPAPPEND option don't coexist peacefully
Summary: anaconda ip= and pxelinux IPAPPEND option don't coexist peacefully
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: anaconda   
(Show other bugs)
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: Mike McLean
Whiteboard: FC4
Depends On:
Blocks: 132991
TreeView+ depends on / blocked
Reported: 2004-09-29 10:22 UTC by Bastien Nocera
Modified: 2007-11-30 22:07 UTC (History)
2 users (show)

Fixed In Version: RHBA-2005-220
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-05-18 14:28:41 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
anaconda-pxelinux-ip-args.patch (2.07 KB, patch)
2004-10-13 12:37 UTC, Bastien Nocera
no flags Details | Diff

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:220 normal SHIPPED_LIVE anaconda bug fix update 2005-06-09 04:00:00 UTC
Red Hat Product Errata RHEA-2005:191 normal SHIPPED_LIVE anaconda enhancement update 2005-05-18 04:00:00 UTC

Description Bastien Nocera 2004-09-29 10:22:15 UTC
Description of problem:
The "ip=" options used by PXE Linux and Anaconda are different, and
pxelinux: ip=<client-ip>:<boot-server-ip>:<gw-ip>:<netmask>
anaconda: ip=<client-ip> netmask=<nm> gateway=<gw> dns=<dns>

It looks like it could be easy to mix and match the 2, for example:
ip=<client-ip>:<boot-server>:<gw-ip>:<netmask> dns=<dns>

Anaconda could get the client IP, gateway IP and netmask from the PXE
Linux option by simply checking whether the string contains ":".

I can provide a patch if deemed necessary.

Comment 1 Jeremy Katz 2004-09-29 15:48:49 UTC
My ip= option predates the ipappend stuff from pxelinux :-)  I'm not
against adding support for parsing the format passed by pxelinux if
you want to provide a patch (would definitely get it in faster, too)

Comment 2 Bastien Nocera 2004-10-13 12:37:40 UTC
Created attachment 105141 [details]

A patch for the loader to understand both pxelinux and anaconda style
Some options obviously aren't used by anaconda. The parsing is ugly but pretty

Comment 4 Jeremy Katz 2004-11-07 18:50:12 UTC
Thanks for the patch, committed to HEAD.

Leaving open to investigate for RHEL updates

Comment 8 Jeremy Katz 2005-01-06 19:50:51 UTC
Committed for RHEL3 U5, any testing would be much appreciated.

Comment 9 Dennis Gregorovic 2005-05-18 14:28:41 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.


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