Package: hw-detect
Version: 1.38
Severity: minor

After the first hw-detection (ethdetect) run for networking (mini.iso) 
using 2.6.16 kernel and udev, I end up with the following in
/etc/network/devhotplug:
lo
eth0
eth1
lo
eth0
eth1
eth0
eth1
lo

It looks like hw-detect is somewhat redundant in creating this file, or at 
least not idempotent:
./hotplug-pcmcia.sh:20: mainline
      echo $INTERFACE >>/etc/network/devhotplug
./net-hotplug.sh:19: mainline
      echo "$INTERFACE" >>/etc/network/devhotplug
./hw-detect.sh:697 - gen_pcmcia_devnames()
      echo "$dev" >> /etc/network/devhotplug
./hw-detect.sh:725: function cardbus_check_netdev()
      echo $(basename $netdev) >> /etc/network/devhotplug

It may also be that the duplication is caused by the fact that
udevsynthesize is called/executed multiple times.


I also doubt that it is correct that 'lo' is included as a hotpluggable 
interface.

Attachment: pgp1IebvyPNJp.pgp
Description: PGP signature

Reply via email to