What happens if two udev rules try to assign the same name to two different network interfaces (i.e. udev name collision)?

The first assignment to occur will succeed?

And the second assignment to occur will (silently?) fail, meaning the second interface will still have its "original" name?

Or does something else happen?

  • The obvious way to find out is to try ... Did you try? – dirkt Dec 8 '17 at 11:22
  • Is there some easy way to observe what happens inside udev? Some udev debugging and logging capabilities? This RedHat bug makes it sound like there is no logging. bugzilla.redhat.com/show_bug.cgi?id=997573 There is more somewhat related info here: freedesktop.org/wiki/Software/systemd/… – mpb Dec 8 '17 at 17:36
  • That's a completely different question, so I suggest you ask a new one. You can observe the outcome of name assignments easily by looking at the MAC address. – dirkt Dec 8 '17 at 18:53

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.