jls shows dead jails too?

Kris Kennaway kris at obsecurity.org
Tue Apr 4 17:47:56 UTC 2006


On Tue, Apr 04, 2006 at 05:20:18PM +0200, Daniel Johansson wrote:
> I'm setting up a few jails on my FreeBSD 6.0 box and when I run jls to 
> list my jails it shows all my started jails.
> 
> The problem is that when I kill a jail with kill -TERM -1, thats what 
> the man page tells me to use, it still is listed when I run jls. Why is 
> that and is there any way to clear the jls list? Where does jls get the 
> list of the jails?

Either a process in the jail is still running, or it leaked resources
while it was running (e.g. ptys - this is a known bug on everything
prior to 7.0).

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20060404/453b164f/attachment.pgp


More information about the freebsd-questions mailing list