Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2008 12:56:10 -0400
From:      "Josh Carroll" <josh.carroll@gmail.com>
To:        "FreeBSD Stable" <freebsd-stable@freebsd.org>
Subject:   src/lib/libc/stdlib/grantpt.c commit broke sshd
Message-ID:  <8cb6106e0810280956lf864bdbqe46120e2d6816125@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



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