From owner-freebsd-rc@FreeBSD.ORG Mon Mar 29 16:16:45 2010 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 54BB1106566B; Mon, 29 Mar 2010 16:16:45 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 2590B8FC12; Mon, 29 Mar 2010 16:16:45 +0000 (UTC) Received: from bigwig.baldwin.cx (66.111.2.69.static.nyinternet.net [66.111.2.69]) by cyrus.watson.org (Postfix) with ESMTPSA id CA81546B8F; Mon, 29 Mar 2010 12:16:44 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 0F4908A021; Mon, 29 Mar 2010 12:16:44 -0400 (EDT) From: John Baldwin To: Doug Barton Date: Mon, 29 Mar 2010 12:03:18 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201003261410.35830.jhb@freebsd.org> <4BAE67FA.6070609@FreeBSD.org> In-Reply-To: <4BAE67FA.6070609@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003291203.18304.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 29 Mar 2010 12:16:44 -0400 (EDT) X-Virus-Scanned: clamav-milter 0.95.1 at bigwig.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-1.7 required=4.2 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on bigwig.baldwin.cx Cc: freebsd-rc@freebsd.org, Xin LI Subject: Re: mountd and reload 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: Mon, 29 Mar 2010 16:16:45 -0000 On Saturday 27 March 2010 4:18:02 pm Doug Barton wrote: > On 03/26/10 12:18, Xin LI wrote: > > On Fri, Mar 26, 2010 at 11:10 AM, John Baldwin wrote: > >> FYI, it would be nice if someone could fix it so that /etc/rc.d/mountd reload > >> works when nfs_server_enable="YES" is set in /etc/rc.conf but > >> mountd_enable="YES" is not explicitly set. > > > > How would you think about something like this (hackish, though... I > > think we should perhaps make a 'rcvars' list): > > I am opposed to it. We already have a mechanism for starting things that > don't have _enable set. > > OTOH I agree that there is a more general problem that our rc.d system > should be smarter about what dependent services need to be enabled for a > given service but that problem should be solved generally. One-off hacks > like this will create a lot of drama and confusion that I would really > prefer to avoid. Can we come up with some sort of solution please? Right now 'sh /etc/rc.d/mountd reload' is useless for the common case. -- John Baldwin