Quoth UNIX admin on Thu, Sep 04, 2008 at 08:33:55AM -0700:
> I'd like to generate a .flar archive of the system via SMF (the method
> would then automatically disable the service).
> 
> How can I make sure that all services have started, and that the
> system is in a "quiet state"? Is testing for the "multi-user-server"
> milestone enough?

No, because services can depend on multi-user-server.  In fact, the
service which starts zones does.  There isn't an easy way to do this.
One way would be to check that the state of all services reported by
"svcs" are either "legacy_run" or "online".  Though you would neet to
make an exception for services which temporarily disable themselves.
And this wouldn't be stable, since "svcs" output is unstable.  Feel free
to file an RFE.


David

Reply via email to