James Carlson wrote: > I'm sponsoring this fast-track request for Jack Meng. The timer is > set to 10/24/2008. > > Background > > By default, dhcpagent "canonizes" interfaces under its control on > receipt of SIGTERM. This means that it will reset the IP address > back to 0.0.0.0 during shutdown. This happens regardless of whether > dhcpagent is configured to release or drop leases.
I'm sure this was considered but why bother with the reset to 0.0.0.0 on shutdown at all ? What does it achieve ? If that wasn't done would there be any need for this special knowlege of iSCSI (and NFS) both of which seem very "icky" but if needs must. What breaks if dhcpagent does not reset back to 0.0.0.0 on shutdown ? Could it still send the DHCP release to the DHCP server but not reset the interface ? When is dhcpagent going to call the new ioctl ? What are the responses it gets back and what circumstances ? What if we have a "mixed" boot environment where one size of the mirror in the ZFS root pool is local disk and the other is iSCSI ? Does that count as being ISCSI_IS_ACTIVE? What if there are no "boot" pools/filesystems under iSCSI but there are other active iSCSI devices ? Is this only if there is an an iSCSI initiator active, what about targets ? [ Though I wouldn't expect those machines to be iSCSI boot ]. -- Darren J Moffat