From owner-freebsd-rc@FreeBSD.ORG Sun Nov 27 20:17:25 2011 Return-Path: Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D15D21065670; Sun, 27 Nov 2011 20:17:25 +0000 (UTC) (envelope-from avg@FreeBSD.org) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id EFA618FC20; Sun, 27 Nov 2011 20:17:24 +0000 (UTC) Received: from porto.starpoint.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id WAA18355; Sun, 27 Nov 2011 22:17:23 +0200 (EET) (envelope-from avg@FreeBSD.org) Received: from localhost ([127.0.0.1]) by porto.starpoint.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1RUlAA-000KU7-Vg; Sun, 27 Nov 2011 22:17:23 +0200 Message-ID: <4ED29AD0.5060908@FreeBSD.org> Date: Sun, 27 Nov 2011 22:17:20 +0200 From: Andriy Gapon User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:8.0) Gecko/20111108 Thunderbird/8.0 MIME-Version: 1.0 To: Doug Barton References: <4ED2378B.2080601@FreeBSD.org> <4ED2983B.5050800@FreeBSD.org> In-Reply-To: <4ED2983B.5050800@FreeBSD.org> X-Enigmail-Version: undefined Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-rc@FreeBSD.org Subject: Re: rc.d/watchdogd: a suggestion X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Nov 2011 20:17:25 -0000 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