From owner-cvs-sbin Fri Jul 4 17:19:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id RAA14710 for cvs-sbin-outgoing; Fri, 4 Jul 1997 17:19:06 -0700 (PDT) Received: from veda.is (veda.is [193.4.230.1]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id RAA14649; Fri, 4 Jul 1997 17:16:39 -0700 (PDT) Received: from ubiq.veda.is (ubiq.veda.is [193.4.230.60]) by veda.is (8.8.5/8.8.5) with ESMTP id AAA27203; Sat, 5 Jul 1997 00:16:30 GMT From: Adam David Received: (from adam@localhost) by ubiq.veda.is (8.8.5/8.8.5) id AAA01667; Sat, 5 Jul 1997 00:16:25 GMT Message-Id: <199707050016.AAA01667@ubiq.veda.is> Subject: Re: cvs commit: src/sbin/init init.c In-Reply-To: from "[______ ______]" at "Jul 5, 97 03:47:28 am" To: ache@nagual.pp.ru (=?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?=) Date: Sat, 5 Jul 1997 00:16:24 +0000 (GMT) Cc: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL31 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-sbin@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > Of course. I mean there might be active ttys which are no longer listed > > because the file changed. > > If you add/remove getty lines, you suppose to send HUP to init to handle > updates, if you change non-getty lines, it is very rare case. Typically, getty spawns login and you end up with a login shell as the session leader with controlling tty. 'kill -HUP 1' does not affect the session, but when init is shutting down a HUP should be delivered. > It not worth > sending HUP to _all_ processes as done previously. Such connetions will > be killed by TERM in any case. Agreed, except I'd say it had negative worth. > To handle such rare cases init must use kvm mechanism to get all process > with controlling ttys which will be unnecessary bloat for init. There are other ways, but they might not be desirable either. -- Adam David