Date: Sat, 3 Dec 2005 09:40:06 GMT From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> To: freebsd-bugs@FreeBSD.org Subject: RE: misc/89528: impossible to kill a jail Message-ID: <200512030940.jB39e6X4090414@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/89528; it has been noted by GNATS.
From: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To: Philippe Lang <philippe.lang@attiksystem.ch>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200512030940.jB39e6X4090414>
