NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: port-sun3/57741: sshd fails to open a PTY on NetBSD/sun3



The following reply was made to PR port-sun3/57741; it has been noted by GNATS.

From: Jason Thorpe <thorpej%me.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: port-sun3%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost
Subject: Re: port-sun3/57741: sshd fails to open a PTY on NetBSD/sun3
Date: Fri, 1 Dec 2023 14:35:07 -0800

 > On Dec 1, 2023, at 12:49 PM, Jason Thorpe <thorpej%me.com@localhost> wrote:
 >=20
 >>=20
 >>> Category:       port-sun3
 >>> Responsible:    port-sun3-maintainer
 >>> Synopsis:       sshd fails to open a PTY on NetBSD/sun3
 >>> Arrival-Date:   Fri Dec 01 20:45:00 +0000 2023
 >>=20
 >=20
 > Right, so the problem is that the install script that sun3 uses =
 doesn=E2=80=99t add an fstab entry for ptyfs, which is required in order =
 for openpty() to work.
 
 Ok, well, more like:
 
 - openpty() will still use legacy pty devices, if they exist, but will =
 prefer /dev/ptm.
 - posix_openpt() only works with /dev/ptm.
 - The new MAKEDEV that's installed by the install script does not make =
 legacy pty devices for "MAKEDEV all".
 
 Seems like the best course of action is to have the install script put a =
 ptyfs entry in the generated /etc/fstab.
 
 -- thorpej
 


Home | Main Index | Thread Index | Old Index