From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 20:54:23 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 13224106566C for ; Mon, 19 Jul 2010 20:54:23 +0000 (UTC) (envelope-from gull@gull.us) Received: from mail7.sea5.speakeasy.net (mail7.sea5.speakeasy.net [69.17.117.52]) by mx1.freebsd.org (Postfix) with ESMTP id D96048FC13 for ; Mon, 19 Jul 2010 20:54:22 +0000 (UTC) Received: (qmail 10666 invoked from network); 19 Jul 2010 20:54:22 -0000 Received: from dsl081-163-112.sea1.dsl.speakeasy.net (HELO ringbill.gull.us) ([64.81.163.112]) (envelope-sender ) by mail7.sea5.speakeasy.net (qmail-ldap-1.03) with AES256-SHA encrypted SMTP for ; 19 Jul 2010 20:54:22 -0000 Received: from localhost ([127.0.0.1] helo=www.gull.us) by ringbill.gull.us with esmtp (Exim 4.71 (FreeBSD)) (envelope-from ) id 1OaxLx-0002PN-Di for freebsd-questions@freebsd.org; Mon, 19 Jul 2010 13:54:21 -0700 Received: from d-69-91-158-67.dhcp4.washington.edu ([69.91.158.67]) (SquirrelMail authenticated user gull) by www.gull.us with HTTP; Mon, 19 Jul 2010 13:54:21 -0700 Message-ID: <99458820158da6e9d05f9bcb05c7fb3f.squirrel@www.gull.us> In-Reply-To: <20100719194754.GL5485@dan.emsphone.com> References: <80AD3593-1170-4346-A4EE-4274085D6570@gull.us> <001501cb1db5$b3db2240$1b9166c0$@wakefield.sch.uk> <6341639666e4d0c65cd1b29a89e64beb.squirrel@www.gull.us> <2e47f936a2985dda9c655b79c0f00091.squirrel@www.gull.us> <20100719194754.GL5485@dan.emsphone.com> Date: Mon, 19 Jul 2010 13:54:21 -0700 From: "David Brodbeck" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Subject: Re: Samba gives "invalid PT_PHDR" after upgrading from 7.2-RELEASE to 7.3-RELEASE X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Jul 2010 20:54:23 -0000 On Mon, July 19, 2010 12:47 pm, Dan Nelson wrote: > In the last episode (Jul 19), David Brodbeck said: >> That doesn't work, unfortunately. Once you rename ld-elf.so.1 to >> ld-elf.so.1.old, trying to run any further commands -- even mv and cp -- >> fails with an error. (I didn't write down which one; something about >> failing to load the ELF interpreter, I think.) I know, I managed to >> cripple my system that way. I had to boot a LiveCD to recover, because >> it >> couldn't even load /bin/sh to get into single-user mode. > > A better method would be to copy (not move) the file to a backup location, > then either use mv or install to install the new version. Also, the > programs in /rescue/ are statically linked so they can be used to recover > if > you end up losing ld-elf.so.1 or other critical shared libs. That was actually what I tried first, but I got a file in use error when I tried to overwrite it with the new version. Good to know about /rescue. I'll remember that next time something like this happens.