Network interface renaming, where does INTERFACE_NAME get applied?

Lennart Poettering mzerqung at 0pointer.de
Fri Nov 9 23:45:17 UTC 2012


On Fri, 09.11.12 11:42, Daniel Drake (dsd at laptop.org) wrote:

> 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

IIRC support INTERFACE_NAME is gone for quite a while since udev stopped
to provide implicit permenanet naming since it was a trainwreck. People
should use biosdevname instead.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list