[jail] jls shows dead jails too?

2006/04/15
By

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:

AFAIK, there is no solution right now. But it didn’t impact other jail system anyway.

Updated 2007/01/12: Ed Schouten wrote this.

One Response to [jail] jls shows dead jails too?

  1. Ed Schouten on 2007/01/05 at 11:23 下午

    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.

發表迴響

您的電子郵件位址並不會被公開。 必要欄位標記為 *

*


*