[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#340935: netcfg: hotplugging interfaces no longer works; no network after reboot



Package: netcfg
Version: 1.17
Severity: serious
Justification: Makes package unsuitable for release

Now that udev is enabled in d-i for kernel 2.6.14, regular interfaces get 
recognized as being "hotpluggable".

However, as udev no longer uses hotplug, the current configuration set up 
by netcfg no longer works for hotplugging interfaces.
Reason is that ifup is no longer called as (AFAICT)
   ifup eth0=hotplug
but rather
   ifup --allow=hotplug eth0

This results in the system having no external networking after the reboot. 
I see this for example in a default vmware installation that has a 
pcnet32 eth0 interface.

After some testing I've determined that the following configuration (in
/etc/network/interfaces) does work:
<snip>
mapping eth0
        script grep
        map eth0

allow-hotplug eth0
iface eth0 inet dhcp
</snip>

NOTE: I'm not sure if this is the correct/optimal solution.

This new config will probably not work if package hotplug _is_ installed. 
Question is if netcfg should also still support that situation.

Can a configuration be found that will work for both situations?

Attachment: pgpAKs1Y20Loe.pgp
Description: PGP signature


Reply to: