Package: ifupdown
Version: 0.7~alpha5+really0.6.16

Running ifup $DEV for a network device that does not yet exist in the
kernel, will be created by autoloading the netdev-$DEV module and will
be renamed by udev persistent-net.rules, incurs a race-condition: udev
does not instantaneously rename the device and before it does the
scripts may fail because it has the wrong name.

(To reproduce: make sure all Ethernet kernel modules are unloaded,
configure a network device under the name "eth7" in
/etc/network/interfaces with some arbitrary static ip, setup a module
alias netdev-eth7 to the appropriate Ethernet module in modprobe.d and
a udev persistent net rule indicating that this should be called
"eth7".  Then run "ifup eth7".)

Something like "udevadm settle" would be appropriate to avoid this.
(Note however that it must be run after whatever causes the kernel
module to be loaded.)

-- 
     David A. Madore
   ( http://www.madore.org/~david/ )



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to