From owner-freebsd-rc@FreeBSD.ORG Mon Mar 29 18:34:05 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 907DB106564A; Mon, 29 Mar 2010 18:34:05 +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 640398FC16; Mon, 29 Mar 2010 18:34:05 +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 161A946B1A; Mon, 29 Mar 2010 14:34:05 -0400 (EDT) Received: from jhbbsd.localnet (smtp.hudson-trading.com [209.249.190.9]) by bigwig.baldwin.cx (Postfix) with ESMTPA id 65D998A01F; Mon, 29 Mar 2010 14:34:04 -0400 (EDT) From: John Baldwin To: Doug Barton Date: Mon, 29 Mar 2010 14:33:55 -0400 User-Agent: KMail/1.12.1 (FreeBSD/7.3-CBSD-20100217; KDE/4.3.1; amd64; ; ) References: <201003261410.35830.jhb@freebsd.org> <201003291203.18304.jhb@freebsd.org> <4BB0E38D.1010605@FreeBSD.org> In-Reply-To: <4BB0E38D.1010605@FreeBSD.org> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201003291433.55567.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.0.1 (bigwig.baldwin.cx); Mon, 29 Mar 2010 14:34:04 -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 18:34:05 -0000 On Monday 29 March 2010 1:29:49 pm Doug Barton wrote: > On 03/29/10 09:03, John Baldwin wrote: > > Can we come up with some sort of solution please? Right now 'sh > > /etc/rc.d/mountd reload' is useless for the common case. > > The common case is to enable things in rc.conf that you want to start. > The next most common case is to use onereload for one-offs. Did you try > that as I suggested a few days ago? We used forcereload, but that isn't really intuitive to a user, esp. given that mountd is implicitly started, but issuing a reload just silently fails. If the reload attempt whined, or if rc.d was smarter about implicit dependencies so that it would see that mountd was implicitly started and thus implicitly enable reload, either of those would be a vast improvement over the current system. -- John Baldwin