From owner-freebsd-questions@FreeBSD.ORG Tue Feb 12 14:52:57 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 51F5D16A469 for ; Tue, 12 Feb 2008 14:52:57 +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 1743013C457 for ; Tue, 12 Feb 2008 14:52:56 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: by be-well.ilk.org (Postfix, from userid 1147) id 04B5328430; Tue, 12 Feb 2008 09:52:55 -0500 (EST) To: RW References: <20080210040215.769f478e@gumby.homeunix.com.> <20080211180647.11a1f468@gumby.homeunix.com.> <44myq7uwqu.fsf@be-well.ilk.org> <20080211215528.7946615b@gumby.homeunix.com.> <20080212020103.488bd34a@gumby.homeunix.com.> From: Lowell Gilbert Date: Tue, 12 Feb 2008 09:52:55 -0500 In-Reply-To: <20080212020103.488bd34a@gumby.homeunix.com.> (RW's message of "Tue\, 12 Feb 2008 02\:01\:03 +0000") Message-ID: <44abm6xm48.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: Tue, 12 Feb 2008 14:52:57 -0000 RW writes: > On Mon, 11 Feb 2008 21:55:28 +0000 > RW wrote: > >> On Mon, 11 Feb 2008 14:19:21 -0500 >> Lowell Gilbert wrote: >> >> > RW writes: >> >> > > 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. >> >> That's a good point, but I just tried it with an rc.shutdown script >> that contains only the touch statement, and the file wasn't touched >> (and I have tried running the touch manually). >> >> I should also add that this problem has survived a world+kernel >> rebuild to 7.0-RC2, which included the use of mergemaster. All the >> scripts under /etc should be the ones in the repository. > > And now I come to think about it, I was tinkering with a random number > script at the exact time the entropy file was written-out, and I'm > pretty certain I wrote it myself. That means I have no evidence that > rc.shutdown has worked at all since I installed FreeBSD 7 in early > December. So rcorder isn't being run on rc.d either? Weird; I can't see what could cause that.