From owner-freebsd-rc@FreeBSD.ORG Sat Dec 30 13:11:18 2006 Return-Path: X-Original-To: freebsd-rc@FreeBSD.org Delivered-To: freebsd-rc@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7651C16A403; Sat, 30 Dec 2006 13:11:18 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-0-0-cust107.cdif.cable.ntl.com [81.104.168.108]) by mx1.freebsd.org (Postfix) with ESMTP id 318CF13C428; Sat, 30 Dec 2006 13:11:17 +0000 (UTC) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.64 (FreeBSD)) (envelope-from ) id 1H0dd5-000DDR-IT; Sat, 30 Dec 2006 12:48:03 +0000 Date: Sat, 30 Dec 2006 12:48:03 +0000 From: Ceri Davies To: FreeBSD Gnats Submit Message-ID: <20061230124803.GB97921@submonkey.net> Mail-Followup-To: Ceri Davies , FreeBSD Gnats Submit , freebsd-rc@FreeBSD.org, Remko Lodder References: <200612291534.kBTFYje0037552@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200612291534.kBTFYje0037552@freefall.freebsd.org> X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.13 (2006-08-11) Sender: Ceri Davies Cc: Remko Lodder , freebsd-rc@FreeBSD.org Subject: Re: conf/107316: [rc.d]: [base] [rpc.lockd] nfslocking restart does not restart rpc.lockd 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: Sat, 30 Dec 2006 13:11:18 -0000 Restarting twice from the same script is explicitly denied in /etc/rc.subr: 783 # prevent restart being called more 784 # than once by any given script 785 # 786 if ${_rc_restart_done:-false}; then 787 return 0 788 fi 789 _rc_restart_done=true This is why it's failing to restart rpc.lockd, but I don't know why that check is there. Ceri -- That must be wonderful! I don't understand it at all. -- Moliere