Red Hat Bugzilla – Bug 989209
remove biosdevname from boot.iso
Last modified: 2014-07-02 21:20:50 EDT
Description of problem:
I have 4 ethernet NIC. After fresh Fedora 19 installation, the names are as follows:
this is also what 'biosdevname -d' shows
BUT names in /etc/sysconfig/network-scripts/ are
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.install Fedora 19
difference between NIC name and what NM uses
all names the same
this is caused by biosdevname feature fighting with predictable network names feature.
I guess biosdevname is obsolete now and should not be installed by default.
NM doesn't actually create the files, nor do they get renamed because that causes other problems, and makes people angry that their configuration is getting moved around.
In reality, it's because I don't think the setup environment is running the same logic as the runtime environment for device naming (udev?).
Anaconda team, is this a dracut thing, anaconda thing, or a udev thing?
(In reply to Dan Williams from comment #2)
> NM doesn't actually create the files, nor do they get renamed because that
> causes other problems, and makes people angry that their configuration is
> getting moved around.
> In reality, it's because I don't think the setup environment is running the
> same logic as the runtime environment for device naming (udev?).
> Anaconda team, is this a dracut thing, anaconda thing, or a udev thing?
udev handles naming network devices.
Well, if anaconda still runs biosdevname while installing but not in the final system then the interface names don't match. There's little systemd can do about that.
Please consider removing biosdevname from the anaconda installer. Assigning back.
As far as I can tell we're still using biosdevname in the installed system. dracut has it in the initrd, lorax is installing it into the boot.iso root filesystem and a rawhide minimal install includes it on the target system.
Could the original reporter give this a try with f20 or rawhide?
I've just tried fresh installation of Fedora 20 on 2xNIC machine.
After installation biosdevname was installed.
Devices got names em1 and em2
The same names were used in network-scripts/ifcfg-NIC
This should be fixed soonish for new installations with https://git.fedorahosted.org/cgit/comps.git/commit/?id=c1d40aae68d5b4d5ec170a82d02ef9a2daf7264d.
See https://fedoraproject.org/wiki/Features/SystemdPredictableNetworkInterfaceNames and bug 965718