[systemd-devel] network interface names flipping
Kay Sievers
kay at vrfy.org
Fri Oct 16 07:55:30 PDT 2015
On Fri, Oct 16, 2015 at 4:44 PM, Olaf Hering <olaf at aepfle.de> wrote:
> Since the introducion of the (un)predictable network interface names the
> name of the single onboard interface on my Shuttle changes if I boot my
> own .config or the kernel.rpm provided by openSUSE. I just threw up
> hands and continue to boot with netnames=0 (or whatever).
>
> Now that same thing starts to happen on my Probook, and that makes me
> wonder if the whole code should just be dropped from udev because it
> obviously fails to work. Unless of course the goal is "UNpredictable"
>
> So, with my own kernel "eth0" becomes "enp2s0". And as I noticed just
> now, with kernel.rpm its always named "ens1".
>
> What is udev doing wrong?
> See http://pastebin.com/raw.php?i=Y5NJWJGF for some data.
Your own kernel might not support PCI hotplug? The slot names might
not be available if the support for them is missing.
Btw, predictable means it will not change between reboots, that names
will not depend on enumeration order within the same setup. It does
not mean or promise, that added kernel/driver/firmware features will
not result in different names. That is expected behavior.
Kay
More information about the systemd-devel
mailing list