From owner-freebsd-current@FreeBSD.ORG Thu Feb 16 10:03:46 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 8EE20106567C; Thu, 16 Feb 2012 10:03:46 +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 3E04B8FC23; Thu, 16 Feb 2012 10:03: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 <1RxyBP-0007X5-AZ>; Thu, 16 Feb 2012 11:03:23 +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 <1RxyBP-0000F2-77>; Thu, 16 Feb 2012 11:03:23 +0100 Message-ID: <4F3CD464.6090507@mail.zedat.fu-berlin.de> Date: Thu, 16 Feb 2012 11:03:16 +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: Dimitry Andric References: <4F3B89FC.4020802@mail.zedat.fu-berlin.de> <4F3B9B4C.5070508@FreeBSD.org> <20120215120130.GP93151@e-new.0x20.net> <4F3BA719.3060702@mail.zedat.fu-berlin.de> <4F3BABDE.30908@FreeBSD.org> In-Reply-To: <4F3BABDE.30908@FreeBSD.org> X-Enigmail-Version: 1.3.5 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4280B183EAC7EEC418616E2C" X-Originating-IP: 130.133.86.198 X-Mailman-Approved-At: Thu, 16 Feb 2012 12:14:10 +0000 Cc: Current FreeBSD , Lars Engels , Andriy Gapon , krassi@bulinfo.net 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: Thu, 16 Feb 2012 10:03:46 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4280B183EAC7EEC418616E2C Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 02/15/12 13:58, Dimitry Andric wrote: > On 2012-02-15 13:37, O. Hartmann wrote: >> ;-) Problem: I can not even login anymore, since I have "insecured" th= e >> console for security reasons and the shell is rejecting due to a symbo= l >> missing. I tried booting into single user mode, but that doesn't help >> much. >=20 > When booting in single user mode, use /rescue/sh as initial shell. Thi= s > is statically linked, so should always be able to run. Then use the > tools in /rescue to copy back a known good libc.so.7. Last night I did and tried with no success. First I booted from a boot-only cd. After copying libc.so.7, I still received on binaries of the local disc Symbol "_ThreadRuneLocal" not found. So I copied all libs from cd to /lib/ on disc. That helped - for short. I tried to build world again with no success, since cc was missing on the boot/rescue cd. So I booted the regular system again and tried building world. It failed, clang obviously suffered from the same missing symbol. The I did make clean cleandepend depend obj all install in folder /usr/src/lib. But after a reboot, I found myself confronted with the same initial situation when I started the thread. I guess I have "old" binaries and now too recent libs? I fear I'm missing one little specific point to repair the system. Regards, Oliver --------------enig4280B183EAC7EEC418616E2C 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) iQEcBAEBAgAGBQJPPNRrAAoJEOgBcD7A/5N8DQIH/RIUJzGEzKhn6Zn4aIf5P3z4 Mbfe8qDsSvLex0fs6XmwXj/zI3Gqi49e/r4d1dHtlHCSD3Toa3V7PIT4WO1uIZlC tK7otrWm1nHjwv/SudMjT3gQ5FMPnYo4vlEip1YICNmpVKzxi17tqTDZIGLIITHu 6Q13dEcHtF61zn0ATPanU5GPmLL+UOuJgUxKqtjjcTWYHtujqUp/tsgRPqWmu5Ya 5r+MtaKZcTgKkPeXBP+Mv2IWn6uFOuH7lS0HXV/XO/HT6rau6B2WBAx9nLnXgvCE jL/STArTb7O0hm9Pex+MaLvtp4e7O/b8l34wJ4QsdWCEEUDmOiYuaa3364u5OIg= =5wfP -----END PGP SIGNATURE----- --------------enig4280B183EAC7EEC418616E2C--