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
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/lis...freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"