Subject: bin/24319: init doesn't re-initialize window command from /etc/ttys
To: None <gnats-bugs@gnats.netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-bugs
Date: 02/05/2004 05:01:04
>Number:         24319
>Category:       bin
>Synopsis:       init doesn't re-initialize window command from /etc/ttys
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Feb 05 05:02:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Christian Biere
>Release:        NetBSD 1.6ZH
>Organization:
>Environment:
System: NetBSD cyclonus 1.6ZH NetBSD 1.6ZH (STARSCREAM) #1: Thu Jan 29 00:44:45 CET 2004 root@cyclonus:/usr/src/sys/arch/i386/compile/STARSCREAM i386
>Description:

init is supposed to re-read /etc/ttys on SIGHUP. I've verified that it
really does but it doesn't re-read the ``window'' field. It also creates
a zombie for the window command because it doesn't wait() for the
child process.

>How-To-Repeat:

Append ``window=blah'' to a line for a tty in /etc/ttys.
Do ``kill -s HUP 1''. (If necessary) kill the getty process for the
relevant tty.

You'll find the following /var/log/authlog (or on the console):
init: can't exec window system 'blah' for port /dev/ttyE4:
No such file or directory

>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: