jail leak

Kris Kennaway kris at obsecurity.org
Fri Feb 3 23:16:47 PST 2006


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20060204/0a1c8e98/attachment.bin


More information about the freebsd-current mailing list