Date: Tue, 16 Mar 2010 12:58:54 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: /etc/rc.conf and NFS Message-ID: <20100316125854.6ee3f397@gumby.homeunix.com> In-Reply-To: <4B9EE11F.4090206@netmusician.org> References: <4B9EE11F.4090206@netmusician.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 15 Mar 2010 21:38:39 -0400 Joe Auty <joe@netmusician.org> wrote: > Hello, > > I have my /usr/local partition hosted on an NFS share which is mounted > at boot. Do you have any theories as to why my various services > (Apache, Postfix, MySQL) listed in /etc/rc.conf do not start up > automatically at boot, and I have to do this manually? > When /usr/local is hosted locally these services start up fine on > their own at boot time. You probably need to set early_late_divider. rc reads in and orders the scripts in /etc/rc.d before it executes any of them, and this list is fixed. When it reaches $early_late_divider, it creates a new list that includes the local directory obviously /usr/local/etc must be mounted at this point. Bear in mind that a local script that's ordered before early_late_divider is ignored.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100316125854.6ee3f397>