Consistent device naming
CLOSE Dave
Dave.Close at us.thalesgroup.com
Wed May 14 21:12:19 UTC 2014
On 05/13/2014 06:53 PM, Bruno Wolff III wrote:
> To exchange names, you need to use a temporary name and do three
> renames. Pretty much like swapping to values using a temporary
> variable.
I can't find a way to do that with udev. Please enlighten me.
> Another thing to consider is do you really need to reference the
> interface names? If you use dhcp and NetworkManager, you might be
> able to avoid that.
Yes, I need to reference the names. "ip route" needs them.
====
Near as I can find online, there is no solution to this issue. According
to <https://bugs.freedesktop.org/show_bug.cgi?id=56929#c3>,
> We do no longer support renaming network interfaces in the kernel
> namespace. Interface names are required to use custom names that
> can never clash with the kernel created ones.
> We do not support swapping names; we cannot win any race against
> the kernel creating new interfaces at the same time.
The system is broken by design.
--
Dave Close
More information about the users
mailing list