misc/89528: impossible to kill a jail
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Sat Dec 3 09:40:06 GMT 2005
The following reply was made to PR misc/89528; it has been noted by GNATS.
From: "Bjoern A. Zeeb" <bzeeb-lists at lists.zabbadoz.net>
To: Philippe Lang <philippe.lang at attiksystem.ch>
Cc: bug-followup at 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
More information about the freebsd-bugs
mailing list