[blfs-support] Persistent device names problem

Bruce Dubbs bruce.dubbs at gmail.com
Tue Nov 6 07:00:41 PST 2012

pete wrote:

> I copied a tarball of LFS-7.2 to a spare partition, uninstalled
> udev-188 and then installed udev-173 as you suggested.
> I also needed to install various bootscripts from LFS-7.0, but
> eventally I could boot up the new build.
> The interfaces eth0 and eth1 were both configured correctly.
> So the problem appears to be with udev-188.
> I returned to debugging the original LFS-7.2 build with udev-188.
> I decided to change the "NAME" sections in 70-persistent-net.rules
> from
>       NAME="eth0" and NAME="eth1"
> to
>       NAME="eth2" and NAME="eth3"
> to more easily see the effects of any changes I was about to make.
> To my surprise, when I rebooted, both interfaces were recognised
> and 70-persistent-net.rules was always run as required.
> I created ifconfig.eth2 and ifconfig.eth3, rebooted and both interfaces
> were configured correctly.
> I have tried using several different interface numbers in
> 70-persistent-net.rules and they all work OK. But for some reason it
> does not like the numbers 0 and 1.
> This is a workaround I can live with, but it would be interesting
> to find out the cause of the problem.

About the only thing I can think of is to start reading the udevd code 
and figure out what events it is getting and what it is doing.

   -- Bruce

More information about the blfs-support mailing list