biosdevname messes up interface names from emX to renameX

Bug #1295873 reported by Endre Karlson
26
This bug affects 6 people
Affects Status Importance Assigned to Milestone
biosdevname (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

root@svg-cn03:~# dmesg | grep rename
[ 7.535497] systemd-udevd[260]: renamed network interface eth0 to em1
[ 7.655379] systemd-udevd[254]: renamed network interface eth2 to em3
[ 7.779396] systemd-udevd[257]: renamed network interface eth3 to em2
[ 7.908042] systemd-udevd[252]: renamed network interface eth1 to rename3
[ 39.826424] IPv6: ADDRCONF(NETDEV_UP): rename3: link is not ready

This is a fresh install.

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: biosdevname 0.4.1-0ubuntu6
ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
Uname: Linux 3.13.0-18-generic x86_64
ApportVersion: 2.13.3-0ubuntu1
Architecture: amd64
Date: Sat Mar 22 00:26:57 2014
InstallationDate: Installed on 2014-03-21 (0 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64+mac (20140222)
SourcePackage: biosdevname
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Endre Karlson (endre-karlson) wrote :
Adam Conrad (adconrad)
Changed in biosdevname (Ubuntu):
milestone: none → ubuntu-14.04
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in biosdevname (Ubuntu):
status: New → Confirmed
Revision history for this message
Faye Salwin (faye-salwin) wrote :

The interface was set to renameX during installation, I suspect because dhcp was triggered before udev had settled.
This named my interface renameX in /etc/network/interfaces, which meant that network-interface.conf was triggering when it saw the renameX interface.

Changing the interface name in /etc/network/interfaces to p1p2, the next reboot brought the interface back with the p1p2 name.

Revision history for this message
zidarsk8 (zidarsk8) wrote :

Faye, I have p4p2 in my interfaces file and it still gets renamed to rename3.

this are two dmesg outputs when I only restarted my server, no files changed or anything.

zidar@vedi:~$ dmesg | grep eth
[ 26.319254] igb 0000:02:00.0: added PHC on eth0
[ 26.319257] igb 0000:02:00.0: eth0: (PCIe:2.5Gb/s:Width x4) 00:25:90:83:cc:8a
[ 26.319286] igb 0000:02:00.0: eth0: PBA No: Unknown
[ 26.523941] igb 0000:02:00.1: added PHC on eth1
[ 26.523945] igb 0000:02:00.1: eth1: (PCIe:2.5Gb/s:Width x4) 00:25:90:83:cc:8b
[ 26.523965] igb 0000:02:00.1: eth1: PBA No: Unknown
[ 28.828944] systemd-udevd[353]: renamed network interface eth0 to p4p1
[ 29.277321] systemd-udevd[354]: renamed network interface eth1 to rename3

zidar@vedi:~$ dmesg | grep eth
[ 26.980009] igb 0000:02:00.0: added PHC on eth0
[ 26.980012] igb 0000:02:00.0: eth0: (PCIe:2.5Gb/s:Width x4) 22:75:f1:83:cc:8a
[ 26.980028] igb 0000:02:00.0: eth0: PBA No: Unknown
[ 27.187227] igb 0000:02:00.1: added PHC on eth1
[ 27.187230] igb 0000:02:00.1: eth1: (PCIe:2.5Gb/s:Width x4) 22:75:f1:83:cc:8b
[ 27.187246] igb 0000:02:00.1: eth1: PBA No: Unknown
[ 28.811789] systemd-udevd[354]: renamed network interface eth0 to p4p1
[ 28.971654] systemd-udevd[356]: renamed network interface eth1 to p4p2

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.