Date: Sun, 30 Nov 2003 11:31:34 -0500 (EST) From: Robert Watson <rwatson@FreeBSD.org> To: Andreas Klemm <andreas@FreeBSD.org> Cc: Oliver Eikemeier <eik@FreeBSD.org> Subject: Re: 5.2-BETA and related ports issues Message-ID: <Pine.NEB.3.96L.1031130111845.66375I-100000@fledge.watson.org> In-Reply-To: <20031130115547.GA67257@titan.klemm.apsfilter.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 30 Nov 2003, Andreas Klemm wrote: > I have a better idea, then we perhaps need something like a wrapper > script that is part of the FreeBSD basic system under /etc/rc.d that > checks for the start script under $LOCALBASE/etc/rc.d and starts it very > early. Hmm. I talked with Gordon about this issue some last night, but he pointed out a snag: most installs of FreeBSD place /usr on a separate partition from /. The rcNG ordering decision is made before /usr is mounted, as /usr is mounted as part of the pieces kicked off by rc.d. So it would be a fairly large departure from the current implementation of the rcNG code to reevaluate the ordering once more directories were available in which to find scripts to run. Not that it's not doable, but we need to think about it carefully (and, unfortunately, it's not as easy as simply adding /usr/local/etc/rc.d to the list..) Having wrapper scripts in /etc/rc.d can work, but it means we don't get the full benefits of ordering, and that any ordering information has to be in the wrapper, not in the bit installed by the port in /usr/local... Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1031130111845.66375I-100000>