Bug 233507 - two ifcfg-eth's created for one NIC.
Summary: two ifcfg-eth's created for one NIC.
Keywords:
Status: CLOSED DUPLICATE of bug 234764
Alias: None
Product: Fedora
Classification: Fedora
Component: initscripts
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-03-22 19:56 UTC by Dave Jones
Modified: 2015-01-04 22:29 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2007-04-12 18:54:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Dave Jones 2007-03-22 19:56:38 UTC
From todays rawhide install on an X60.

[davej@cheezit ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth0 
# Intel Corporation 82573L Gigabit Ethernet Controller
DEVICE=eth0
BOOTPROTO=dhcp
ONBOOT=yes
[davej@cheezit ~]$ cat /etc/sysconfig/network-scripts/ifcfg-eth1
# Intel Corporation 82573L Gigabit Ethernet Controller
DEVICE=eth1
ONBOOT=yes
BOOTPROTO=dhcp
HWADDR=00:16:d3:3a:62:d3

Comment 1 David Cantrell 2007-03-26 18:01:11 UTC
Do you have an iwlwifi adapter in this X60?  I'm seeing this happen on a
laptop-in-a-box system with iwlwifi.  We don't have support for that interface
during installation, but we hit a problem when it comes to gathering interface
descriptions.

We populate the table of interfaces to configure based on what interfaces are
currently available.  Then we gather descriptions for those interfaces using
kudzu.  Kudzu can see the iwlwifi driver and then screws up the descriptions
because kudzu's list of interfaces does not match the list of currently
available interfaces.

Working on it.

Comment 2 David Cantrell 2007-03-26 18:16:43 UTC
Ahh, I see what's happening.  I need the kudzu.PROBE_LOADED flag for
kudzu.probe() in network.py.  Unfortunately, PROBE_LOADED isn't defined in the
Python kudzu module, so here's a patch:

Index: kudzumodule.c
===================================================================
RCS file: /usr/local/CVS/kudzu/kudzumodule.c,v
retrieving revision 1.53
diff -u -p -r1.53 kudzumodule.c
--- kudzumodule.c       9 Aug 2006 17:47:46 -0000       1.53
+++ kudzumodule.c       26 Mar 2007 18:11:43 -0000
@@ -97,6 +97,7 @@ static TableEntry modeTable[] = {
     { "PROBE_ALL",     PROBE_ALL },
     { "PROBE_SAFE",    PROBE_SAFE },
     { "PROBE_ONE",     PROBE_ONE },
+    { "PROBE_LOADED",  PROBE_LOADED },
     { NULL },
 } ;
 static int numModeEntries = sizeof (modeTable) / sizeof (TableEntry);


Bill, can you get a new kudzu built with this enabled?  I need it to fix the
problem in anaconda.

Comment 3 Jeremy Katz 2007-03-26 18:26:53 UTC
kudzu building; will be 1.2.66-1

Comment 4 David Cantrell 2007-03-26 21:37:27 UTC
Fixed in rawhide.

Comment 5 Dave Jones 2007-04-09 21:00:09 UTC
I just did a reinstall with the 20070409 tree, and this still occurs.

Comment 6 David Cantrell 2007-04-09 21:14:58 UTC
Yeah, many other people are reporting it, but it's not anaconda.  It's either
initscripts or something like udev or hal.  Before you click Reboot at the end
of an install, switch over to tty2 and look in
/mnt/sysimage/etc/sysconfig/network-scripts and notice the ifcfg-* scripts are
correct based on the settings you gave during installation.

On reboot, the /etc/init.d/network script is crapping all over these and writing
new files.  I have no idea why.  It might not be initscripts, but something that
initscripts runs.

Reassigning to initscripts.

Comment 7 Bill Nottingham 2007-04-12 18:54:00 UTC

*** This bug has been marked as a duplicate of 234764 ***


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