[Bug 2002445] Re: udev NIC renaming race with mlx5_core driver
Lukas Märdian
2002445 at bugs.launchpad.net
Mon Feb 13 14:10:29 UTC 2023
Fixed upstream in https://github.com/systemd/systemd/pull/25221
--
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/2002445
Title:
udev NIC renaming race with mlx5_core driver
Status in systemd package in Ubuntu:
New
Status in systemd source package in Focal:
Triaged
Status in systemd source package in Jammy:
Triaged
Status in systemd source package in Kinetic:
New
Status in systemd source package in Lunar:
New
Bug description:
[Impact]
On systems with mellanox NICs, udev's NIC renaming races with the mlx5_core driver's own configuration of subordinate interfaces. When the kernel wins this race, the device cannot be renamed as udev has attempted, and this causes systemd-network-online.target to timeout waiting for links to be configured. This ultimately results in boot being delayed by about 2 minutes.
[Test Plan]
Since this is a race condition, we need to boot many instances before we see the issue. The Ubuntu Server team will help coordinate the testing at scale to confirm the fix.
[Where problems could occur]
The patches effectively make it so that if a interface cannot be renamed from udev, then the new name is left as an alternative name as a fallback. If problems occur, it would be related to device renaming, and particularly related to the devices alternative names.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/2002445/+subscriptions
More information about the foundations-bugs
mailing list