src/lib/libc/stdlib/grantpt.c commit broke sshd
Josh Carroll
josh.carroll at gmail.com
Tue Oct 28 09:56:11 PDT 2008
I just built world from RELENG_7 sources csup'd this morning, and it
appears the change to src/lib/libc/stdlib/grantpt.c has broken sshd.
I see the following when I attempt to login:
Oct 28 12:32:34 pflog sshd[78236]: fatal: openpty returns device for
which ttyname fails.
Oct 28 12:32:34 pflog sshd[78236]: error: chown 0 0 failed: No such
file or directory
Oct 28 12:32:34 pflog sshd[78236]: error: chmod 0666 failed: No such
file or directory
If I back out the changes committed on 10/26 to grantpt.c, rebuild
libc and restart sshd, I can login again properly.
Here are the pty/tty related options in my kernel config:
device pty # Pseudo-ttys (telnet etc)
Note that I do not have:
options COMPAT_43TTY
Is COMPAT_43TTY necessary after this commit?
Thanks,
Josh
More information about the freebsd-stable
mailing list