On Mon, May 10, 2010 at 11:16:58AM -0700, keegam wrote:
> Hi all. I've been fumbling around with this issue for a few days now and I'm 
> not getting anywhere. I build a linux branded zone on Solaris 10 (not 
> opensolaris), from this image: 
> http://hub.opensolaris.org/bin/view/Community+Group+zones/brandz_downloads
>
> I followed the tutorial here: 
> http://hub.opensolaris.org/bin/view/Community+Group+zones/brandz_install and 
> I got my zone installed.
>
> However, when I try to ssh in to my zone, I get the following error:
>
> ssh r...@linux
> r...@linux's password:
> PTY allocation request failed on channel 0
>
>
> These entries are in the /var/log/messages file:
>
> May 10 14:08:23 dstolweb01-php5c sshd[1155]: Accepted password for root from 
> 10.68.1.137 port 43176 ssh2
> May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: openpty: No such file or 
> directory
> May 10 14:08:23 dstolweb01-php5c sshd[1155]: error: session_pty_req: session 
> 0 alloc failed
> May 10 14:08:23 dstolweb01-php5c sshd(pam_unix)[1155]: session opened for 
> user root by (uid=0)
>
>
>
> >From searching google, the accepted mitigation is to simply create the 
> >/dev/ptmx dir and chmod it to 666. However, when I try to do that (both in 
> >the zone and the parent), I get permission denied.
>
> Does anyone have a solution to this?

/dev/ptmx should NOT be a directory.  it's a device file.  you can
verify the existance of this device in the global zone by doing:
        ls -l /dev/brand/lx/ptmx
        ls -lL /dev/brand/lx/ptmx

and to check if it exists in your lx branded zone do:
        ls -l <zonepath>/dev/ptmx

ed
_______________________________________________
brandz-discuss mailing list
[email protected]

Reply via email to