From owner-freebsd-current@FreeBSD.ORG Wed Feb 15 12:37:47 2012 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 501CA106564A for ; Wed, 15 Feb 2012 12:37:47 +0000 (UTC) (envelope-from ohartman@mail.zedat.fu-berlin.de) Received: from outpost1.zedat.fu-berlin.de (outpost1.zedat.fu-berlin.de [130.133.4.66]) by mx1.freebsd.org (Postfix) with ESMTP id 020498FC0A for ; Wed, 15 Feb 2012 12:37:46 +0000 (UTC) Received: from inpost2.zedat.fu-berlin.de ([130.133.4.69]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1Rxe7F-0003Ro-8U>; Wed, 15 Feb 2012 13:37:45 +0100 Received: from telesto.geoinf.fu-berlin.de ([130.133.86.198]) by inpost2.zedat.fu-berlin.de (Exim 4.69) with esmtpsa (envelope-from ) id <1Rxe7F-0006U1-4s>; Wed, 15 Feb 2012 13:37:45 +0100 Message-ID: <4F3BA719.3060702@mail.zedat.fu-berlin.de> Date: Wed, 15 Feb 2012 13:37:45 +0100 From: "O. Hartmann" User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:10.0.1) Gecko/20120215 Thunderbird/10.0.1 MIME-Version: 1.0 To: Lars Engels References: <4F3B89FC.4020802@mail.zedat.fu-berlin.de> <4F3B9B4C.5070508@FreeBSD.org> <20120215120130.GP93151@e-new.0x20.net> In-Reply-To: <20120215120130.GP93151@e-new.0x20.net> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC03CC46E62F819F6519B5269" X-Originating-IP: 130.133.86.198 X-Mailman-Approved-At: Wed, 15 Feb 2012 12:41:49 +0000 Cc: Current FreeBSD , Andriy Gapon Subject: Re: killed libc.so.7 somehow - help./ISO images of CURRENT X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Wed, 15 Feb 2012 12:37:47 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC03CC46E62F819F6519B5269 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/15/12 13:01, Lars Engels wrote: > On Wed, Feb 15, 2012 at 01:47:24PM +0200, Andriy Gapon wrote: >> on 15/02/2012 12:33 O. Hartmann said the following: >>> Hello. Accidentally, I managed to kill my libc.so.7 and didn't make a= >>> backup. Now my FreeBSD 10/amd64 box, compiled yesterday's world last = time,=20 >>> refuses to do anything since login doesn't work. /bin/sh is missing a= =20 >>> symbol, I forgot the name, it was late last night (and therefore I ma= de=20 >>> that mistake). >>> >>> I thought I could start over with a snapshot emergency/live DVD/CD, b= ut for >>> CURRENT, I can not find any ISO images. Apart from the CTM way, is th= ere >>> another opportunity toget a) ISO images of a more recent CURRENT b) a= >>> working libc.so.7 that will make me rebuilding the system? >>> >>> Sorry for the noise, I'm ashamed about to ask and yes, I will bare th= e=20 >>> laugh. >> >> Tools in /rescue should work without libc, but I am not sure if they w= ould be >> enough to somehow restore libc on your system. >=20 > A static version of fetch(1) would be great for this. ;-) Problem: I can not even login anymore, since I have "insecured" the console for security reasons and the shell is rejecting due to a symbol missing. I tried booting into single user mode, but that doesn't help much. I really fu**ed up the box by stupiditely interrupting the install process at some point letting my finger play tired on the keyboard. The only way is to boot into rescue mission disk/dvd and try copying the corrupted libc with another one ... I hope it doesn't make difference then that most images I saw compile with legacy GCC and I built the whole system with CLANG. Thanks and regards, Oliver --------------enigC03CC46E62F819F6519B5269 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBAgAGBQJPO6cZAAoJEOgBcD7A/5N8UMgIANhfmS+6skG+RfwR1dHCS0tP m54ODmOQaq3RSUMxM9a4t5kddWGZFAuJT6NhXOwElHba4KzephzESMts+eyEHHeU y/dIHxTsdabE5AzZleCR73/y5hQpZkeIkDks5TpOKlP7d0RODSgMnzWOoXBp6Ih9 a/tBucC5FAIPCxku0B4X9CvkGT2jYzdNwOcWE+o22Tllk0xzrINXQ+CsdA5d3WTv 8ilp15xH0bnkt0wjSU/artU7ZMeUYgkBISGEcMKWwFFTDRfyewLhmtJ4zzC55j91 u34pf4Uj4/c3uo51RBoUgF3mi7h68UvaUAwxCL7nl4eH5pUujzxO8DUgEB5Syco= =jCV9 -----END PGP SIGNATURE----- --------------enigC03CC46E62F819F6519B5269--