From owner-freebsd-stable@FreeBSD.ORG Wed Oct 19 22:53:52 2005 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CC2FE16A41F for ; Wed, 19 Oct 2005 22:53:52 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7B1C143D62 for ; Wed, 19 Oct 2005 22:53:52 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 4C2F91A3C2A; Wed, 19 Oct 2005 15:53:52 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 61144511F9; Wed, 19 Oct 2005 18:53:51 -0400 (EDT) Date: Wed, 19 Oct 2005 18:53:51 -0400 From: Kris Kennaway To: Ronald Klop Message-ID: <20051019225351.GA77421@xor.obsecurity.org> References: <200510152346.RAA20742@lariat.net> <20051016135752.6bcc6874.dick@nagual.st> <20051019231046.1136a1ea.dick@nagual.st> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="MGYHOYXEY6WxJCY8" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i Cc: dick hoogendijk , freebsd-stable@freebsd.org Subject: Re: 6.0 release date and stability X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 19 Oct 2005 22:53:52 -0000 --MGYHOYXEY6WxJCY8 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 19, 2005 at 11:36:35PM +0200, Ronald Klop wrote: > On Wed, 19 Oct 2005 23:10:46 +0200, dick hoogendijk wrot= e: >=20 > >On Mon, 17 Oct 2005 15:52:00 -0400 > >Vivek Khera wrote: > > > >>On Oct 16, 2005, at 7:57 AM, dick hoogendijk wrote: > > > >>> The *ONLY* question is: will I need to *recompile* all installed > >>> ports if I go from 5.4 to 6.0 release? > >> > >>No, the kernel has COMPAT_FREEBSD5 and COMPAT_FREEBSD4 by default, > >>so just keep those and your shared libs around and you're golden. > >>Of course, ports like lsof which dependon the kernel version will > >>have to be rebuilt, but that's true no matter the version change... > > > >I get contradicting advice. You tell me I'm golden 'cause of the > >compat_xx settings; others tell me it's way better to *recompile* all > >portsto get the cleanest system. > > > >Wat is the best way to get the cleanest FreeBSD-6.x system without > >installing from scratch? Recompile each port? Or use the > >COMPAT_FREEBSD5 layer? >=20 > You are answering your own question I think. > Does the term COMPAT_FREEBSD5 sound as the 'cleanest FreeBSD-6.x'? No. Yo= u =20 > get the cleanest system by recompiling all ports. (portupgrade -fa is you= r =20 > friend here.) >=20 > COMPAT_FREEBSD5 is meant for running FreeBSD-5 binary applications. If yo= u =20 > have them it's ok. If you recompile everything you don't need the =20 > COMPAT_FREEBSD5 stuff. If you don't have the source of some of your =20 > FreeBSD-5 applications you have to run with COMPAT_FREEBSD5. > And the switch to 6 is easier because your 5-applications keep running. Yes. As long as you only use your old 5.x applications, you're fine with just the compat. The problem is when you start to link *new* 6.0 applications with *old* 5.x libraries (e.g. by installing a new port, e.g. a new X application, without rebuilding your 5.x X installation first). =20 Thus, unless you upgrade all your 5.x ports (well, actually "many", i.e. only those that provide libraries or shared object modules, but it's easier to just do "all") you'll end up with 6.0 binaries that are linked to e.g. two versions of libc at once (the 5.x libc and the 6.0 libc), which is a recipe for disaster. Kris --MGYHOYXEY6WxJCY8 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDVs5+Wry0BWjoQKURAn71AKChhRpvBLbJ5TWbvZ4QfVUZDeQ7JQCg2upV 0rxqBW5MEmdhOWo63pdIU/Y= =jdrm -----END PGP SIGNATURE----- --MGYHOYXEY6WxJCY8--