On Sun, Feb 16, 2003 at 04:15:51PM +0900, JINMEI Tatuya / ?$B?@L@C#:H?(B wrote: > >>>>> On Fri, 14 Feb 2003 17:43:57 +0000 (GMT), > >>>>> Abdul Basit <[EMAIL PROTECTED]> said: > > > on freebsd 5.0-Release, pim6sd crashes if i execute > > ifconfig gifX destroy if it is running in background, > > i need to restart it manually. > > > pim6sd display 'check_vif_state' Device not configured > > and exits. any workaround ? > > A workaround is not to destroy an interface when pim6sd is running on > the interface. > > Note that this kind of trouble is not specific to pim6sd. Dynamic > interface creation/deletion is a big architectural change to the > traditional BSD kernel, and I bet there are many other applications > affected by such an operation.
The user of the destroy command of ifconfig is expected to be paying attention. This is the functionaly equivalent of yanking a NIC out of its slot. It is the case that applications that can't handle this are broken and need to be fixed becase you shouldn't count on any interfaces staying around. Virtually everything is on a bus that might be detachable these days. ISA and EISA are pretty much the only exceptions (OK, so we don't actually support hot plug PCI, but that's an implementation defect.) -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
msg08314/pgp00000.pgp
Description: PGP signature