systemd 229-4ubuntu6 ignores net.ifnames=0 on USB or /etc/udev/rules.d/80-net-setup-link.rules being a /dev/null symlink
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Debian) |
Fix Released
|
Unknown
|
|||
systemd (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 16.04 LTS
Release: 16.04
The upgrade to systemd/udev 229-4ubuntu6 breaks net.ifnames=0 for USB devices.
It appears the regression is here:
* Set MAC based name for USB network interfaces only for universally
administered (i. e. stable) MACs, not for locally administered (i. e.
randomly generated) ones. Drop /lib/systemd/
(as link files don't currently support globs for MACAddress=) and replace
with an udev rule in /lib/udev/
(Closes: #812575, LP: #1574483)
As Raspberry Pi's use eth0 via USB, this breaks running systems.
Before:
ii systemd 229-4ubuntu4 armhf system and service manager
ii udev 229-4ubuntu4 armhf /dev/ and hotplug management daem
3: eth0: <BROADCAST,
link/ether b8:27:eb:16:39:e9 brd ff:ff:ff:ff:ff:ff
After:
ii systemd 229-4ubuntu6 armhf system and service manager
ii udev 229-4ubuntu6 armhf /dev/ and hotplug management daemon
3: enxb827eb1639e9: <BROADCAST,
link/ether b8:27:eb:16:39:e9 brd ff:ff:ff:ff:ff:ff
cat /proc/cmdline
dma.dmachans=0x7f35 bcm2708_
With the default interfaces configuration, all networking is lost on reboot after upgrade.
SRU TEST CASE
=============
* Boot with "net.ifnames=0" on the kernel command line, and connect an USB ethernet device. It will still be called enxDEADBEEF with current xenial. With the -proposed version it will instead keep the kernel name, like "usb0" as intended.
* Do "sudo ln -s /dev/null /etc/udev/
Changed in systemd (Ubuntu): | |
status: | New → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
description: | updated |
Changed in systemd (Ubuntu Xenial): | |
status: | New → Fix Committed |
status: | Fix Committed → In Progress |
Changed in systemd (Debian): | |
status: | Unknown → Fix Committed |
Changed in systemd (Debian): | |
status: | Fix Committed → Fix Released |
Changed in systemd (Ubuntu Xenial): | |
status: | Fix Released → In Progress |
assignee: | nobody → Martin Pitt (pitti) |
Changed in systemd (Ubuntu): | |
importance: | Undecided → Medium |
Changed in systemd (Ubuntu Xenial): | |
importance: | Undecided → Medium |
Yes, /proc/cmdline.txt was from a different system thus the differing MAC addresses.