From owner-freebsd-current Wed Jul 2 20:00:02 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id UAA14782 for current-outgoing; Wed, 2 Jul 1997 20:00:02 -0700 (PDT) Received: from cais.cais.com (root@cais.com [199.0.216.4]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA14730 for ; Wed, 2 Jul 1997 19:59:59 -0700 (PDT) Received: from earth.mat.net (root@earth.mat.net [205.252.122.1]) by cais.cais.com (8.8.5/) with SMTP id WAA03326; Wed, 2 Jul 1997 22:59:32 -0400 (EDT) Received: from Journey2.mat.net (journey2.mat.net [205.252.122.116]) by earth.mat.net (8.6.12/8.6.12) with SMTP id WAA09644; Wed, 2 Jul 1997 22:59:30 -0400 Date: Wed, 2 Jul 1997 22:59:29 -0400 (EDT) From: Chuck Robey X-Sender: chuckr@Journey2.mat.net To: =?KOI8-R?B?4c7E0sXKIP7F0s7P1w==?= cc: FreeBSD-current , Brian Somers , Joerg Wunsch Subject: Re: ppp & HUP. In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by hub.freebsd.org id UAA14733 Sender: owner-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Thu, 3 Jul 1997, [KOI8-R] Андрей Чернов wrote: > On Wed, 2 Jul 1997, Brian Somers wrote: > > > > > reboot(8) will send SIGTERMs to the processes, but not SIGHUPs. > > > > death() in init.c :( > > I start thinking that sending HUP from init is a bug because: > 1) It increase disk activity just before shutdown since all daemons > re-read their configs. > 2) It cause redials for redial-able software as uucp (and ppp some time > ago). > > If nobody will explain why this HUP is neded (hanging shells perfectly > killed by SIGKILL), I'll remove HUP sending from init. According to what I read, the HUP was to allow processes to be able to exit gracefully (and more slowly, perhaps saving state) than the SIGTERM. I think the HUP is kinda historical. I can't see a strong reason to kill it, because I've never personally seen a bug caused by it. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 213 Lakeside Drive Apt T-1 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------