[1930] in Athena Bugs

home help back first fref pref prev next nref lref last post

/etc/init: console grabbing

daemon@ATHENA.MIT.EDU (probe@ATHENA.MIT.EDU)
Sun Mar 19 10:47:45 1989

From: <probe@ATHENA.MIT.EDU>
Date: Sun, 19 Mar 89 10:47:27 EST
To: changes@ATHENA.MIT.EDU, bugs@ATHENA.MIT.EDU
Reply-To: Richard Basch   <probe@ATHENA.MIT.EDU>

If a process has /dev/console open and it does not die, ie. a df in an
xterm -C window with an NFS server down... a shutdown to single user
mode will cause init to be displaying output to essentially /dev/null.

Fix: Add a couple of ioctl(x, TIOCCONS, 0) statements to
/paris/source/4.3/etc/init/init.c.  "x" is different in the two cases
that have to be accounted for...

Anyway, this bug report is just for posterity as it has already been
fixed in 6.1C.

-Richard

home help back first fref pref prev next nref lref last post