[OmniOS-discuss] Got a larval fix for you, Bob!

Dan McDonald danmcd at omniti.com
Tue Apr 4 15:42:11 UTC 2017


> On Apr 4, 2017, at 9:38 AM, Bob Friesenhahn <bfriesen at simple.dallas.tx.us> wrote:
> 
> No.  At least not necessarily.  But of course it should work.

It should, but I think this problem may go back pre-r151020, hell, it may go back to the genesis of ipkg zones.

Try this to see what I mean:

1.) Run "zlogin -C <zonename>" in a window.

2.) Shutdown the zone.

3.) On one command line:  "zoneadm -z <zonename> boot ; zoneadm -z <zonename> shutdown".

You will see this error on the console:

	INIT: smf(5) repository server not running.

And that's it!

Since shutdown(1M) doesn't bother checking if "init {$initstate}" succeeds, it just returns, leaving the zoneadm & zoneadmd pair to wait and eventually timeout. In this situation, the zone never shuts down, but comes up all the way instead.

Hope this helps,
Dan



More information about the OmniOS-discuss mailing list