From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 4 23:00:10 2010 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8A48810656B8 for ; Sat, 4 Sep 2010 23:00:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6095D8FC17 for ; Sat, 4 Sep 2010 23:00:10 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o84N0A2S089258 for ; Sat, 4 Sep 2010 23:00:10 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o84N0Avb089257; Sat, 4 Sep 2010 23:00:10 GMT (envelope-from gnats) Resent-Date: Sat, 4 Sep 2010 23:00:10 GMT Resent-Message-Id: <201009042300.o84N0Avb089257@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Garrett Wollman Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EDB0C10656C0 for ; Sat, 4 Sep 2010 22:53:25 +0000 (UTC) (envelope-from wollman@hergotha.csail.mit.edu) Received: from hergotha.csail.mit.edu (hergotha.csail.mit.edu [66.92.79.170]) by mx1.freebsd.org (Postfix) with ESMTP id A38318FC15 for ; Sat, 4 Sep 2010 22:53:25 +0000 (UTC) Received: from hergotha.csail.mit.edu (localhost [127.0.0.1]) by hergotha.csail.mit.edu (8.14.4/8.14.4) with ESMTP id o84MrOGc003148 for ; Sat, 4 Sep 2010 18:53:24 -0400 (EDT) (envelope-from wollman@hergotha.csail.mit.edu) Received: (from wollman@localhost) by hergotha.csail.mit.edu (8.14.4/8.14.4/Submit) id o84MrOio003147; Sat, 4 Sep 2010 18:53:24 -0400 (EDT) (envelope-from wollman) Message-Id: <201009042253.o84MrOio003147@hergotha.csail.mit.edu> Date: Sat, 4 Sep 2010 18:53:24 -0400 (EDT) From: Garrett Wollman To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/150290: xterm -C no longer grabs console X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Garrett Wollman List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Sep 2010 23:00:10 -0000 >Number: 150290 >Category: ports >Synopsis: xterm -C no longer grabs console >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 04 23:00:10 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Garrett Wollman >Release: FreeBSD 8.1-RELEASE amd64 >Organization: >Environment: System: FreeBSD hergotha.csail.mit.edu 8.1-RELEASE FreeBSD 8.1-RELEASE #0 r212140M: Sat Sep 4 00:16:21 EDT 2010 wollman@hergotha.csail.mit.edu:/usr/obj/usr/src/sys/HERGOTHA amd64 xterm package: xterm-261 >Description: xterm -C is supposed to grab kernel console output (using the TIOCCONS ioctl). Now it doesn't (as demonstrated by running "xterm -C" and causing the kernel to generate some debugging messages). wollman@hergotha(9)$ xterm -C xterm: cannot open console: Operation not permitted wollman@hergotha(10)$ ls -l /dev/console crw------- 1 wollman wheel 0, 4 Sep 4 18:47 /dev/console Running "xterm -C" as root doesn't generate the error message, but also doesn't capture console output. I don't know if this is a bug in xterm or in the new tty layer, so filing it under ports-bugs as the most proximally involved code is a port. >How-To-Repeat: xterm -C camcontrol debug -c 0:0:0 lsdvd /dev/cd0 # wonder where all the debugging output went... >Fix: unknown >Release-Note: >Audit-Trail: >Unformatted: