[Bug 1842651] Re: Regression: after Uprade from udev_237-3ubuntu10.25 to udev_237-3ubuntu10.26 network interfaces don't get renamed by 70-persistent-network.rules
Chris Coulson
chris.coulson at canonical.com
Fri Sep 6 08:51:03 UTC 2019
Rather than going through -proposed, it needs to go via one of our
security PPAs (which are built without -updates) and then copied across,
which is something I can do.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1842651
Title:
Regression: after Uprade from udev_237-3ubuntu10.25 to
udev_237-3ubuntu10.26 network interfaces don't get renamed by 70
-persistent-network.rules
Status in OEM Priority Project:
In Progress
Status in systemd package in Ubuntu:
In Progress
Bug description:
[Impact]
* Many server users upgraded from previous Ubuntu LTS series, such as
14.04 and 16.04, will be affected by this regression.
* Because there is /etc/udev/rules/70-persistent-network.rules or
/etc/udev/rules.d/70-persistent-net.rules generated by
/lib/udev/write_net_rules left.
* The previous SRU commit of LP: #1837700 doesn't cover this
persistent network rule.
[Test Case]
* It needs to have two Ethernet devices and provides
/etc/udev/rules.d/70-persistent-net.rules as below.
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:30:18:cb:5b:55", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:30:18:cb:5b:56", NAME="eth1"
[Regression Potential]
* When users upgrade to next LTS 20.04, they may also encounter this
issue because Debian has dropped the same patch.
* We need to figure another way to avoid this regression for next LTS
20.04.
* Adding back the origial patch from Debian will casue another issue.
(LP: #1837700)
[Other Info]
Since the latest update from udev_237-3ubuntu10.25 and
systemd_237-3ubuntu10.25 to udev_237-3ubuntu10.26 and
systemd_237-3ubuntu10.26 the renaming of network interfaces by
/etc/udev/rules/70-persistent-network.rules does not work.
/etc/udev/rules/70-persistent-network.rules:
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:30:18:cb:5b:55", NAME="eth0"
SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:30:18:cb:5b:56", NAME="eth1"
/var/log/syslog:
systemd-udevd[423]: Error changing net interface name 'eth1' to 'eth0': File exists
When I downgrade the packages to the version with 237-3ubuntu10.25 the following messages are in /var/log/syslog:
Sep 4 13:10:09 brutus kernel: [ 4.518507] igb 0000:04:00.0 rename2: renamed from eth0
Sep 4 13:10:09 brutus kernel: [ 4.565081] igb 0000:07:00.0 eth0: renamed from eth1
The latest version does not rename the interfaces temporary if there
is a conflict!
Manually installing the old packages with
dpkg -i libacl1_2.2.52-3_amd64.deb libsystemd0_237-3ubuntu10.25_amd64.deb libudev1_237-3ubuntu10.25_amd64.deb systemd_237-3ubuntu10.25_amd64.deb systemd-sysv_237-3ubuntu10.25_amd64.deb udev_237-3ubuntu10.25_amd64.deb
did fix the problem temporary.
To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/1842651/+subscriptions
More information about the foundations-bugs
mailing list