openpty() and jail in RELENG_7
tevans.uk at googlemail.com
Wed Nov 7 06:29:42 PST 2007
On Wed, 2007-11-07 at 16:21 +0200, Vlad GALU wrote:
> On 11/7/07, Tom Evans <tevans.uk at googlemail.com> wrote:
> > On Tue, 2007-11-06 at 22:19 +0200, Dan Epure wrote:
> > > Hi All,
> > > I think the problem is related to restrictions imposed by the jail.
> > >
> > > Please advise.
> > >
> > > Gepu
> > This is because you haven't been allocated a pty inside your jail.
> > Enable sshd inside your jail, ssh to your jail (which will allocate you
> > a pty). Then from inside your jail, you can use any pty-using
> > application you wish.
> > I am presuming you are doing something like 'jexec 1 /bin/csh' or
> > similar, and I'm only really repeating Xin Li's advice to me.
> > Cheers
> > Tom
> > 
> > http://lists.freebsd.org/pipermail/freebsd-jail/2007-October/000106.html
> I'm chiming in to signal a possibly related problem. Logging in
> and out via sshd behaves normally (ie: the ptys are cleaned up
> accordingly) but opening virtual consoles in screen and then closing
> them does not, thus leading to starvation.
I can confirm this also occurs in our jails on 6.2-RELEASE-p5.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20071107/10980677/attachment.pgp
More information about the freebsd-stable