From owner-freebsd-current@FreeBSD.ORG Thu Apr 17 15:16:30 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 F2AA337B401 for ; Thu, 17 Apr 2003 15:16:29 -0700 (PDT) Received: from mail.yadt.co.uk (yadt.demon.co.uk [158.152.4.134]) by mx1.FreeBSD.org (Postfix) with SMTP id EB26243FDF for ; Thu, 17 Apr 2003 15:16:24 -0700 (PDT) (envelope-from davidt@yadt.co.uk) Received: (qmail 15930 invoked from network); 17 Apr 2003 22:16:23 -0000 Received: from gattaca.local.yadt.co.uk (HELO mail.gattaca.yadt.co.uk) (qmailr@10.0.0.2) by xfiles.yadt.co.uk with SMTP; 17 Apr 2003 22:16:23 -0000 Received: (qmail 20445 invoked by uid 1000); 17 Apr 2003 22:16:22 -0000 Date: Thu, 17 Apr 2003 23:16:22 +0100 From: David Taylor To: current@freebsd.org Message-ID: <20030417221622.GA18079@gattaca.yadt.co.uk> Mail-Followup-To: current@freebsd.org References: <20030417141133.GA4155@madman.celabo.org> <20030417144449.GA4530@madman.celabo.org> <200304171535.h3HFZEFs094589@strings.polstra.com> <20030418014500.B94094@iclub.nsu.ru> <200304171944.h3HJi1jK095151@strings.polstra.com> <3E9F0A28.8030906@btc.adaptec.com> <3E9F1C15.7080702@acm.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3E9F1C15.7080702@acm.org> User-Agent: Mutt/1.4.1i Subject: Re: Going Dynamic (Was: HEADS UP: new NSS) 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: Thu, 17 Apr 2003 22:16:30 -0000 On Thu, 17 Apr 2003, Tim Kientzle wrote: > 2) Build a separate set of statically-linked > binaries for emergency use. I've already > done this, and the patches are currently > being reviewed. They add a /rescue directory > which uses crunchgen to pack most of /bin, /sbin, > and select other pieces into a nice small package. > Gauranteed to work even if you hose ld.so. > > Note that the standard /bin and /sbin will continue > to be used during boot and normal system operation. > Since they're dynamically linked, dlopen() works > and NSS, PAM, etc, can be used. If things Hmm, but if /sbin/mount_ufs (say) is dynamically linked, and the libraries are still in /usr, how do you mount /usr? > go awry, then the /rescue directory will have > fully static versions of standard utils that can > be used to repair the system. The /rescue utils > won't be able to fully use NSS or PAM, of course, > but if you're booting single user to repair a hosed > /usr partition, you probably don't really need NSS. ;-) I think I could just about survive without NSS :) > I have Luke's full outline for transitioning to > a dynamic system around here somewhere.... > > > >If switching to a fully dynamically linked system is desired before > >6.0 then it needs to happen before 5.2. I'm not opposed to this. > > > As I said, I've already done a chunk of work > for this. If someone would like to help finish... If there's a list of tasks that need to be done, I'd be willing to see what I can do (although I'm going back to uni next week)... -- David Taylor davidt@yadt.co.uk "The future just ain't what it used to be"