From owner-freebsd-current Wed Nov 27 17:31:52 2002 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 556D037B401 for ; Wed, 27 Nov 2002 17:31:50 -0800 (PST) Received: from mail.identd.net (matrix.identd.net [64.172.21.201]) by mx1.FreeBSD.org (Postfix) with SMTP id E2C5443EA9 for ; Wed, 27 Nov 2002 17:31:49 -0800 (PST) (envelope-from mtm@identd.net) Received: (qmail 34043 invoked by uid 1007); 28 Nov 2002 01:31:45 -0000 Date: Wed, 27 Nov 2002 17:31:45 -0800 From: Mike Makonnen To: Sergey Mokryshev Cc: freebsd-current@freebsd.org Subject: Re: rc_ng breakage introduced with src/etc/rc.d/Makefile 1.5 Message-ID: <20021128013145.GB33807@matrix.identd.net> References: <20021127140605.GA31126@matrix.identd.net> <20021128010130.B620-100000@lemori.mokr.ru> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="6sX45UoQRIJXqkqR" Content-Disposition: inline In-Reply-To: <20021128010130.B620-100000@lemori.mokr.ru> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD/4.7-STABLE (i386) Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --6sX45UoQRIJXqkqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 28, 2002 at 01:31:26AM +0300, Sergey Mokryshev wrote: [ snip ] > > ldconfig does not have proper anchor and is mistakenly ordered to run > first (without any filesystems mounted (except R/O root) yet). This is a good example of why I didn't support the removal of the NetBSD scripts when it was done. However, I can also understand Gordon't point of view and why he removed them: namely, because of rc.d bloat, confusing u= sers, and the implied suggestion that we support those scripts on our platform (c= orrect me if I'm wrong Gordon). > > * So I'm complaining mostly about removing files without fixing > dependencies in the remaining scripts * > > Probably the best solution is to backout rev 1.5 of > src/etc/rc.d/Makefile. It was tested before 5.0-DP2 and it just > works. The dependencies are fine for the default order. I don't think there was any implicit or explicit guarantee that if you changed the order things wouldn't break. For your particular situation I think the following will give the desired order: 1. Leave rc.d/named alone 2. Modify rc.d/ldconfig : # REQUIRE: SERVERS # BEFORE: named Cheers. --=20 Mike Makonnen GPG Key-ID: 0xDBCC68B9 GPG-KEY: http://www.identd.net/~mtm/mtm.asc Key fingerprint =3D D228 1A6F C64E 120A A1C9 A3AA DAE1 E2AF DBCC 68B9 --6sX45UoQRIJXqkqR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE95XIA2uHir9vMaLkRAtr1AJ9GLpmRu4bMUqtgzPHmp7jm6raQrACdEFQt Bsw/DM3AKFWkFuLzQNl4CTM= =tu6+ -----END PGP SIGNATURE----- --6sX45UoQRIJXqkqR-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message