Network interface renaming, where does INTERFACE_NAME get applied?

Daniel Drake dsd at laptop.org
Fri Nov 9 17:42:35 UTC 2012


Hi Bill

I see that initscripts in F18 ships this udev rule:

ACTION=="add", SUBSYSTEM=="net", PROGRAM="/lib/udev/rename_device",
RESULT=="?*", ENV{INTERFACE_NAME}="$result"

I'm trying to tackle some problems related to interface renaming, and
understanding how this works would be useful.

But I can't find which software component *applies* the INTERFACE_NAME
variable set by the above rule, actually performing the interface
rename. Can you explain?

FYI, I would imagine this area will also be susceptible to a current
udev bug, https://bugs.freedesktop.org/show_bug.cgi?id=56929

Thanks
Daniel


More information about the devel mailing list