mountd and reload
John Baldwin
jhb at freebsd.org
Mon Mar 29 16:16:45 UTC 2010
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 <jhb at freebsd.org> 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
More information about the freebsd-rc
mailing list