Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Mar 2010 14:33:55 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        Doug Barton <dougb@freebsd.org>
Cc:        freebsd-rc@freebsd.org, Xin LI <delphij@gmail.com>
Subject:   Re: mountd and reload
Message-ID:  <201003291433.55567.jhb@freebsd.org>
In-Reply-To: <4BB0E38D.1010605@FreeBSD.org>
References:  <201003261410.35830.jhb@freebsd.org> <201003291203.18304.jhb@freebsd.org> <4BB0E38D.1010605@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003291433.55567.jhb>