Date: Mon, 29 Mar 2010 12:03:18 -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: <201003291203.18304.jhb@freebsd.org> In-Reply-To: <4BAE67FA.6070609@FreeBSD.org> References: <201003261410.35830.jhb@freebsd.org> <a78074951003261218h39d6f021u7376ee67b5d74437@mail.gmail.com> <4BAE67FA.6070609@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003291203.18304.jhb>