Index ¦ Archives ¦ Atom

Opensolaris zone fixes

Whenever I create a zone on Solaris, I have a couple of things I always seem to have to fix beyond the usual configuration. Since I don't do it that often, I have to look them up repeatedly, so I thought I'd just put them in this post and maybe that'll help me remember and I can just look them up in one place.

First, I always need to change the permissions on /dev/ptmx. Before you change the permissions to 666 on this STREAMs master clone device, the shell won't have any terminal control, so:

chmod 666 /dev/ptmx

Second, install SUNWuiu8 to get rid of an annoying message when you log in via ssh:

sshd[4860]: [ID 800047 auth.error] error: Can't convert to UTF-8: Cannot convert the local codeset strings to UTF-8

I think this is a missing dependency for SunSSH.

So,

pfexec pkg install SUNWuiu8

I'll add more as I think about it.

EDIT:

Sure enough, even with OpenIndiana 151a, I still need to change permissions on the /dev/ptmx device file.
The SUNWuiu8 problem is gone, though. It appears to already be installed now.

root@nebula:/home/mcclung# pkg list system/library/iconv/utf-8 NAME (PUBLISHER)                              VERSION         STATE      UFOXI system/library/iconv/utf-8                    0.5.11-0.151.1  installed  -----

© Scott McClung. Built using Pelican. Theme by Giulio Fidente on github.