From owner-freebsd-questions@FreeBSD.ORG Mon Feb 11 19:19:22 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 D60A016A46E for ; Mon, 11 Feb 2008 19:19:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from be-well.ilk.org (dsl092-078-145.bos1.dsl.speakeasy.net [66.92.78.145]) by mx1.freebsd.org (Postfix) with ESMTP id 9A68A13C45A for ; Mon, 11 Feb 2008 19:19:22 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id A557228430; Mon, 11 Feb 2008 14:19:21 -0500 (EST) To: RW References: <20080210040215.769f478e@gumby.homeunix.com.> <20080211180647.11a1f468@gumby.homeunix.com.> From: Lowell Gilbert Date: Mon, 11 Feb 2008 14:19:21 -0500 In-Reply-To: <20080211180647.11a1f468@gumby.homeunix.com.> (RW's message of "Mon\, 11 Feb 2008 18\:06\:47 +0000") Message-ID: <44myq7uwqu.fsf@be-well.ilk.org> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: freebsd-questions@freebsd.org 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 19:19:22 -0000 RW writes: > 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. rc.subr and rc.conf will be sourced first, so errors in those could cause problems. Is anything showing up in the log?