This is a discussion on Re: openpty() and jail in RELENG_7 - FreeBSD ; --=-bnF3vz36psKZxWM9FZf4 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Wed, 2007-11-07 at 16:21 +0200, Vlad GALU wrote: > On 11/7/07, Tom Evans wrote: > > On Tue, 2007-11-06 at 22:19 +0200, Dan Epure wrote: > > > Hi All, > > > I ...
--=-bnF3vz36psKZxWM9FZf4
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
On Wed, 2007-11-07 at 16:21 +0200, Vlad GALU wrote:
> On 11/7/07, Tom Evanswrote:
> > 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[1].
> >
> > Cheers
> >
> > Tom
> >
> > [1]
> > http://lists.freebsd.org/pipermail/f...er/000106.htm=
l
> >
> >
>=20
> 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.
>=20
I can confirm this also occurs in our jails on 6.2-RELEASE-p5.=20
Tom
--=-bnF3vz36psKZxWM9FZf4
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (FreeBSD)
iD8DBQBHMcu+lcRvFfyds/cRAqI3AJ90K2C373c/T1Xa9tI3P3joTulgQACcDhJ4
8x1DUhjWQyTwZ97SMo/7gYo=
=QH7g
-----END PGP SIGNATURE-----
--=-bnF3vz36psKZxWM9FZf4--