Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Jan 2000 19:55:14 +0800
From:      Peter Wemm <peter@netplex.com.au>
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 
Message-ID:  <20000129115514.BBFBF1CD9@overcee.netplex.com.au>
In-Reply-To: Message from Bruce Evans <bde@zeta.org.au>  of "Sat, 29 Jan 2000 15:53:07 %2B1100." <Pine.BSF.4.21.0001291538570.8395-100000@alphplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000129115514.BBFBF1CD9>