From owner-freebsd-questions@FreeBSD.ORG Tue Apr 4 17:47:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2F85816A426 for ; Tue, 4 Apr 2006 17:47:56 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 70ACA43D6E for ; Tue, 4 Apr 2006 17:47:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 5AFC11A3C19; Tue, 4 Apr 2006 10:47:51 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 8435251DA0; Tue, 4 Apr 2006 13:47:50 -0400 (EDT) Date: Tue, 4 Apr 2006 13:47:50 -0400 From: Kris Kennaway To: Daniel Johansson Message-ID: <20060404174750.GA80104@xor.obsecurity.org> References: <44328EB2.6080407@donnex.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="YZ5djTAD1cGYuMQK" Content-Disposition: inline In-Reply-To: <44328EB2.6080407@donnex.net> User-Agent: Mutt/1.4.2.1i Cc: freebsd-questions@freebsd.org Subject: Re: jls shows dead jails too? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 17:47:56 -0000 --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Apr 04, 2006 at 05:20:18PM +0200, Daniel Johansson wrote: > I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to=20 > list my jails it shows all my started jails. >=20 > The problem is that when I kill a jail with kill -TERM -1, thats what=20 > the man page tells me to use, it still is listed when I run jls. Why is= =20 > that and is there any way to clear the jls list? Where does jls get the= =20 > list of the jails? Either a process in the jail is still running, or it leaked resources while it was running (e.g. ptys - this is a known bug on everything prior to 7.0). Kris --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEMrFFWry0BWjoQKURAtMiAKCABy4WTada53g3fCX6b6k/kGvRfgCeJ/wP scEPM+h33M1RkPZDNGytPLY= =d9/t -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--