Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Feb 2008 14:19:21 -0500
From:      Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
To:        RW <fbsd06@mlists.homeunix.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: rc.d scripts not being run at shutdown.
Message-ID:  <44myq7uwqu.fsf@be-well.ilk.org>
In-Reply-To: <20080211180647.11a1f468@gumby.homeunix.com.> (RW's message of "Mon\, 11 Feb 2008 18\:06\:47 %2B0000")
References:  <20080210040215.769f478e@gumby.homeunix.com.> <20080211180647.11a1f468@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
RW <fbsd06@mlists.homeunix.com> writes:

> On Sun, 10 Feb 2008 04:02:15 +0000
> RW <fbsd06@mlists.homeunix.com> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44myq7uwqu.fsf>