Re: zone shutdown



Frank Cusack wrote:

Does 'zoneadm -z halt' do a clean shutdown (run svc stop methods)?
Does init 0 in the global zone do a clean shutdown in non-global zones.

Interesting question. Zones are rebooted/halted VERY fast IMO. You can find out
this by writing hook in some /lib/svc/method/<script> stop routines like:

echo '$0 has been called' > /tmpfile

Let's try ... Hm ... no it doesn't. :-) (tried with
/lib/svc/method/smtp-sendmail, works if I do svcadm disable -t by hand)


--
Man is something that shall be overcome.
-- Friedrich Nietzsche
.