From owner-freebsd-rc@FreeBSD.ORG Thu May 17 11:00:21 2007 Return-Path: X-Original-To: freebsd-rc@hub.freebsd.org Delivered-To: freebsd-rc@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E080416A404 for ; Thu, 17 May 2007 11:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 8CDB413C48C for ; Thu, 17 May 2007 11:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l4HB0LLe022688 for ; Thu, 17 May 2007 11:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l4HB0L3o022687; Thu, 17 May 2007 11:00:21 GMT (envelope-from gnats) Date: Thu, 17 May 2007 11:00:21 GMT Message-Id: <200705171100.l4HB0L3o022687@freefall.freebsd.org> To: freebsd-rc@FreeBSD.org From: Mike Makonnen Cc: Subject: Re: conf/106873: [patch] rc.d/nfslocking does not properly restart X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Makonnen 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: Thu, 17 May 2007 11:00:22 -0000 The following reply was made to PR conf/106873; it has been noted by GNATS. From: Mike Makonnen To: oliver@freebsd.org Cc: bug-followup@FreeBSD.org Subject: Re: conf/106873: [patch] rc.d/nfslocking does not properly restart Date: Thu, 17 May 2007 14:00:40 +0300 Unfortunately, _rc_restart_done is private to rc.subr(8) and scripts should not depend on it being available or having any specific behavior. The solution is to breakup the script into separate scripts for statd and lockd. Cheers. -- Mike Makonnen | GPG-KEY: http://people.freebsd.org/~mtm/mtm.asc mmakonnen @ gmail.com | AC7B 5672 2D11 F4D0 EBF8 5279 5359 2B82 7CD4 1F55 mtm @ FreeBSD.Org | FreeBSD - http://www.freebsd.org