[OmniOS-discuss] OmniOS r151016 zone has difficulties shutting down

Kevin Swab Kevin.Swab at ColoState.EDU
Thu Dec 31 16:19:20 UTC 2015


You can work round this by escaping the '~' character.  Try typing '~~.'
to exit from 'zlogin -C'.  Here's the relevant section from the ssh man
page:

>  A single tilde character can be sent as ~~, or by following the tilde
> with a character other than those described above. The escape character
> must always follow a newline to be interpreted as special. The escape
> character can be changed in configuration files or on the command line.

HTH, Kevin


On 12/31/2015 08:45 AM, Bob Friesenhahn wrote:
> I would like to share a idea regarding how the newly created zone may
> have difficulties shutting down.
> 
> I am accessing the system via ssh which uses '~.' to terminate the ssh
> session.  This is also the default shutdown sequence for 'zlogin -C'.
> The idea is that after doing some initial administration using 'zlogin
> -C', the "~." sequence was used to quit it.  This terminates the ssh
> session rather than the zone console login.  While subsequent 'zlogin
> -C' works, it may be that the unclean/violent termination of the zone
> console login has left behind residue which prevents the zone from
> shutting down.
> 
> Yesterday I created a new zone, which had no problems shutting down. I
> did not use 'zlogin -C' (only ordinary 'zlogin') with this new zone.
> 
> It may be that 'zlogin -e ! -C' and then using '!.' to terminate the
> zlogin would avoid the problem.
> 
> Regardless, this would still be a bug.
> 
> Bob

-- 
-------------------------------------------------------------------
Kevin Swab                          UNIX Systems Administrator
ACNS                                Colorado State University
Phone: (970)491-6572                Email: Kevin.Swab at ColoState.EDU
GPG Fingerprint: 7026 3F66 A970 67BD 6F17  8EB8 8A7D 142F 2392 791C


More information about the OmniOS-discuss mailing list