[Mageia-dev] Order of nics when multiple network interfaces detected.

Colin Guthrie mageia at colin.guthr.ie
Fri Feb 24 12:46:07 CET 2012


'Twas brillig, and David W. Hodgins at 24/02/12 02:17 did gyre and gimble:
> 
> In Mageia 1, which nic is assigned eth0 or eth1 etc, is controlled
> by /etc/udev/rules.d/70-persistent-net.rules.
> 
> In beta 1, /etc/udev/rules.d/70-persistent-net.rules is not being
> created, although I can't figure out why as
> /usr/lib/libDrakX/network/connection/ethernet.pm has not been
> changed.
> 
> I've also noticed that dracut doesn't include
> /etc/udev/rules.d/70-persistent-net.rules in the initrd,
> if it does exist.

Why would it be needed in the initrd unless you actually load the
network modules too (this is possible - see the network module in
dracut) but it's not enabled by default (except in non-hostonly mode and
I agree it should probably copy them in that case... I can make this so).

That said, I'd also be tempted to not include the network module even in
non-hostonly mode for now... perhaps disable the network module when run
via the mkinitrd wrapper... that would likely solve any issues with it
being included in upgrades etc.


> Is there some new method systemd is supposed to be using
> to control the order of nic assignments?

Not really no, but perhaps you're now using NetworkManager and it's
somehow not updating the persistent rules?

Col


-- 

Colin Guthrie
colin(at)mageia.org
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited http://www.tribalogic.net/
Open Source:
  Mageia Contributor http://www.mageia.org/
  PulseAudio Hacker http://www.pulseaudio.org/
  Trac Hacker http://trac.edgewall.org/


More information about the Mageia-dev mailing list