Bug#917128: udev 240 breaks network interface naming
Wolfgang Walter
wolfgang.walter at stwm.de
Sun Dec 23 00:51:00 GMT 2018
Package: udev
Version: 240-1
Severity: important
After upgrading from 239-15 to 240-1 or higher my network setup breaks.
The breakage is similar to the last one I reported (bug #904198) though different in detail.
This times all my vlan-devices on a physical device netint are first renamed to renameX and than udev tries to rename them again but this time it tries to give them all the name netint - which of course fails.
A setup like the following one should be able to reproduce this problem:
10-netint.link:
[Match]
MACAddress=00:01:2e:77:a5:45
[Link]
Name=netint
WakeOnLan=off
netint.network:
[Match]
Name=netint
[Network]
VLAN=kbs
LinkLocalAddressing=no
DHCP=no
kbs.link
[NetDev]
Name=kbs
Kind=vlan
[VLAN]
Id=10
In the journal you should see something like
kernel: rename31: renamed from kbs
....
systemd-networkd[852]: kbs: Interface name change detected, kbs has been renamed to rename31
....
[347]: kbs: Failed to rename network interface 31 from 'kbs' to 'netint': Device or resource busy
....
Downgrading udev to 239-15 fixes it in principle that is this rename does not happen.
systemd-networkd from 240-1 though crashes with
Assertion 'IN_SET(link->state, LINK_STATE_CONFIGURING, LINK_STATE_CONFIGURING, LINK_STATE_FAILED, LINK_STATE_LINGER)' failed at ../src/network/network/networkd-link.c:934, function address_handler(). Aborting.
Therefor I also had to downgrade systemd back to 239-15.
Regards,
--
Wolfgang Walter
Studentenwerk München
Anstalt des öffentlichen Rechts
More information about the Pkg-systemd-maintainers
mailing list