From owner-freebsd-current@FreeBSD.ORG Sat Feb 4 07:16:47 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45DCD16A425 for ; Sat, 4 Feb 2006 07:16:47 +0000 (GMT) (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 EA87143D48 for ; Sat, 4 Feb 2006 07:16:46 +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 AD9CC1A3C1E; Fri, 3 Feb 2006 23:16:46 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 103755155A; Sat, 4 Feb 2006 02:16:46 -0500 (EST) Date: Sat, 4 Feb 2006 02:16:45 -0500 From: Kris Kennaway To: "Chad Leigh -- Shire.Net LLC" Message-ID: <20060204071645.GA21934@xor.obsecurity.org> References: <20060204064457.GA20820@xor.obsecurity.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Qxx1br4bt0+wmkIi" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: current@FreeBSD.org, Kris Kennaway Subject: Re: jail leak X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 07:16:47 -0000 --Qxx1br4bt0+wmkIi Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 04, 2006 at 12:13:44AM -0700, Chad Leigh -- Shire.Net LLC wrote: >=20 > On Feb 3, 2006, at 11:44 PM, Kris Kennaway wrote: >=20 > >I changed the package build scripts to build in jails instead of > >chroots, but I am seeing what look like leaks in the list of jails: > > > >dosirak# jls > > JID IP Address Hostname Path > > 271 10.0.225.48 jail-57648 /c/pkgbuild/6/=20 > >chroot/57648 > > 112 10.0.119.181 jail-30645 /c/pkgbuild/6/=20 > >chroot/30645 > >dosirak# pgrep -lfj 112 > >dosirak# jls > > JID IP Address Hostname Path > > 112 10.0.119.181 jail-30645 /c/pkgbuild/6/=20 > >chroot/30645 > > > >i.e. jail 112 has nothing running inside it, but it is still hanging > >around. Is there a good reason for this, or is it in fact a leak? >=20 > I cannot describe exactly how I have seen similar but I have seen =20 > similar "phantom" jails and it is always when I have done something =20 > wrong (like set up a jail on a non existent IP or had some mounts in =20 > the jail space that had problems etc). Well, AFAICT these jails all ran successfully. Kris --Qxx1br4bt0+wmkIi Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFD5FTdWry0BWjoQKURAn21AJ0YaFsZlEIw8GYdXdBCJ2W/xgZkQACgoPD9 WDcjRF/VGWxP6Sj1ZlR6Lf0= =Trj7 -----END PGP SIGNATURE----- --Qxx1br4bt0+wmkIi--