Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Mar 2002 10:07:39 -0800 (PST)
From:      Patrick Thomas <root@utility.clubscholarship.com>
To:        Leo Bicknell <bicknell@ufp.org>
Cc:        <freebsd-questions@freebsd.org>
Subject:   Re: cannot get more than 32 PTYs in 4.4-RELEASE
Message-ID:  <20020306100412.V25030-100000@utility.clubscholarship.com>
In-Reply-To: <20020306142106.GA78653@ussenterprise.ufp.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Thank you for all your help and explanation.  I am cc'ing this to the list
one last time so that this conclusion gets posted and archived, and people
searching for this topic in the future can get the full conclusion
themselves.

Conclusion:  freebsd 4.4-RELEASE does not come built automatically with
256 ptys.  If you add 256 ptys, you will need to recompile `screen` first
before screen will use them at all, BUT more importantly, the built-in
`sshd` in 4.4-RELEASE also needs to be rebuilt to take advantage of more
PTYs.  This is hard because sshd is part of the installed system, so you
have to remove it and rebuild it to take advantage of any new PTYs that
you have added to your 4.4-RELEASE system.

I have verified that this is NOT the case in 4.5-RELEASE.  4.5-RELEASE has
sshd built to assume 256 ptys, so if you go ahead and add that many, it
will use them.  screen seems to use extra PTYs added after the fact as
well in 4.5.

--PT

> In a message written on Tue, Mar 05, 2002 at 08:50:30PM -0800, Patrick Thomas wrote:
> > So does that mean that, in the same manner that screen needs to be
> > reinstalled to understand the new number of PTYs available, openSSH also
> > needs to be reinstalled to understand the new number of PTYs available ?
>
> Probably.  I suspect whatever version you're running is right after
> a new version of OpenSSH was imported.  It defaults to 32 PTY's.
> It's configure script (not used in the FreeBSD build process) checks
> for more.  Someone probably didn't update it, some code got out,
> and then it was fixed later.
>
> Really anything dealing with PTY's and not part of the base system
> probably needs to be rebuilt.  The base system should be all built
> for 256.  Obviously you found an error in that.
>
> --
>        Leo Bicknell - bicknell@ufp.org - CCIE 3440
>         PGP keys at http://www.ufp.org/~bicknell/
> Read TMBG List - tmbg-list-request@tmbg.org, www.tmbg.org
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020306100412.V25030-100000>