Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 218489

Summary: Old static entries in ifcfg-eth0 prevent dhclient from setting default route.
Product: Red Hat Enterprise Linux 5 Reporter: Jay Fenlason <fenlason>
Component: anacondaAssignee: Dave Cantrell <dcantrell>
Status: CLOSED ERRATA QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.0CC: jfeeney, jlaska, notting
Target Milestone: rcKeywords: Regression
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: RHBA-2008-0397 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-21 15:29:48 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
old ifcfg-eth0
none
anaconda-218489.patch none

Description Jay Fenlason 2006-12-05 18:43:38 UTC
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): 
initscripts-8.45.4.EL-1 
 
How reproducible: 
 
 
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. 
   
Actual results: 
 
 
Expected results: 
Network configuration should continue to work as it did in RHEL-4. 
 
Additional info:

Comment 1 Bill Nottingham 2006-12-05 18:53:23 UTC
What are the config files?

Comment 2 Jay Fenlason 2006-12-06 17:35:02 UTC
Created attachment 142969 [details]
old ifcfg-eth0

Removing the last three lines "fixed" the problem, but it's still a regression
from RHEL4.

Comment 3 Bill Nottingham 2006-12-06 20:29:17 UTC
This is done in dhclient-script (*yuk*).


Comment 4 RHEL Program Management 2007-07-23 15:38:36 UTC
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.

Comment 5 James Laska 2007-11-02 16:55:51 UTC
What's the proposed solution here?  Is dhclient-script being changed to honor
BOOTPROTO over IPADDR?

Comment 6 Dave Cantrell 2008-01-07 18:48:56 UTC
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.

Comment 7 Dave Cantrell 2008-01-07 18:50:03 UTC
Created attachment 290995 [details]
anaconda-218489.patch

Comment 10 Milan Zázrivec 2008-02-06 11:58:17 UTC
Upgrade from RHEL4.6 AS to RHEL5.2-Server-20080206.nightly according to 
scenario in comment 0 works as expected.

Comment 12 errata-xmlrpc 2008-05-21 15:29:48 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-2008-0397.html