From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 18:06:53 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 20ED116A417 for ; Mon, 11 Feb 2008 18:06:53 +0000 (UTC) (envelope-from fbsd06+TA=8e6348a1@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by mx1.freebsd.org (Postfix) with ESMTP id F23B613C465 for ; Mon, 11 Feb 2008 18:06:52 +0000 (UTC) (envelope-from fbsd06+TA=8e6348a1@mlists.homeunix.com) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 5964423E4B5 for ; Mon, 11 Feb 2008 13:06:51 -0500 (EST) Date: Mon, 11 Feb 2008 18:06:47 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080211180647.11a1f468@gumby.homeunix.com.> In-Reply-To: <20080210040215.769f478e@gumby.homeunix.com.> References: <20080210040215.769f478e@gumby.homeunix.com.> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.7; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: rc.d scripts not being run at shutdown. X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Feb 2008 18:06:53 -0000 On Sun, 10 Feb 2008 04:02:15 +0000 RW wrote: > > Afer putting in some extra logging to check something, I've just > noticed that my rc.d scripts are not being run at shutdown. > > By way of confirmation, my entropy file, which is written out by an > rc.d script, has not been written to for a week (I shut-down most > nights). I don't recall doing anything then. > I put a "touch" on the second line of rc.shutdown, and it never got invoked. I could imagine screwing-up the operation of rc.shutdown with a syntax error, but I don't see how I could stop it being run at all. As I understand it rc.shutdown is run from init if the file exists. init itself doesn't seem to have been modified recently, so I'm out of ideas.