Bart Smaalders writes:
> > I don't think we have complete freedom to move things out of
> > postinstall and class action scripts and into SMF post-reboot
> > services.
> 
> Sparse root zones share their RO files w/ the global zone, so
> those actions could be handled when the global zone boots.

Only if the configuration of the global zone (as seen by that script)
is essentially the same as the non-global zone in question.  If there
are differences, then the non-global zone is left flapping in the
breeze, and there's not much we can do about it but force users into
using whole-root zones.  (As, in fact, we've done in several such
cases.)

> The other case is the read-only root/usr situation, which needs work.

Or, rather, "just doesn't work."

I think the best alternative in some of these cases is a redesign of
the subsystem in question so that it doesn't need to do either sort of
fix-up after package install.

-- 
James Carlson, Solaris Networking              <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

Reply via email to