From owner-cvs-all  Sat Jan 29  3:55:22 2000
Delivered-To: cvs-all@freebsd.org
Received: from overcee.netplex.com.au (overcee.netplex.com.au [202.12.86.7])
	by hub.freebsd.org (Postfix) with ESMTP
	id E97F614CE1; Sat, 29 Jan 2000 03:55:16 -0800 (PST)
	(envelope-from peter@netplex.com.au)
Received: from netplex.com.au (localhost [127.0.0.1])
	by overcee.netplex.com.au (Postfix) with ESMTP
	id BBFBF1CD9; Sat, 29 Jan 2000 19:55:14 +0800 (WST)
	(envelope-from peter@netplex.com.au)
X-Mailer: exmh version 2.1.1 10/15/1999
To: Bruce Evans <bde@zeta.org.au>
Cc: David O'Brien <obrien@FreeBSD.org>, cvs-committers@FreeBSD.org,
	cvs-all@FreeBSD.org
Subject: Re: cvs commit: src/etc/etc.i386 ttys src/etc/etc.alpha ttys 
In-Reply-To: Message from Bruce Evans <bde@zeta.org.au> 
   of "Sat, 29 Jan 2000 15:53:07 +1100." <Pine.BSF.4.21.0001291538570.8395-100000@alphplex.bde.org> 
Date: Sat, 29 Jan 2000 19:55:14 +0800
From: Peter Wemm <peter@netplex.com.au>
Message-Id: <20000129115514.BBFBF1CD9@overcee.netplex.com.au>
Sender: owner-cvs-all@FreeBSD.ORG
Precedence: bulk

Bruce Evans wrote:
> On Fri, 28 Jan 2000, David O'Brien wrote:
> 
> > On Sat, Jan 29, 2000 at 02:43:33PM +1100, Bruce Evans wrote:
> > > Now is not a good time to awaken bugs in the console driver.
> > 
> > I'm open to diffs.
> 
> I fixed many known bugs years ago, but I think it is still a standard
> superstition that you don't run getty on the console.  Running it on
> the physical device behind the console works better.

It's not superstition, there's a damn good reason:

peter@overcee[7:41pm]~ports/emulators-191> grep revoke ~src/libexec/getty/*
/home/src/libexec/getty/main.c:         revoke(ttyn);

peter@overcee[7:41pm]~ports/emulators-192> grep console ~src/etc/syslog.conf 
*.err;kern.debug;auth.notice;mail.crit          /dev/console

However, due to other bugs:

pwroot@overcee[7:53pm]~ports/sysutils/lsof-106# lsof | grep -i revoke
adjkerntz    31    root    0u  VBAD                               (revoked)
adjkerntz    31    root    1u  VBAD                               (revoked)
adjkerntz    31    root    2u  VBAD                               (revoked)
cron        153    root    0u  VBAD                               (revoked)
cron        153    root    1u  VBAD                               (revoked)
cron        153    root    2u  VBAD                               (revoked)

This is on a machine with a getty on /dev/ttyv0 only.

Machines with serial consoles and a getty on /dev/ttyd0 are also affected.

Cheers,
-Peter



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message