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

Bug#340935: Netcfg - hotplugging config no longer works with 2.6.14 + udev



> 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?


Hotplug itself was modified to use the "allow" mechanism.

    hotplug (0.0.20040329-25) unstable; urgency=low
    ...
     * NET_AGENT_POLICY is deprecated. use ifupdown "allow" mechanism instead.
       closes: Bug#303383

So, it should suffice if netcfg is modified to write /etc/network/interfaces
that employ the new "allow" mechanism, in the manner you suggested.
-- 
Thomas Hood



Reply to: