Subject: Re: pkgsrc rc.d scripts and NFS /usr
To: Johnny Lam <>
From: Frederick Bruckman <>
List: tech-pkg
Date: 11/20/2001 12:29:39
On Tue, 20 Nov 2001, Johnny Lam wrote:

> The default NetBSD setup assumes that /usr may be NFS-mounted.  The default
> pkgsrc setup assumes that ${LOCALBASE} is /usr/pkg.  In light of this, should
> pkgsrc rc.d scripts add "mountcritremote" to their REQUIRES lines to
> guarantee that /usr/pkg is available in the default NetBSD setup?
> I think the answer is "yes", but I'd like to know what others think before
> editting all of the rc.d scripts in pkgsrc.

You evidently want your script to start very early, so I can see why you
require "mountcritremote". For the more typical case, where you require
"DAEMON" or "LOGIN", it's not an issue.