From owner-freebsd-current@FreeBSD.ORG Fri Feb 17 23:41:37 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.org 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 A72C416A420; Fri, 17 Feb 2006 23:41:37 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8640543D53; Fri, 17 Feb 2006 23:41:31 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id k1HNfJcV006688; Fri, 17 Feb 2006 15:41:19 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id k1HNfIMX006687; Fri, 17 Feb 2006 15:41:18 -0800 Date: Fri, 17 Feb 2006 15:41:18 -0800 From: Brooks Davis To: Doug Barton Message-ID: <20060217234118.GA22643@odin.ac.hmc.edu> References: <1140187193.731.47.camel@spirit> <20060217181842.GA21033@odin.ac.hmc.edu> <43F65A70.7080608@FreeBSD.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="y0ulUmNC+osPPQO6" Content-Disposition: inline In-Reply-To: <43F65A70.7080608@FreeBSD.org> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-current@FreeBSD.org, Xin LI Subject: Re: New RCorder: abi loaded too late X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Fri, 17 Feb 2006 23:41:37 -0000 --y0ulUmNC+osPPQO6 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Feb 17, 2006 at 03:21:20PM -0800, Doug Barton wrote: > Brooks Davis wrote: > > On Fri, Feb 17, 2006 at 10:39:53PM +0800, Xin LI wrote: > >> Hi, > >> > >> With the recent rcorder change, we were able to > >> start /usr/local/etc/rc.d in the same rcorder pass. However, because > >> abi was started late in the startup process, we have potentially broke > >> the services written for older FreeBSD releases, or other operating > >> systems, which were written to use rc.d scripts. > >> > >> Shall we move abi to be started before SERVERS? > >=20 > > Seems fine, I'd recommend: > >=20 > > # REQUIRE: mountcritremote > > # BEFORE: SERVERS > >=20 > > The current requirement of LOGIN makes no sense. >=20 > Agreed on the last, but can we modify SERVERS to REQUIRE abi instead? I > would prefer not to add new instances of BEFORE in /etc/rc.d without good > reason. I'd also vote for REQUIRE syslogd in abi personally, but I won't > quibble on that point. In the case of pseudo targets, I'm of the opinion that the BEFORE statements are more consistent. I'm not all that thrilled with them in general, but IMO inconsistent of use BEFORE and REQUIRE is the biggest problem. I don't see any logical reason for syslogd to be required. kldload doesn't call syslog, I seriously double linux ldconfig does, and the abi script will always return success. > One quick meta-issue if I can hijack Xin's thread for a minute, now that = we > are including the local scripts in the overall rcorder, and as more ports > are converted to take advantage of this, we will see more of these instan= ces > where the stuff in the base that always "just worked" before will need to= be > twiddled. This is expected, and I thank Xin for bringing this one to our > attention. Agreed. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --y0ulUmNC+osPPQO6 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFD9lz5XY6L6fI4GtQRAltfAJ9g4S6SeOEJv7P8mIXqydGFq2mpWQCeN4aH K/+CbM/5wb631M3lGEKN+oU= =PnCs -----END PGP SIGNATURE----- --y0ulUmNC+osPPQO6--