Re: jail leak

From: Kris Kennaway <kris_at_obsecurity.org>
Date: Sat, 4 Feb 2006 02:16:45 -0500
On Sat, Feb 04, 2006 at 12:13:44AM -0700, Chad Leigh -- Shire.Net LLC wrote:
> 
> On Feb 3, 2006, at 11:44 PM, Kris Kennaway wrote:
> 
> >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/ 
> >chroot/57648
> >   112  10.0.119.181    jail-30645                    /c/pkgbuild/6/ 
> >chroot/30645
> >dosirak# pgrep -lfj 112
> >dosirak# jls
> >   JID  IP Address      Hostname                      Path
> >   112  10.0.119.181    jail-30645                    /c/pkgbuild/6/ 
> >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?
> 
> I cannot describe exactly how I have seen similar but I have seen  
> similar "phantom" jails and it is always when I have done something  
> wrong (like set up a jail on a non existent IP or had some mounts in  
> the jail space that had problems etc).

Well, AFAICT these jails all ran successfully.

Kris

Received on Sat Feb 04 2006 - 06:16:47 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:51 UTC