Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Feb 2006 02:16:45 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        "Chad Leigh -- Shire.Net LLC" <chad@shire.net>
Cc:        current@FreeBSD.org, Kris Kennaway <kris@obsecurity.org>
Subject:   Re: jail leak
Message-ID:  <20060204071645.GA21934@xor.obsecurity.org>
In-Reply-To: <E7FFC457-C96E-4782-9BB4-485DD63C116E@shire.net>
References:  <20060204064457.GA20820@xor.obsecurity.org> <E7FFC457-C96E-4782-9BB4-485DD63C116E@shire.net>

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

--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--



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