From owner-freebsd-current@FreeBSD.ORG Wed Jul 16 20:51:04 2008 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5C206106564A for ; Wed, 16 Jul 2008 20:51:04 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx23.fluidhosting.com [204.14.89.6]) by mx1.freebsd.org (Postfix) with ESMTP id E7A118FC0C for ; Wed, 16 Jul 2008 20:51:03 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 28112 invoked by uid 399); 16 Jul 2008 20:51:03 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with ESMTPAM; 16 Jul 2008 20:51:03 -0000 X-Originating-IP: 127.0.0.1 X-Sender: dougb@dougbarton.us Message-ID: <487E5F36.201@FreeBSD.org> Date: Wed, 16 Jul 2008 13:51:02 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0.0.14 (X11/20080606) MIME-Version: 1.0 To: Dan Nelson References: <487E533F.7050303@FreeBSD.org> <20080716201819.GB19044@dan.emsphone.com> <487E5DCD.3010206@FreeBSD.org> In-Reply-To: <487E5DCD.3010206@FreeBSD.org> X-Enigmail-Version: 0.95.6 OpenPGP: id=D5B2F0FB Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Heads Up: shutdown keyword added to 34 rc.d scripts. X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Jul 2008 20:51:04 -0000 Doug Barton wrote: > Dan Nelson wrote: >> I think shutdown should be reserved for programs that save state >> between instances or otherwise would cause a "cleanup" operation to run >> then next time they are started after an unclean shutdown. > > That's not an unreasonable argument, however IMO it's better to be safe > than sorry. I forgot to add that (as you pointed out) init is going to be sending SIGTERM to the process anyway, so the only real difference here in most cases is the order in which the shutdown will happen. Thus this change will either do good, or do no harm. Doug -- This .signature sanitized for your protection