From owner-freebsd-current Thu Nov 28 11: 9:30 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 1250537B401 for ; Thu, 28 Nov 2002 11:09:29 -0800 (PST) Received: from lemori.mokr.ru (lemori.mokr.ru [212.16.28.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 88A3C43EDA for ; Thu, 28 Nov 2002 11:09:27 -0800 (PST) (envelope-from mokr@mokr.net) Received: from lemori.mokr.ru (lemori.mokr.ru [212.16.28.194]) by lemori.mokr.ru (8.12.3/8.12.6/20021103185140) with ESMTP id gASJ9Lr1046201; Thu, 28 Nov 2002 22:09:21 +0300 (MSK) (envelope-from mokr@mokr.net) Date: Thu, 28 Nov 2002 22:09:21 +0300 (MSK) From: Sergey Mokryshev X-X-Sender: mokr@lemori.mokr.ru To: Mike Makonnen Cc: freebsd-current@freebsd.org Subject: Re: rc_ng breakage introduced with src/etc/rc.d/Makefile 1.5 In-Reply-To: <20021128013145.GB33807@matrix.identd.net> Message-ID: <20021128215647.U620-100000@lemori.mokr.ru> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-milter (http://amavis.org/) 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 On Wed, 27 Nov 2002, Mike Makonnen wrote: > 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 users, > and the implied suggestion that we support those scripts on our platform (correct > 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 > Mike, I have no problem myself, I've already done this (a similar one) change. (Anyway, thank you :-) ) I'm keeping in mind new users and upgrades from FreeBSD4 when 5.0 become -RELEASE and -STABLE? The rc_ng scripts is left in useful, but unstable state, there are many possibilities that someone will hit the same problem. May be we should put some of the scripts back? At least I'd prefer to put back every script with a cross-reference. The other solution is to rework every rc.d script and change references of the missing ones. Leaving scripts the way it is now is not a good thing (Just a MHO). Sincerely yours, Sergey Mokryshev. -- Sergey S. Mokryshev SMP453, MOKR-RIPN To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message