From owner-freebsd-current@FreeBSD.ORG Sat Feb 4 07:13:50 2006 Return-Path: X-Original-To: current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3B8216A420 for ; Sat, 4 Feb 2006 07:13:50 +0000 (GMT) (envelope-from chad@shire.net) Received: from hobbiton.shire.net (mail.shire.net [166.70.252.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id 861D043D6A for ; Sat, 4 Feb 2006 07:13:47 +0000 (GMT) (envelope-from chad@shire.net) Received: from [67.161.222.227] (helo=[192.168.99.68]) by hobbiton.shire.net with esmtpa (Exim 4.51) id 1F5Hc9-000NjD-5O; Sat, 04 Feb 2006 00:13:46 -0700 In-Reply-To: <20060204064457.GA20820@xor.obsecurity.org> References: <20060204064457.GA20820@xor.obsecurity.org> Mime-Version: 1.0 (Apple Message framework v746.2) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: Content-Transfer-Encoding: 7bit From: "Chad Leigh -- Shire.Net LLC" Date: Sat, 4 Feb 2006 00:13:44 -0700 To: Kris Kennaway X-Mailer: Apple Mail (2.746.2) X-SA-Exim-Connect-IP: 67.161.222.227 X-SA-Exim-Mail-From: chad@shire.net X-SA-Exim-Scanned: No (on hobbiton.shire.net); SAEximRunCond expanded to false Cc: current@FreeBSD.org Subject: Re: jail leak X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Feb 2006 07:13:51 -0000 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