From owner-freebsd-questions@FreeBSD.ORG Thu Feb 21 17:01:30 2013 Return-Path: Delivered-To: FreeBSD-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id B730A3BA for ; Thu, 21 Feb 2013 17:01:30 +0000 (UTC) (envelope-from Devin.Teske@fisglobal.com) Received: from mx1.fisglobal.com (mx1.fisglobal.com [199.200.24.190]) by mx1.freebsd.org (Postfix) with ESMTP id 867C270F for ; Thu, 21 Feb 2013 17:01:30 +0000 (UTC) Received: from smtp.fisglobal.com ([10.132.206.17]) by ltcfislmsgpa02.fnfis.com (8.14.5/8.14.5) with ESMTP id r1LH0rpp008402 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NOT); Thu, 21 Feb 2013 11:01:24 -0600 Received: from LTCFISWMSGMB21.FNFIS.com ([10.132.99.23]) by LTCFISWMSGHT06.FNFIS.com ([10.132.206.17]) with mapi id 14.02.0309.002; Thu, 21 Feb 2013 11:01:02 -0600 From: "Teske, Devin" To: Bernt Hansson , Fleuriot Damien Subject: RE: I made a mess. libc Thread-Topic: I made a mess. libc Thread-Index: AQHOEECuNs5vgWT6fkOEPkWySY7Dq5iEx6QAgAATJ4D//6szhg== Date: Thu, 21 Feb 2013 17:01:02 +0000 Message-ID: <13CA24D6AB415D428143D44749F57D7201EAC464@ltcfiswmsgmb21> References: <51263091.1080507@bananmonarki.se> <2E4C6324-D93A-46EF-82C4-D7C8F9D06894@my.gd>, <51264295.1040902@bananmonarki.se> In-Reply-To: <51264295.1040902@bananmonarki.se> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.132.253.120] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.9.8327, 1.0.431, 0.0.0000 definitions=2013-02-21_06:2013-02-21,2013-02-21,1970-01-01 signatures=0 Cc: questions FreeBSD , "Teske, Devin" X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Feb 2013 17:01:30 -0000 Is it the base machine that won't boot? I got this ... My latest version of Druid has a very sophisticated "Interactive Disk Repai= r" script that will assemble your system "humpty-dumpty style" while booted= from a CD or Thumb drive (you said you couldn't burn a CD, but it wasn't c= lear whether you could master a thumb drive). http://sourceforge.net/projects/druidbsd/files/FreeBSD-8.3_Druid-1.0b60.iso= /download When you run the "Interactive Disk Repair (IDR) Shell" option, it presents = you with a few questions (like, "I've found a saved network interface in rc= .conf(5) -- would you like me to activate it for you?"), and ultimately mou= nts your system to present a working shell to fix your problems. Important: when it asks you if you want to chroot into the mounted filesyst= em, say NO (you're libc isn't working, so that would be a bad idea) -- rath= er, run from the LiveFS environment where /mnt is your mounted system. Ther= e's even a copy of libc in the LiveFS environment that you can copy over yo= ur old one... cp /cdrom/freebsd/rescue/lib/libc.so.7 /mnt/lib/libc.so.7 (if I recall correctly) --=20 Devin ________________________________________ From: owner-freebsd-questions@freebsd.org [owner-freebsd-questions@freebsd.= org] on behalf of Bernt Hansson [bah@bananmonarki.se] Sent: Thursday, February 21, 2013 7:51 AM To: Fleuriot Damien Cc: questions FreeBSD Subject: Re: I made a mess. libc 2013-02-21 15:43, Fleuriot Damien skrev: > > On Feb 21, 2013, at 3:34 PM, Bernt Hansson wrote: > >> Hello list! >> >> It's me again. >> >> I was happily upgrading my jail make build* and so on. >> >> Make installworld failed with som chflag set on libc.so.7 >> so i left jail and went to the host and tought I fixit from there. >> >> I did remove the chflag and all was well I tought, but no. >> >> Copy it to the jail, someone screamed, ok I'll do that >> >> Well the problem is I copied it to the host amd64 and jail is i386. >> >> the host locked up hard and after a reboot I get >> >> libc.so.7 invalid file format. How do I get it back. >> >> I can not burn a cd with livefs, wich should be on memorystick >> anyway. >> >> Thanks for any help and it's needed. > > > > This is my libc.so.7 from the 19th, for 8-stable amd64, after the patch f= or the security advisory. > > root@pf1:/usr/ports/emulators/fuse # ls -l /lib/libc.so.7 > -r--r--r-- 1 root wheel 1399225 Feb 19 15:27 /lib/libc.so.7 > > root@pf1:/usr/ports/emulators/fuse # md5 /lib/libc.so.7 > MD5 (/lib/libc.so.7) =3D 9e4b09aa6dbc731bf56593b736e9fef1 > > root@pf1:/usr/ports/emulators/fuse # shasum /lib/libc.so.7 > 19e856f287586f52611aca9a4aa8a4104b65fb4e /lib/libc.so.7 > > root@pf1:/usr/ports/emulators/fuse # uname -a > FreeBSD pf1.backbone.dev 8.3-STABLE FreeBSD 8.3-STABLE #6 r247008M: Tue F= eb 19 20:14:57 UTC 2013 root@pf1.backbone.dev:/usr/obj/usr/src/sys/UNIV= ERSAL amd64 > > > I can host the file over HTTP if you want. > That was very nice of you, but how do I get the file into my machine? _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" _____________ The information contained in this message is proprietary and/or confidentia= l. If you are not the intended recipient, please: (i) delete the message an= d all copies; (ii) do not disclose, distribute or use the message in any ma= nner; and (iii) notify the sender immediately. In addition, please be aware= that any message addressed to our domain is subject to archiving and revie= w by persons other than the intended recipient. Thank you.