jail leak

Chad Leigh -- Shire.Net LLC chad at shire.net
Fri Feb 3 23:13:51 PST 2006


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





More information about the freebsd-current mailing list