From owner-freebsd-current@FreeBSD.ORG Sun Nov 30 08:45:09 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7AABA16A4CE; Sun, 30 Nov 2003 08:45:09 -0800 (PST) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id 242EF43FB1; Sun, 30 Nov 2003 08:45:07 -0800 (PST) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) hAUGj4vq004075 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Sun, 30 Nov 2003 17:45:05 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost)hAUGj4xT004074; Sun, 30 Nov 2003 17:45:04 +0100 (CET) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.12.10/8.12.9) with ESMTP id hAUGh3jV071227; Sun, 30 Nov 2003 17:43:03 +0100 (CET) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost)hAUGh3fY071226; Sun, 30 Nov 2003 17:43:03 +0100 (CET) (envelope-from andreas) Date: Sun, 30 Nov 2003 17:43:03 +0100 From: Andreas Klemm To: Robert Watson Message-ID: <20031130164303.GB70858@titan.klemm.apsfilter.org> References: <20031130115547.GA67257@titan.klemm.apsfilter.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 5.2-BETA X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.5.1i cc: Dag-Erling Smorgrav cc: Kris Kennaway cc: freebsd-current@FreeBSD.org cc: Andreas Klemm cc: Oliver Eikemeier Subject: Re: 5.2-BETA and related ports issues X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 16:45:09 -0000 On Sun, Nov 30, 2003 at 11:31:34AM -0500, Robert Watson wrote: > > 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... Sh** I should have read your mail earlier, b4 writing a f'up ... Its completely true. On FreeBSD servers I have / and /usr always on a separate partition. Only Solaris I install differently, to have / and /usr on one partition, since Solaris has only less if not soon _none_ statically linked programs for system maintenance/recovery (if being stuck in single user). But well ... I think I could suggest a good workaround for this. What about having these wrapper scripts in /etc/rc.d calling another (kind of) subscript, with the only goal to get /usr/local mounted ? Andreas /// -- Andreas Klemm - Powered by FreeBSD 5.1-CURRENT Need a magic printfilter today ? -> http://www.apsfilter.org/