Bug 493995

Summary: udev renames eth0 to eth1 for unknown reason
Product: [Fedora] Fedora Reporter: Jurgen Kramer <gtmkramer>
Component: anacondaAssignee: David Cantrell <dcantrell>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: harald, pjones, rmaximo, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-04 22:57:20 EDT Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:

Description Jurgen Kramer 2009-04-03 12:11:56 EDT
Description of problem:
Somehow udev decides to rename eth0 to eth1 (for no reason)

Version-Release number of selected component (if applicable):
udev-139-4.fc11.i586
kernel-2.6.29.1-46.fc11.i686.PAE

How reproducible:
always

Steps to Reproduce:
1. Boot system
2.
3.
  
Actual results:
udev renames eth0 to eth1

Expected results:
eth0 stays eth0

Additional info:
F11 rawhide, fully updated (3 Apr 09)
dmesg shows:
sky2 eth0: addr 00:13:77:d7:e7:3f
udev: renamed network interface eth0 to eth1
sky2 eth1: enabling interface
ADDRCONF(NETDEV_UP): eth1: link is not ready
sky2 eth1: Link is up at 100 Mbps, full duplex, flow control both
ADDRCONF(NETDEV_CHANGE): eth1: link becomes ready
eth1: no IPv6 routers present
Comment 1 Harald Hoyer 2009-04-03 13:17:38 EDT
please post the contents of you /etc/udev/rules.d/70-persistent-net.rules file
Comment 2 Jurgen Kramer 2009-04-03 14:18:07 EDT
As requested to contents of /etc/udev/rules.d/70-persistent-net.rules:

# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rul
e written by anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:24:2b:7d:1f:2
a", ATTR{type}=="1", KERNEL=="wlan*", NAME="wlan0"
# Marvell Technology Group Ltd. 88E8048 PCI-E Fast Ethernet Controller (rule wri
tten by anaconda)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:11:22:33:44:5
5", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x11ab:0x4354 (sky2)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:13:77:d7:e7:3
f", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"


I am not sure why anaconda wrote that made up mac address for eth0.
Comment 3 Harald Hoyer 2009-04-03 14:27:49 EDT
just remove the lines for eth0 and eth1
Comment 4 Harald Hoyer 2009-04-03 14:28:27 EDT
reassigned to anaconda
Comment 5 David Cantrell 2009-05-04 22:57:20 EDT
Fixed in anaconda-11.5.0.48-1.fc11 and later.