David Bustos writes: > > The propose is that first we boot up with standalone. and then when NWAM > > connectes to some network, it switches to a networked profile. > > What if /usr is an NFS mount? That's one of the reasons we plumb the > network so early today.
I'm not arguing at all that we shouldn't attempt to plumb up network interfaces as soon as we safely can do so. I'm arguing that (a) there's no way to know whether we really have _sufficient_ external connectivity to allow any particular application to run correctly and (b) since we don't and can't know this, it doesn't make sense to have an SMF milestone that somehow represents this state. Would it be harmful to allow NFS to attempt to mount /usr after IP filters and IPsec are configured, but before we know that the network is usable? If so, then we're already in that "harmful" state, because there's just no way for the system to know a priori whether any packet sent out will actually be met with a useful reply coming back. You can't know until you try. That's true when any or all of the interfaces are up, so it seems particularly pointless to me to optimize for the case where all physical interfaces are down. -- James Carlson, KISS Network <james.d.carlson at sun.com> Sun Microsystems / 1 Network Drive 71.232W Vox +1 781 442 2084 MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677