Bug#35704: libc6: ssh fails to allocate a pseudo tty
On Wed, Apr 07, 1999 at 03:44:07PM -0400, Zack Weinberg wrote:
> On Wed, 7 Apr 1999 12:34:19 -0600, Erik Andersen wrote:
> >>
> >> This sounds like the problem where openpty() sees /dev/ptmx, tries to
> >> use it, fails because /dev/pts isn't populated, and gives up. I bet
> >> your problem will go away if you either remove /dev/ptmx, or mount
> >> devptsfs on /dev/pts.
> >>
> >> Libc should probably be tweaked to fall back to the old pty devices if
> >> /dev/ptmx exists but /dev/pts is empty. I'll look into it.
My opinion here: Linux right now supports both ptmx and BSD style
pty's. If ptmx is attempted but fails, we should fall back to
allocating a BSD pty if possible. Any reason NOT to do this?
Dan
/--------------------------------\ /--------------------------------\
| Daniel Jacobowitz |__| CMU, CS class of 2002 |
| Debian GNU/Linux Developer __ Part-Time Systems Programmer |
| dan@debian.org | | drow@cs.cmu.edu |
\--------------------------------/ \--------------------------------/
Reply to: