From owner-freebsd-stable@FreeBSD.ORG Wed Nov 7 14:29:41 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E619B16A420 for ; Wed, 7 Nov 2007 14:29:41 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ik-out-1112.google.com (ik-out-1112.google.com [66.249.90.178]) by mx1.freebsd.org (Postfix) with ESMTP id 71B6D13C480 for ; Wed, 7 Nov 2007 14:29:41 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: by ik-out-1112.google.com with SMTP id c21so884832ika for ; Wed, 07 Nov 2007 06:29:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=beta; h=domainkey-signature:received:received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; bh=hl2l8S9+yM8s5xw1cqpLJ7qFq0GTAWCl/j39XYiz2Lc=; b=GUhDLS8TemTrN3dm7rv5kS9IL7a6+DJKRb5ac6v9Jvp6ThIWHVkeSzE28VHIRqCTv9tz/01noFORnL+zCxqqpwwGa+Zt7X9MvxNKgWxnUSrd4e4pQmmdKI7QmoKLmUUU41vUBgyj8lvv2SWcFoxnLKtUXljf1eQoygilMvwLcxc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=beta; h=received:subject:from:to:cc:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer; b=J8wwQj07WSToR2bhs8hBoQkVBhD7XMw8kbNwdidVLIik9FONT26VIcD/mzIfh/pKshh3dAwTkjGzjbl+b1TxbvBteJUtvASaX/VEGgnp3pZEPklHN+DZrZCa3kh31XH8GVFqWASDZbT3u0E7AB2zWTXgp1QlJ4JEIFBuYg0gfVU= Received: by 10.150.206.1 with SMTP id d1mr606894ybg.1194445765713; Wed, 07 Nov 2007 06:29:25 -0800 (PST) Received: from ?127.0.0.1? ( [217.206.187.79]) by mx.google.com with ESMTPS id 35sm209368nfu.2007.11.07.06.29.23 (version=SSLv3 cipher=RC4-MD5); Wed, 07 Nov 2007 06:29:24 -0800 (PST) From: Tom Evans To: Vlad GALU In-Reply-To: References: <20071106201948.GA6590@iogyte.ro> <1194432178.64797.42.camel@localhost> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-bnF3vz36psKZxWM9FZf4" Date: Wed, 07 Nov 2007 14:29:22 +0000 Message-Id: <1194445762.64797.47.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.10.2 FreeBSD GNOME Team Port Cc: freebsd-stable@freebsd.org, Dan Epure Subject: Re: openpty() and jail in RELENG_7 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 14:29:42 -0000 --=-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 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--