From owner-freebsd-questions Sun Jul 22 18: 7:23 2001 Delivered-To: freebsd-questions@freebsd.org Received: from w2xo.pgh.pa.us (18.gibs5.xdsl.nauticom.net [209.195.184.19]) by hub.freebsd.org (Postfix) with ESMTP id 05D0E37B403 for ; Sun, 22 Jul 2001 18:07:19 -0700 (PDT) (envelope-from durham@w2xo.pgh.pa.us) Received: from jimslaptop.int (jimslaptop.int [192.168.5.8]) by w2xo.pgh.pa.us (8.11.3/8.11.3) with ESMTP id f6N1Clm30076; Sun, 22 Jul 2001 21:12:47 -0400 (EDT) (envelope-from durham@w2xo.pgh.pa.us) Date: Sun, 22 Jul 2001 21:04:50 -0400 (EDT) From: Jim Durham X-X-Sender: To: Erik Trulsson Cc: Mark Rowlands , matt , Subject: Re: Security Issues And Iso Images In-Reply-To: <20010723021248.A80079@student.uu.se> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Mon, 23 Jul 2001, Erik Trulsson wrote: > On Sun, Jul 22, 2001 at 08:04:27PM -0400, Jim Durham wrote: > > On Sun, 22 Jul 2001, Mark Rowlands wrote: > > > > > 9) cd /usr/src > > > > > > make buildworld && make buildkernel KERNCONF=YOURKERNEL \ > > > > I don't want to confuse the issue... but I have "an issue" 8-) . Aren't > > you building your kernel against old libs? IMHO you want to do your > > buildworld, then drop to single-user (you can't install a running binary), > > do your installworld, then buildkernel, then installkernel, so that your > > new kernel is built against the newly installed libraries. > > Nope, make buildkernel will use the libraries in /usr/obj that were > built by the previous buildworld. > builworld, buildkernel, installkernel, installworld is the correct > sequence. > You might want to drop into single user mode before the installworld > but as long as the system is quiet that isn't necessary. > Maybe I'm out of date, but how do you replace a running binary that is mapped into address space while it's running? The only way to do it, as far as I know, is to rename it and then create a new binary which will run after a reboot, leaving the old file there with another name. Does the script do all this, or have the rules changed? Also, in my reading somewhere, and I can't find it now of course, it was mentioned that you had to specifically ask for the /obj libs to be used, and the person didn't feel this worked well for some reason I also forget (I forget a lot lately) If you can amplify on the whys of all this, I'm sure there are others who would be very interested. Thanks, Jim To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message