From owner-freebsd-stable@FreeBSD.ORG Wed May 27 21:00:02 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F116310656D3 for ; Wed, 27 May 2009 21:00:01 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (tokyo01.jp.mail.your.org [204.9.54.5]) by mx1.freebsd.org (Postfix) with ESMTP id A885A8FC21 for ; Wed, 27 May 2009 21:00:01 +0000 (UTC) (envelope-from toasty@dragondata.com) Received: from tokyo01.jp.mail.your.org (localhost.your.org [127.0.0.1]) by tokyo01.jp.mail.your.org (Postfix) with ESMTP id A8E532AD6030; Wed, 27 May 2009 20:44:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=dragondata.com; h=cc :message-id:from:to:in-reply-to:content-type :content-transfer-encoding:mime-version:subject:date:references; s=selector1; bh=jfxmsPT9gqCq/tUFIAUhUo/S38Q=; b=H/2Xv6NcYn8yXVP Wm8+HWuR6VFhQi7O/TR4L5F6ewT7fFiBxmu30tE69j/qRS2C9zZWy2NGB4Gw9Kja obM8qMgjbF5aqXE5c9sQueuq/7Fi/VN69imhmJYT2uaiG6E7k45aLxcQ3bbEpy5P wCYQsyXtLHpf21n63ADU+fY9ToqM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=dragondata.com; h=cc:message-id :from:to:in-reply-to:content-type:content-transfer-encoding :mime-version:subject:date:references; q=dns; s=selector1; b=Yb9 hARV5nGCtk3aWbxtO7V1xYHEbOSTAr7l0Ih1HMKsTMw0M5pqsMiHIQy21uyYS9/D SPQFrJDeBVRs08CIYZ56sMJF7FZjAAJlAzpfKQJbZX+2r8FcaET9b4Ac4teu3lFU Vkuwcpf1iFFeOV1wOLFA9Rb57uWUZ4i91cVJrFiU= Received: from mail.your.org (server2-a.your.org [216.14.97.66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by tokyo01.jp.mail.your.org (Postfix) with ESMTPS id 6CFCE2AD6023; Wed, 27 May 2009 20:44:10 +0000 (UTC) Received: from [216.14.99.244] (unknown [216.14.99.244]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.your.org (Postfix) with ESMTPSA id 719792C900A; Wed, 27 May 2009 20:44:09 +0000 (UTC) Message-Id: <22308B21-1346-4FE5-8332-EB107E9CBD2A@dragondata.com> From: Kevin Day To: Steve Bertrand In-Reply-To: <4A1D6F36.3030008@ibctech.ca> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Wed, 27 May 2009 15:44:08 -0500 References: <4A1D6F36.3030008@ibctech.ca> X-Mailer: Apple Mail (2.935.3) Cc: FreeBSD Subject: Re: I've borked my ZFS system upgrading to -STABLE X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 May 2009 21:00:02 -0000 On May 27, 2009, at 11:49 AM, Steve Bertrand wrote: > Hey all, > > In short, I've got a system with /boot on a USB thumb drive that I > boot > from, which then mounts root and the rest of the system from a 4-disk > ZFS storage pool. > > However, during the upgrade, something didn't go quite right, and now > when I boot, I end up with: > > /libexec/ld-elf.so.1: Shared object "libc.so.7" not found required > by sh While I don't have much help to get you fixed, I can tell you how this likely happened if you did a "make world" or "make installworld" at one point. The installworld script is told that /lib/libc.so.x has to have a "chflags schg" applied to it, making it unchangeable. So when installing, it deletes the old libc, copies the new libc over, tries to do a chflags on it, fails because ZFS doesn't support flags, so it deletes libc and gives up. libc is the first file that installworld tries to create using schg, so that's where it fails. The workaround is to do "make installworld NO_FSCHG=" so that it doesn't bother trying to set flags. -- Kevin