> udev can produce unpredictable network interface names by default when
multiple devices map to the same slot due to an intermediate bridge.

so, if I understand it right, the MR won't actually fix this for anyone
without additional per-system work, right? specifically, any system with
this problem will need to also add the 'net.naming-scheme=latest' boot
parameter (or set it via systemd-udevd env var).

If that's the case, then it seems like a much simpler manual workaround
for this would be to just avoid slot naming for the problematic nics,
for example by dropping a link file into /etc/systemd/network/ with
content like:

[Match]
Driver="whatever driver the DGX nics use, or use some other specific match"

[Link]
NamePolicy=keep kernel database onboard path
AlternativeNamesPolicy=database onboard path
MACAddressPolicy=persistent


essentially, override the 99-default.link to remove 'slot' naming.

> While MAAS does take care to always restore the names used during
commissioning (eth3 will always be the same NIC on every deploy), these
names can change each time the system is commissioned.

if the only change needed is during maas comissioning, that seems like
the perfect time to use a link file to override the specific problematic
nics by whatever matching logic is best.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1945225

Title:
  udev produces unpredictable net names when PCI device is a bridge

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1945225/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to