From owner-freebsd-rc@FreeBSD.ORG Fri Sep 8 16:14:48 2006 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4DF8F16A4E2 for ; Fri, 8 Sep 2006 16:14:48 +0000 (UTC) (envelope-from brooks@lor.one-eyed-alien.net) Received: from sccmmhc92.asp.att.net (sccmmhc92.asp.att.net [204.127.203.212]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61D8B43D5D for ; Fri, 8 Sep 2006 16:14:44 +0000 (GMT) (envelope-from brooks@lor.one-eyed-alien.net) Received: from lor.one-eyed-alien.net ([12.207.12.9]) by sccmmhc92.asp.att.net (sccmmhc92) with ESMTP id <20060908161442m92000uu24e>; Fri, 8 Sep 2006 16:14:42 +0000 Received: from lor.one-eyed-alien.net (localhost [127.0.0.1]) by lor.one-eyed-alien.net (8.13.6/8.13.6) with ESMTP id k88GEdfv003056; Fri, 8 Sep 2006 11:14:40 -0500 (CDT) (envelope-from brooks@lor.one-eyed-alien.net) Received: (from brooks@localhost) by lor.one-eyed-alien.net (8.13.6/8.13.6/Submit) id k88GEdHG003055; Fri, 8 Sep 2006 11:14:39 -0500 (CDT) (envelope-from brooks) Date: Fri, 8 Sep 2006 11:14:35 -0500 From: Brooks Davis To: Danny Braniss Message-ID: <20060908161435.GB2447@lor.one-eyed-alien.net> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="gatW/ieO32f1wygP" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.11 Cc: freebsd-rc@freebsd.org Subject: Re: rcorder question X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Sep 2006 16:14:48 -0000 --gatW/ieO32f1wygP Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Sep 08, 2006 at 11:25:01AM +0300, Danny Braniss wrote: > intro: > We rely heavely on am-utils (/usr/local is so mounted), and most > of our hosts are dataless/diskless. As usual, I try to keep the local > changes to minimum to smooth upgrades. >=20 > /etc/rc.initdiskless > /etc/rc.d/amd > and > early_late_divider=3D"amd" >=20 > problem: > i need to move abi to start after amd (/compat is in /usr/local/compat), > and im looking for a clean way to do this, without breaking too many thin= gs. >=20 > any suggestions? This is tricky. We've typically assumed that /usr/local is mounted by the time mountcritremote is done. I think the right thing to do is the change things so that both abi and amd run between SERVERS and DAEMON and make abi explicitly depend on amd. amd is already in the right place, but abi is currently a requirement for SERVERS which is almost certainly wrong. In the unlikely event that a non-native server actually needs to start before DAEMON is should just depend on abi. Things that start before DAEMON should not expect a working environment unless they really try hard to get it. This may or may not be an issue for you, but I think we're going to want to consider to splitting ldconfig so we run it on the base before SERVERS and on other directories later on. As to a clean way of making this sort of changes locally, there isn't really one. -- Brooks --gatW/ieO32f1wygP Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) iD8DBQFFAZbqXY6L6fI4GtQRAvCVAJ92QO8ECp3WP87XMy7260URSLdoCQCePtGp vf213HjFrUme2fFw5OtGoPg= =vrfP -----END PGP SIGNATURE----- --gatW/ieO32f1wygP--