Bug ID 903500
Summary disabling of predictive interface naming no longer works after upgrade to latest Kernel:Stable, 3.17.1-3.gd944251-desktop
Classification openSUSE
Product openSUSE 13.1
Version Final
Hardware All
OS openSUSE 13.1
Status NEW
Severity Normal
Priority P5 - None
Component Kernel
Assignee kernel-maintainers@forge.provo.novell.com
Reporter lani586@mailworks.org
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

I have Opensuse 13.1 installed.  I use a kernel from Kernel:Stable.  It's
upgraded to latest.

uname -a
Linux lanik 3.17.1-3.gd944251-desktop #1 SMP PREEMPT Wed Oct 29 13:26:06 UTC
2014 (d944251) x86_64 x86_64 x86_64 GNU/Linux

My computer has one ethernet interface, on the motherboard.

I want it named "eth0", not auto-renamed by systemd
(http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/).

To disable the autonaming I created this link,

ls -al /etc/udev/rules.d/80-net-setup-link.rules 
lrwxrwxrwx 1 root root 9 Aug  5 16:49 /etc/udev/rules.d/80-net-setup-link.rules
-> /dev/null

Added this to grub's kernel line

cat /boot/grub/menu.lst
kernel /vmlinuz ... biosdevname=0 net.ifnames=0

and created a static naming map.

cat /etc/udev/rules.d/70-persistent-net.rules 
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
ATTR{address}=="00:e0:1b:68:26:3c", ATTR{dev_id}=="0x0", ATTR{type}=="1",
KERNEL=="eth*", NAME="eth0"

With earlier kernel versions, this used to work.  The system would boot up with
the interface named as "eth0", and active.

Now, it ignores the configs above and renames the interface to "enp0s20",
network fails to start, and the system boots with no net connection.

If I just

mv /etc/sysconfig/network/ifcfg-eth0 /etc/sysconfig/network/ifcfg-enp0s20

and reboot it comes up active as "enp0s20" still ignoring the settings.

In irc suggested this is a bug.  Or, has some needed config changed?


You are receiving this mail because: