Date: Wed, 9 May 2007 15:48:51 -0700 From: Christopher Cowart <ccowart@rescomp.berkeley.edu> To: freebsd-questions@freebsd.org Subject: sshd segfaults on exit when no tty allocated Message-ID: <20070509224851.GY25685@rescomp.berkeley.edu>
next in thread | raw e-mail | index | archive | help
--7tPHY7RFL01rOa8z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello, When I ssh into FreeBSD hosts without allocating a tty, sshd segfaults after the process terminates. This problem occurs on both 6_1_REL and 6_2_REL installations at all sorts of patch levels. Examples: Client: `ssh -t server ls` Server Logs:=20 | May 9 15:33:44 server sshd[1503]: Accepted publickey for ccowart from=20 | client port 43604 ssh2 | May 9 15:33:45 server sshd[1505]: pam_sm_close_session(): no utmp=20 | record for ttyp5 Client: `ssh server ls` Server Logs: | May 9 15:33:50 server sshd[1509]: Accepted publickey for ccowart from | client port 42119 ssh2 | May 9 15:33:51 server pid 1511 (sshd), uid 1225: exited on signal 11 In either example, the client thinks the command has completed successfully, shows proper output, and propogates the return value from the remote command. The main problem is I don't like seeing a bunch of segfaults being logged in the daily run output. Our sshd_config stock, except we set `PermitRootLogin yes`. Does anyone know why this happens? Should I file a problem report? Thanks, --=20 Chris Cowart Lead Systems Administrator Network Infrastructure, RSSP-IT UC Berkeley --7tPHY7RFL01rOa8z Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQFGQk/TV3SOqjnqPh0RArObAKCl3r8zJ4dEr+K5ZULCuOLUFKw9qwCfYp/I yt/MPyddm/XFwXRk+wRZ7e0= =3XMW -----END PGP SIGNATURE----- --7tPHY7RFL01rOa8z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070509224851.GY25685>