From owner-freebsd-sparc64@FreeBSD.ORG Mon Jul 30 06:50:08 2007 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B2DDA16A418 for ; Mon, 30 Jul 2007 06:50:08 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id A902713C457 for ; Mon, 30 Jul 2007 06:50:08 +0000 (UTC) (envelope-from kris@obsecurity.org) Received: from rot26.obsecurity.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 109CF1A4D80; Sun, 29 Jul 2007 23:49:52 -0700 (PDT) Received: by rot26.obsecurity.org (Postfix, from userid 1001) id EF45BBA4B; Mon, 30 Jul 2007 02:50:07 -0400 (EDT) Date: Mon, 30 Jul 2007 02:50:07 -0400 From: Kris Kennaway To: Matthew Jacob Message-ID: <20070730065007.GA96712@rot26.obsecurity.org> References: <7579f7fb0707292317l2d78cac5od1bcc8aeadb14910@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7579f7fb0707292317l2d78cac5od1bcc8aeadb14910@mail.gmail.com> User-Agent: Mutt/1.4.2.3i Cc: freebsd-sparc64@freebsd.org Subject: Re: broken sshd;/dev/tty for sparc64? X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Jul 2007 06:50:08 -0000 On Sun, Jul 29, 2007 at 11:17:11PM -0700, Matthew Jacob wrote: > This was touched on briefly in -current and I didn't see an answer. > I'm still seeing this issue on a Axil clone V220 as of today- if I ssh > in as root, it works. If I ssh as anyone else, I get: > > groover.mendocinosoft.com > slogin lumpsun7 > Received disconnect from 192.168.1.231: 2: dup #1 failed: Bad file descriptor > > In /var/log/messages I see: > > Jul 29 22:59:40 lumpsun7 sshd[71814]: error: ioctl(TIOCSCTTY): Bad > file descriptor > Jul 29 22:59:40 lumpsun7 sshd[71814]: error: open /dev/tty failed - > could not set controlling tty: Device not configured > Jul 29 22:59:40 lumpsun7 sshd[71814]: error: dup2 stdin: Bad file descriptor > Jul 29 22:59:40 lumpsun7 sshd[71814]: error: dup2 stdout: Bad file descriptor > Jul 29 22:59:40 lumpsun7 sshd[71814]: error: dup2 stderr: Bad file descriptor > Jul 29 23:01:12 lumpsun7 sshd[71874]: error: ioctl(TIOCSCTTY): Bad > file descriptor > Jul 29 23:01:12 lumpsun7 sshd[71874]: error: open /dev/tty failed - > could not set controlling tty: Device not configured > > > I'm a bit baffled about this. Anyone seen? Yeah, I broke one of kensmith's machines tonight by attempting the gcc 4 upgrade. Kris