Red Hat Bugzilla – Bug 218489
Old static entries in ifcfg-eth0 prevent dhclient from setting default route.
Last modified: 2014-08-31 19:28:34 EDT
Description of problem:
Old static config in /etc/sysconfig/network-scripts/ifcfg-eth0 prevents
dhclient from setting default route
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.Configure a rhel4 box with a static IP configuration, then change the
configuration to use DHCP.
2.Upgrade the box to rhel5
3.Observe that the box can no longer access machines beyond the local network.
Network configuration should continue to work as it did in RHEL-4.
What are the config files?
Created attachment 142969 [details]
Removing the last three lines "fixed" the problem, but it's still a regression
This is done in dhclient-script (*yuk*).
This bugzilla has Keywords: Regression.
Since no regressions are allowed between releases,
it is also being proposed as a blocker for this release.
Please resolve ASAP.
What's the proposed solution here? Is dhclient-script being changed to honor
BOOTPROTO over IPADDR?
This this isn't happening in dhclient-script, it happens in anaconda. On
upgrade, we're preserving everything in the existing ifcfg-ethX file, which
shouldn't be happening. Attached is a patch to fix the problem.
Created attachment 290995 [details]
Upgrade from RHEL4.6 AS to RHEL5.2-Server-20080206.nightly according to
scenario in comment 0 works as expected.
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.