Networkd vs udev nic renaming race condition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
systemd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Bionic |
Fix Released
|
Undecided
|
Seyeong Kim | ||
Focal |
Fix Released
|
Undecided
|
Unassigned |
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-
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:/
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:/
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]
Changed in systemd (Ubuntu Focal): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu): | |
status: | New → Fix Released |
Changed in systemd (Ubuntu Bionic): | |
status: | New → In Progress |
tags: | added: sts |
Changed in systemd (Ubuntu Bionic): | |
assignee: | nobody → Seyeong Kim (seyeongkim) |
description: | updated |
description: | updated |
description: | updated |
tags: |
added: verification-done verification-done-bionic removed: verification-needed verification-needed-bionic |
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/ PerformingSRUVe rification . 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.