[Bug 1923115] Re: Networkd vs udev nic renaming race condition
Seyeong Kim
1923115 at bugs.launchpad.net
Fri Apr 9 07:30:16 UTC 2021
** Description changed:
[Impact]
systemd-networkd renames nic just after udev renamed it
e.g
kernel: [ 2.827368] vmxnet3 0000:0b:00.0 ens192: renamed from eth0
kernel: [ 7.562729] vmxnet3 0000:0b:00.0 eth0: renamed from ens192
systemd-networkd[511]: ens192: Interface name change detected, ens192 has been renamed to eth0.
This cause netplan or the other network management pkg can't find proper
nic sometimes.
This happens on Bionic
Below commit seems to solve this issue.
https://github.com/systemd/systemd/pull/11881/commits/30de2b89d125a8692c22579ef805b03f2054b30b
There are bunch of related commits but above one the customer tested it
worked.
[Test Plan]
The customer has issue and they could help us to test this.
Internally they already test this and it worked.
+ Please refer to github issue's reproduction step as well.
+ https://github.com/systemd/systemd/issues/7293#issue-272917058
+
+
[Where problems could occur]
systemd-networkd should be restarted for this patch. systemd-networkd
nic renaming could have issue. renaming may not be happening
unexpectedly. e.g doesn't rename it properly or rename it when it should
do.
[Others]
--
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/1923115
Title:
Networkd vs udev nic renaming race condition
Status in systemd package in Ubuntu:
Fix Released
Status in systemd source package in Bionic:
In Progress
Status in systemd source package in Focal:
Fix Released
Bug description:
[Impact]
systemd-networkd renames nic just after udev renamed it
e.g
kernel: [ 2.827368] vmxnet3 0000:0b:00.0 ens192: renamed from eth0
kernel: [ 7.562729] vmxnet3 0000:0b:00.0 eth0: renamed from ens192
systemd-networkd[511]: ens192: Interface name change detected, ens192 has been renamed to eth0.
This cause netplan or the other network management pkg can't find
proper nic sometimes.
This happens on Bionic
Below commit seems to solve this issue.
https://github.com/systemd/systemd/pull/11881/commits/30de2b89d125a8692c22579ef805b03f2054b30b
There are bunch of related commits but above one the customer tested
it worked.
[Test Plan]
The customer has issue and they could help us to test this.
Internally they already test this and it worked.
Please refer to github issue's reproduction step as well.
https://github.com/systemd/systemd/issues/7293#issue-272917058
[Where problems could occur]
systemd-networkd should be restarted for this patch. systemd-networkd
nic renaming could have issue. renaming may not be happening
unexpectedly. e.g doesn't rename it properly or rename it when it
should do.
[Others]
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1923115/+subscriptions
More information about the foundations-bugs
mailing list