Date: Wed, 15 Feb 2012 13:37:45 +0100 From: "O. Hartmann" <ohartman@mail.zedat.fu-berlin.de> To: Lars Engels <lars.engels@0x20.net> Cc: Current FreeBSD <freebsd-current@FreeBSD.org>, Andriy Gapon <avg@FreeBSD.org> Subject: Re: killed libc.so.7 somehow - help./ISO images of CURRENT Message-ID: <4F3BA719.3060702@mail.zedat.fu-berlin.de> In-Reply-To: <20120215120130.GP93151@e-new.0x20.net> References: <4F3B89FC.4020802@mail.zedat.fu-berlin.de> <4F3B9B4C.5070508@FreeBSD.org> <20120215120130.GP93151@e-new.0x20.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4F3BA719.3060702>