[jail] jls shows dead jails too?
Take this discussion thread as post title. Last night Eintisy said jls sometimes shows stoped jail. And we can’t even find a solution. So just collecting some (might be) usefull informations here:
- freebsd-queions: jls shows dead jails too?
- kern/89528 : [jail] impossible to kill a jail
- freebsd-current: jail leak
AFAIK, there is no solution right now. But it didn’t impact other jail system anyway.
Updated 2007/01/12: Ed Schouten wrote this.















一月 5th, 2007 at 11:23 pm
Hello,
I think I may have found the solution for this bug. The jail leaks are caused by pty’s (well, actually device nodes in general) that get created inside a jail. They still hold references to ucreds belonging to the prison.
I made a small patch that adds a function to the ucred code to discard the reference to the prison to fix the leaking. Please see my website for more details and a patch.