From owner-freebsd-stable@FreeBSD.ORG Wed Sep 10 20:34:53 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C9B601065670 for ; Wed, 10 Sep 2008 20:34:53 +0000 (UTC) (envelope-from jfb@mr-paradox.net) Received: from vexbert.mr-paradox.net (vexbert.mr-paradox.net [IPv6:2001:470:b:28:f::1]) by mx1.freebsd.org (Postfix) with ESMTP id A523F8FC1E for ; Wed, 10 Sep 2008 20:34:53 +0000 (UTC) (envelope-from jfb@mr-paradox.net) Received: by vexbert.mr-paradox.net (Postfix, from userid 16139) id 50F90844DA; Wed, 10 Sep 2008 16:35:11 -0400 (EDT) Date: Wed, 10 Sep 2008 16:34:51 -0400 From: Jeff Blank To: freebsd-stable@freebsd.org Message-ID: <20080910203445.GA8561@mr-happy.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Face: #0jV*~a}VtKS-&E/!EJpH('H1Va}24dxF0oT&+.R3Gu8C; xhSC+<|+H84&YLbMvphuRT4cp3.|8EN_(2Eix/6{.Up~u`a^}0Ln&b+9Fw|BPig@-{y\pL_46d&ZwA]5%_AU?}DezfE&1!>H?3E$!Yve7.O<+..Jnb4:'6Ey_]FtFzU9=*l$1p/@gA,Ze>^5<]+r(XJ+m7`/vMDc$'wy|`e Subject: can't see non-root writes to /dev/console X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 Sep 2008 20:34:53 -0000 I just upgraded a RELENG_7 (amd64) box from 20080714 to "latest" (which seems to be from a few days ago--no changes from Monday morning's csup to today's) and can no longer see the effect of writing to /dev/console as non-root. When I log in using xdm, my user owns /dev/console, mode 0622 (-rw--w--w-), and I start an 'xterm -C'. But when I, for example, echo foo > /dev/console I see nothing in the console xterm. No error messages, and echo exits 0. If I su to root and do the same, I get 'foo' in the same console xterm. Syslog messages to /dev/console also appear, of course. All the above applies to xconsole as well, not just xterm. I did recompile xterm from 20080616 ports, but it didn't fix the issue (didn't expect it to, as xterm clearly has no trouble attaching and reading). So my echo is getting lost in the kernel, I guess. Known problem? Intentional change? Something else? thanks, Jeff