Bugzilla – Bug 150308
NetControl does not switch to alternative interface if active interface is removed
Last modified: 2007-06-05 09:37:37 UTC
Two interfaces configured with STARTMODE=ifplugd and IFPLUGD_PRIORITY. It one of these are removed (e.g. pcmcia card unplugged) then the other one will not be activated automatically. This is because getcfg cannot determine the config name properly after the interface has been unregistered. Without config name we canot get STARTMODE and PRIORITY.
The only way to solve this now is that netcontrol saves the configuration names for all used interfaces. if-<iface> and ifup-<iface> in /dev/shm/sysconfig cannot be used, because the are also removed when the interface goes. Therefore we write another set of files config-<iface> which are never removed but updated as often as possible.
fixed in svn. will go to beta4