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

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

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

Chad

---
Chad Leigh -- Shire.Net LLC
Your Web App and Email hosting provider
chad at shire.net






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E7FFC457-C96E-4782-9BB4-485DD63C116E>