From owner-freebsd-bugs@FreeBSD.ORG Sat Dec 3 09:40:06 2005 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AB7316A41F for ; Sat, 3 Dec 2005 09:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2595643D6E for ; Sat, 3 Dec 2005 09:40:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id jB39e6ql090415 for ; Sat, 3 Dec 2005 09:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id jB39e6X4090414; Sat, 3 Dec 2005 09:40:06 GMT (envelope-from gnats) Date: Sat, 3 Dec 2005 09:40:06 GMT Message-Id: <200512030940.jB39e6X4090414@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org From: "Bjoern A. Zeeb" Cc: Subject: RE: misc/89528: impossible to kill a jail X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Bjoern A. Zeeb" List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Dec 2005 09:40:06 -0000 The following reply was made to PR misc/89528; it has been noted by GNATS. From: "Bjoern A. Zeeb" To: Philippe Lang Cc: bug-followup@FreeBSD.org Subject: RE: misc/89528: impossible to kill a jail Date: Sat, 3 Dec 2005 09:31:30 +0000 (UTC) On Fri, 25 Nov 2005, Philippe Lang wrote: >> I just checked with my own machine where i had restarted a jail two days >> ago and it's still listed in jls though the sockets are gone (seen from >> the base system kind of view of course). > > Same situation here. I tried to reproduce the problem on a second box with HEAD from some days ago and failed up to now. What I have found so far doing live system debugging ist that on the machine showing this problem the initial jail (id 1) that should be gone already still has a reference count of 2: (kgdb) print allprison->lh_first->pr_list->le_next->pr_list->le_next->pr_list->le_next->pr_list->le_next->pr_list->le_next->pr_id $9 = 1 (kgdb) print allprison->lh_first->pr_list->le_next->pr_list->le_next->pr_list->le_next->pr_list->le_next->pr_list->le_next->pr_ref $10 = 2 So it seems we are leaking some creds somewhere. What I should know from you: a) which branch are you running? RELENG_{5,6} or HEAD b) if it's not a RELEASE which exact build dates? (something like uname -s -v would be a good starting point) c) are you running with any patches like multi-IP jail patches? d) Do you know a way to successfully reproduce it all the time? Greetings Bjoern -- Bjoern A. Zeeb bzeeb at Zabbadoz dot NeT