[Bug 1923115] Re: Networkd vs udev nic renaming race condition
Ćukasz Zemczak
1923115 at bugs.launchpad.net
Thu Apr 15 23:58:30 UTC 2021
Hello Seyeong, or anyone else affected,
Accepted systemd into bionic-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/systemd/237-3ubuntu10.47 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed. Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, what testing has been
performed on the package and change the tag from verification-needed-
bionic to verification-done-bionic. If it does not fix the bug for you,
please add a comment stating that, and change the tag to verification-
failed-bionic. In either case, without details of your testing we will
not be able to proceed.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance for helping!
N.B. The updated package will be released to -updates after the bug(s)
fixed by this package have been verified and the package has been in
-proposed for a minimum of 7 days.
** Changed in: systemd (Ubuntu Bionic)
Status: In Progress => Fix Committed
** Tags added: verification-needed verification-needed-bionic
--
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:
Fix Committed
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 the test plan is described as:
"Reboot a couple of times. Sometimes the interface is renamed correctly. Sometimes it is not."
[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