Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 Nov 2007 14:29:22 +0000
From:      Tom Evans <tevans.uk@googlemail.com>
To:        Vlad GALU <dudu@dudu.ro>
Cc:        freebsd-stable@freebsd.org, Dan Epure <gepu@iogyte.ro>
Subject:   Re: openpty() and jail in RELENG_7
Message-ID:  <1194445762.64797.47.camel@localhost>
In-Reply-To: <ad79ad6b0711070621j75b703fakc05dd93a8dcc0500@mail.gmail.com>
References:  <20071106201948.GA6590@iogyte.ro> <1194432178.64797.42.camel@localhost> <ad79ad6b0711070621j75b703fakc05dd93a8dcc0500@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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 <tevans.uk@googlemail.com> wrote:
> > On Tue, 2007-11-06 at 22:19 +0200, Dan Epure wrote:
> > > Hi All,
<snip>
> > > 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/freebsd-jail/2007-October/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--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1194445762.64797.47.camel>