From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 12:59:08 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE6DB1065670 for ; Tue, 16 Mar 2010 12:59:08 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-bw0-f228.google.com (mail-bw0-f228.google.com [209.85.218.228]) by mx1.freebsd.org (Postfix) with ESMTP id 6CE188FC12 for ; Tue, 16 Mar 2010 12:59:08 +0000 (UTC) Received: by bwz28 with SMTP id 28so3895184bwz.14 for ; Tue, 16 Mar 2010 05:59:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:subject :message-id:in-reply-to:references:x-mailer:mime-version :content-type:content-transfer-encoding; bh=CRY/QgJEtn4sJSEUNGq0sBbTU5Yw/woXp5NPOgP7dN0=; b=S+iMl5EDSmov0FD5QS3eRCgEJdyFNK/ZQhHWZsFH3AJpD7MhkaFYZLoVe7ZlUQiTl9 UAQvPz2yU3iZ42KMNkl/tBWW90gzFvXvsWJA0gmfVRL3lZo9quRNDvUpCG6rNuFnArpG Sw8vAE+MQWanQgDrb594B8aRI/tr/llbx+Kks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; b=Q4IaNEpcrZO1GXTGBFh06aqRbJiIjr3gen9z4MKth3AwkMMz9i+cLqOR9JPoMmEtEI LsWQJppwA0rs8Xy0DcthzXDGEnhVt4ueFdP+C8prpdMwLZDnTPLR7ih0pZdHES5xPotw MGHN+4Nr1bY+Cr+UnXsQAlBMbPYJhbmPV1eRo= Received: by 10.204.3.216 with SMTP id 24mr6966058bko.30.1268744347442; Tue, 16 Mar 2010 05:59:07 -0700 (PDT) Received: from gumby.homeunix.com (bb-87-81-140-128.ukonline.co.uk [87.81.140.128]) by mx.google.com with ESMTPS id 24sm25946530bkr.0.2010.03.16.05.59.05 (version=SSLv3 cipher=RC4-MD5); Tue, 16 Mar 2010 05:59:06 -0700 (PDT) Date: Tue, 16 Mar 2010 12:58:54 +0000 From: RW To: freebsd-questions@freebsd.org Message-ID: <20100316125854.6ee3f397@gumby.homeunix.com> In-Reply-To: <4B9EE11F.4090206@netmusician.org> References: <4B9EE11F.4090206@netmusician.org> X-Mailer: Claws Mail 3.7.5 (GTK+ 2.18.7; i386-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: /etc/rc.conf and NFS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2010 12:59:08 -0000 On Mon, 15 Mar 2010 21:38:39 -0400 Joe Auty 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.