Re: Bug#627931: /etc/udev/rules.d/70-persistent-net.rules not generated on VMware

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 25, 2011 at 20:01, Marco d'Itri <md@xxxxxxxx> wrote:
> Does anybody have an opinion about this?

Let people who rely on persistent names edit the rules file by hand.
By manually/from-system-management -tools editing the rules file in
/etc.

The /etc/udev/rules.d/70-persistent-net.rules will stay for people to
configure their names, but they should *not* use ethX. The temporary
rename loop to swap names will likely be removed from udev.

We are going to drop the entire "magically create a rules file /etc to
keep names stable"-logic later this year, I expect.

We can not rename network devices in the kernel namespace (ethX)
reliably. It's impossible to get right to rename in a conflicting
namespace while kernel modules are loaded.

The whole thing does not scale with a lot of interfaces or on boxes
with many changes. The rules file just gets full of garbage over time.

We have problems with read-only rootfs and stateless boots.

The few people who rely on stable interface names, need to *configure*
them anyway for other reasons, assign IP addressen and such. Udev
should not try to be smart in the background and write state to disk
on its own.

In the future, udev will not do anything for any unconfigured
interface, not rename it, not write out a rule for the next reboot.
The majority of systems does not need these stable names, and the
current *magic* creates far too many problems. The deal does not seem
right and the fix it not to do it.

Kay
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux