From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QWoO7-00069W-9Q for garchives@archives.gentoo.org; Wed, 15 Jun 2011 11:35:59 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6CC21C00B; Wed, 15 Jun 2011 11:34:24 +0000 (UTC) Received: from smtp4-g21.free.fr (smtp4-g21.free.fr [212.27.42.4]) by pigeon.gentoo.org (Postfix) with ESMTP id D10D21C00B for ; Wed, 15 Jun 2011 11:34:23 +0000 (UTC) Received: from [192.168.0.4] (unknown [88.173.198.38]) by smtp4-g21.free.fr (Postfix) with ESMTP id 6F9214C80E6 for ; Wed, 15 Jun 2011 13:34:19 +0200 (CEST) Subject: Re: [gentoo-hardened] Tips for upgrading to the current stable gentoo hardened? From: =?ISO-8859-1?Q?Jean-Fran=E7ois?= Maeyhieux To: gentoo-hardened@lists.gentoo.org In-Reply-To: <201106151055.12918.karlis.repsons@gmail.com> References: <201106151055.12918.karlis.repsons@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-kgzfnUVzWiTaXTumoeHa" Organization: Zentoo Date: Wed, 15 Jun 2011 13:35:59 +0200 Message-ID: <1308137759.29639.14.camel@Zentoo-1.waves.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-hardened@lists.gentoo.org Reply-to: gentoo-hardened@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Archives-Salt: X-Archives-Hash: acaea51d726e466acbb78f9ed9749630 --=-kgzfnUVzWiTaXTumoeHa Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: quoted-printable Hi ! another "hardcore" solution could be to create a chroot fresh installation whithin you import your system's preferences: - Create directory - Untar last hardened stage 3 - Copy your /etc in the chroot - Copy your world file in the chroot - Copy any kind of data or local aplication to your chroot - chroot and update your system - when things is done, test it - wipe your old gentoo and move your chrooted one on / that's "hardcore" but permit me several times to ressucite a old gentoo system. IF you can't do it, the normal way is: - Recompile your toolchain by compiling twice this ports: virtual/portage virtual/os-headers sys-libs/glibc sys-devel/binutils-confi= g sys-devel/binutils sys-devel/gcc-config (don't forget to switch your gcc on the way and to clean your ccache if y= ou use it) - Recompile your system (emerge -Davut system) - Finally recompile your world. TIPS: use of revdep-rebuild and lafilefixer could help on the way... Hoping that could help you to update your old gentoo. =09 On Wed, 2011-06-15 at 10:55 +0000, Krlis Repsons wrote: > Hi all, >=20 > I've got a machine, which hasn't been upgraded for some 2 years or less. = It=20 > has GCC-4.3.4 and now I tried to upgrade to 4.5.2, but something failed. = So=20 > I'm here to ask for the right sequence of upgrades and other actions befo= re=20 > it's too late... >=20 > These actions done already: > 1. updated binutils, > 2. updated glibc, > 3. unmerged and re-emerged libtool (had a blocker), > 4. tried with the new GCC, but failed with some unclear problems, > 5. switched to vanilla GCC and now compile glibc... >=20 > So have I done something bad or what should I do to be sure that the upgr= ade=20 > goes as smooth as possible? Thanks... --=20 ---------------------------------------------------------------------------= ----------- Jean-Franois Maeyhieux ---------------------------------------------------------------------------= ----------- PGP Public Key - Key ID =3D 63DB4770 Tuttle (JFM) http://pgpkeys.mit.edu:11371/pks/lookup?op=3Dget&search=3D0x63DB4770 ---------------------------------------------------------------------------= ----------- --=-kgzfnUVzWiTaXTumoeHa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk34mR8ACgkQHVRy9WPbR3BH6ACfREPYCklw8UI7n/XnG2HM3pNC DroAn2RP5rvGWb/TC7vVvTNdUt2syc1u =vg+V -----END PGP SIGNATURE----- --=-kgzfnUVzWiTaXTumoeHa--