Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 02 Mar 2008 22:42:12 +0000
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        =?ISO-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de>
Cc:        questions@freebsd.org
Subject:   Re: remote startup scripts
Message-ID:  <47CB2D44.6040009@dial.pipex.com>
In-Reply-To: <52031.192.168.1.2.1204357597.squirrel@webmail.alpha-tierchen.de>
References:  <52031.192.168.1.2.1204357597.squirrel@webmail.alpha-tierchen.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?47CB2D44.6040009>