Re: Zombie Jails - why don't they disappear?

From: Ed Schouten <ed_at_fxq.nl>
Date: Wed, 21 Feb 2007 22:36:19 +0100
* Josef Karthauser <joe_at_tao.org.uk> wrote:
> Any ideas why they are still hanging around in the jail list?

The problem is quite complex:

- pty's aren't deallocated in the kernel anymore
- because pty device nodes cannot be deallocated before it has no
  process groups bound to it, pty's wouldn't even be deallocated in a
  lot of situations (kill sshd).

The easiest fix would be to replace the make_dev_cred() call in
tty_pty.c with make_dev(). This should at least solve the jail leak.

-- 
 Ed Schouten <ed_at_fxq.nl>
 WWW: http://g-rave.nl/

Received on Wed Feb 21 2007 - 21:08:18 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:05 UTC