Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2011 22:17:20 +0200
From:      Andriy Gapon <avg@FreeBSD.org>
To:        Doug Barton <dougb@FreeBSD.org>
Cc:        freebsd-rc@FreeBSD.org
Subject:   Re: rc.d/watchdogd: a suggestion
Message-ID:  <4ED29AD0.5060908@FreeBSD.org>
In-Reply-To: <4ED2983B.5050800@FreeBSD.org>
References:  <4ED2378B.2080601@FreeBSD.org> <4ED2983B.5050800@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 27/11/2011 22:06 Doug Barton said the following:
> On 11/27/2011 5:13 AM, Andriy Gapon wrote:
>>
>> I have a suggestion to start watchdogd a little bit earlier than it is done now,
>> and correspondingly to stop it a little bit later during shutdown:
> 
> I have no particular opinion on changing the timing, but you haven't
> said why you want to do it.

So that it covers a larger period of system operation.
My (one time) use case for it was to prevent a situation where an exiting X
server hanged the whole machine.  It happened so that watchdogd was stopped
before X server got killed.

>> @@ -28,7 +28,8 @@
>>  #
>>
>>  # PROVIDE: watchdogd
>> -# REQUIRE: DAEMON cleanvar
>> +# REQUIRE: FILESYSTEMS syslogd cleanvar
>> +# BEFORE:  SERVERS
> 
> Ideally base scripts should not use BEFORE. Change REQUIRE in SERVERS
> instead.

You mean so that SERVERS requires watchdogd?

-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4ED29AD0.5060908>