Since it's obvious that upsteam has this "my way or the highway" mentality, I'm curious about whether eudev (and mdev) exhibits the same behavior...
Rgds,
--
I'm not sure about Macs and Android, but with Windows it all happens based on MAC address.
I found about it quite accidentally; I had exported a VM from XenServer and imported it to a different host. By default, XenServer assigns a new, random MAC for imported VMs. Windows saw this and proceeded to initialize a new NIC. When I tried setting the IP settings, it complained that the settings are currently being used by an invisible NIC. So, I shut down the VM, restored the old MAC, and the prior settings reappeared.
Rgds,
--
True, that.
I still don't understand what's so bad with MAC-based identification? I mean, uniqueness defined through MAC Address identity, the system name is just a label...
Rgds,
--
On Monday 01 April 2013 20:51:45 Michael Mol wrote:
--->8
> So, there are three conceivable configurations (initramfs
> notwithstanding):
What a fine word! It's a while since I saw it last.
> 1. With systems which don't require /usr binaries before /usr would be
> mounted, separate /usr is not a problem.
I'm in that group, I'm glad to be able to say. The most important para to me in the news item was: "The feature can also be completely disabled using net.ifnames=0 on the kernel command line." I just added that to my grub.conf entries and I sail blissfully on with eth0. Of course this is a simple desktop box with a static network topology; on a less simple setup things would differ. Maybe I've left a hostage to fortune, but it'll do for now.
--->8
--
Peter
And if it's confusing for the 'bit jockeys' on this mailing list what do you think will be the effect on the casual user?
This could have been handled better, imho. What happened to that documentation mojo Gentoo is known for? The post-install notes
are a real head scratcher.
On Apr 6, 2013 3:44 PM, "Neil Bothwick" <ne...@digimed.co.uk> wrote:
>
> On Fri, 5 Apr 2013 21:14:39 -0400, Walter Dnes wrote:
>
> > * on a machine with multiple network cards *ALL USING DIFFERENT DRIVERS*
> > * drivers are built as modules, not built-in into the kernel
> > * is it possible to set things up so that the network driver modules do
> > not load automatically at bootup?
> > * have a script in /etc/local.d/ (or wherever) modprobe the drivers in
> > the desired order
> >
> > I can see complications involving services that depend on net (e.g.
> > sshd), but in general, would it work reliably?
>
> What happens if one of the modules fails to load for any reason?
>
> If you need persistent device names, set up rules to give them, but use
> names outside of the kernel namespace to avoid kk problems that udev is
> trying to avoid with its new naming rules.ooh
>
Ahhh... I think now I understand...
So. Here's my summarization of the situation:
* The ethX naming can change, i.e., the interfaces can get out of order
* So, to fix this, udev decided to use the physical attachment points of the NIC in driving a persistent name, a name that will be identical across boots as long as there is no hardware change
* In doing so, it also frees the 'traditional' ethX names to be used
* If one wants, one can still 'rename' the NICs to the 'traditional' names using the 70-*.rules script
* Doing so (specifying the NICs' names using the 70-*r.rules script) will also disable the new 'persistent naming' system -- for the NICs specified in the 70-*r.rules file
* Therefore, users that will be impacted are those that upgraded udev but doesn't have the 70-*r.rules, for udev will then assign new names for the NICs
* For these users, specifying the net....something switch for the kernel (sorry, forgot the complete switch) will disable the new naming system
So, have I gotten everything correctly?
CMIIW, please.
Rgds,
--
Ah, thanks for the clarification! :-)
So, from now on, for safety I'm going to use a custom naming scheme, like lan[0-9]+ or wan[0-9]+ or wifi[0-9]+, anything that won't collide with kernel names of eth[0-9]+
Now I only had to figure out how to rename eth[0-9]+ to the custom naming scheme when using mdev.
Rgds,
--
On Apr 7, 2013 5:59 PM, "Neil Bothwick" <ne...@digimed.co.uk> wrote:
>
> On Sun, 7 Apr 2013 00:34:03 -0400, Walter Dnes wrote:
>
> > > Now I only had to figure out how to rename eth[0-9]+ to the custom
> > > naming scheme when using mdev.
> >
> > ***UDEV*** has broken using "eth[0-9]". mdev works just fine, thank
> > you.
>
> udev has broken nothing, it is avoiding the breakage caused by a
> fundamentally flawed renaming procedure. Or does mdev have some magic for
> for renaming eth0 to eth1 while eth1 already exists?
>
"Broken" or not is totally depending on the eye of the beholder.
Server SysAdmins *sometimes* need to reboot, and if the name suddenly changes, that's hell on earth for us.
AFAICT, prior to udev-200, once an interface got assigned an ethX moniker, it just won't change name unless there's a hardware change. At least, that's my experience so far.
Rgds,
--