[gepu@iogyte.ro: Re: openpty() and jail in RELENG_7]

Vlad GALU dudu at dudu.ro
Sun Nov 11 15:46:25 PST 2007


On 11/12/07, Christian S.J. Peron <csjp at freebsd.org> wrote:
> On Mon, Nov 12, 2007 at 01:14:14AM +0200, Vlad GALU wrote:
> [..]
> >
> >    This one: http://lists.freebsd.org/pipermail/freebsd-stable/2007-November/038054.html
> >    Thanks!
> >
>
> Ah.. ok. At first glance this doesn't look like a problem.  This is actually
> looks like a side effect of devices which support cloning. Even though a device
> has been closed, it's existence will persist within the devfs directory entries.
> devfs should garbage collect this when its required.  But I will confirm.
>

   I tested by setting kern.pts.max to an appropriately small value,
such as 20-30, then opening many ptys from within screen. Even after
closing all of them and exiting screen, the   cleanup wasn't done.
Thanks once again for your attention!
> --
> Christian S.J. Peron
> csjp at FreeBSD.ORG
> FreeBSD Committer
>


-- 
Mahnahmahnah!


More information about the freebsd-stable mailing list