Predictable network interface names re-enabled after update on server image
Bug #1585335 reported by
James
This bug affects 9 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Pi Flavour Maker |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Hello...
We're working with the 16.04 Server (minimal) image here. After initial install, predictable network interface names are disabled as advertised. However, after doing an apt update/upgrade, they return (I'm guessing) do to the recent systemd update.
I see /boot/cmdline.txt still contains "net.ifnames=0 biosdevname=0", but it doesn't seem to have any effect. I've disabled them again by adding an entry via /etc/udev/
I just tested this with a fresh image, booting to verify eth0, then apt update/upgrade and reboot to see eth0 removed and an enx------------ mac based interface in its place.
Thanks!
To post a comment you must log in.
Hello,
after some digging I found the origin of the "problem"
When you make apt-get update/upgrade you will update some packages and one of that packages is the udev.
After the update of udev, it updates the file /lib/udev/ rules.d/ 73-special- net-names. rules adding the following line: =="?[014589cd] :*", IMPORT{ builtin} ="net_id" , NAME="$ env{ID_ NET_NAME_ MAC}"
ACTION=="add", SUBSYSTEM=="net", SUBSYSTEMS=="usb", NAME=="", ATTR{address}
If you comment this line everything will work as before!