Bug 493995 - udev renames eth0 to eth1 for unknown reason
udev renames eth0 to eth1 for unknown reason
Product: Fedora
Classification: Fedora
Component: anaconda (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: David Cantrell
Fedora Extras Quality Assurance
Depends On:
  Show dependency treegraph
Reported: 2009-04-03 12:11 EDT by Jurgen Kramer
Modified: 2009-05-04 22:57 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2009-05-04 22:57:20 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:

Attachments (Terms of Use)

  None (edit)
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):

How reproducible:

Steps to Reproduce:
1. Boot system
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- and later.

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