From owner-freebsd-questions@FreeBSD.ORG Sun Mar 2 22:42:15 2008 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 616081065671 for ; Sun, 2 Mar 2008 22:42:15 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from mk-outboundfilter-1.mail.uk.tiscali.com (mk-outboundfilter-1.mail.uk.tiscali.com [212.74.114.37]) by mx1.freebsd.org (Postfix) with ESMTP id D5AEC8FC13 for ; Sun, 2 Mar 2008 22:42:14 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) X-Trace: 52901008/mk-outboundfilter-1.mail.uk.tiscali.com/PIPEX/$INTERNET-ACCEPTED/None/62.31.10.181 X-SBRS: None X-RemoteIP: 62.31.10.181 X-IP-MAIL-FROM: xfb52@dial.pipex.com X-IP-BHB: Once X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AgAAAMq7ykc+Hwq1/2dsb2JhbAAIqwM X-IP-Direction: OUT Received: from 62-31-10-181.cable.ubr05.edin.blueyonder.co.uk (HELO [192.168.23.2]) ([62.31.10.181]) by smtp.pipex.tiscali.co.uk with ESMTP; 02 Mar 2008 22:42:13 +0000 Message-ID: <47CB2D44.6040009@dial.pipex.com> Date: Sun, 02 Mar 2008 22:42:12 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061205 X-Accept-Language: en MIME-Version: 1.0 To: =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= References: <52031.192.168.1.2.1204357597.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <52031.192.168.1.2.1204357597.squirrel@webmail.alpha-tierchen.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Cc: questions@freebsd.org Subject: Re: remote startup scripts 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: Sun, 02 Mar 2008 22:42:15 -0000 Bj=F6rn K=F6nig wrote: >I have a setup where /usr/local is actually not a local file system. It'= s >NFS. My problem is that the initialization scripts doesn't seem to >consider that startup scripts could be remote. Am I right or are there >options that I missed yet? > =20 > I assume the problem is that /usr/local isn't mounted at the time that=20 the rcorder which looks for scripts there is run. Yes? I believe this problem is fixable by changing rc.d's idea of what needs=20 to be done "early" to include NFS mounts.=20 I've never done this and don't have a recent enough system to look at=20 but, the man page for rc.d on 6.3 mentions the early/late divider so=20 explore that and see if it helps you. If NFS:/usr/local is mounted=20 there should be no reason why you can't run startups scripts from there. If that doesn't help then searches of the rc@freebsd.org mailing list=20 might turn something up; if you can't find anything there then posting=20 to rc@freebsd.org might get you an answer if nothing more specific comes = up here. You should also mention which version of FreeBSD you are running, since=20 rc.d is has had numerous improvements in recent releases. --Alex