From owner-freebsd-current Fri Oct 12 13:35:43 2001 Delivered-To: freebsd-current@freebsd.org Received: from peter3.wemm.org (c1315225-a.plstn1.sfba.home.com [24.14.150.180]) by hub.freebsd.org (Postfix) with ESMTP id 19E2C37B401 for ; Fri, 12 Oct 2001 13:35:40 -0700 (PDT) Received: from overcee.netplex.com.au (overcee.wemm.org [10.0.0.3]) by peter3.wemm.org (8.11.0/8.11.0) with ESMTP id f9CKZdM88545 for ; Fri, 12 Oct 2001 13:35:39 -0700 (PDT) (envelope-from peter@wemm.org) Received: from wemm.org (localhost [127.0.0.1]) by overcee.netplex.com.au (Postfix) with ESMTP id B887E3808; Fri, 12 Oct 2001 13:35:39 -0700 (PDT) (envelope-from peter@wemm.org) X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: Dag-Erling Smorgrav Cc: Bruce Evans , Doug Barton , freebsd-current@FreeBSD.ORG Subject: Re: Strike three, you're out In-Reply-To: Date: Fri, 12 Oct 2001 13:35:39 -0700 From: Peter Wemm Message-Id: <20011012203539.B887E3808@overcee.netplex.com.au> Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Dag-Erling Smorgrav wrote: > Bruce Evans writes: > > On 12 Oct 2001, Dag-Erling Smorgrav wrote: > > > Remove UCONSOLE from kernel config. This has been discussed to death > > > several times on the lists. > > That only prevents non-root from triggering the bug. > > True. The only thing I know of that uses TIOCCONS apart from > sysinstall is xconsole, but now that I think of it, xconsole does run > as root if you use xdm. I guess the best way to avoid triggering this > panic is to remove the UCONSOLE option from the kernel *and* comment > out the xconsole line from /etc/X11/xdm/Xsetup_0. The default xdm config is really hosed. You also should remove the chown/chmod of /dev/console as well. Cheers, -Peter -- Peter Wemm - peter@FreeBSD.org; peter@yahoo-inc.com; peter@netplex.com.au "All of this is for nothing if we don't go to the stars" - JMS/B5 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message