From owner-freebsd-current@FreeBSD.ORG Fri Aug 7 23:18:36 2009 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 F19BB106564A for ; Fri, 7 Aug 2009 23:18:36 +0000 (UTC) (envelope-from drew@mykitchentable.net) Received: from smtp1.mc.surewest.net (qsmtp.mc.surewest.net [66.60.130.145]) by mx1.freebsd.org (Postfix) with SMTP id BB3E68FC1E for ; Fri, 7 Aug 2009 23:18:36 +0000 (UTC) Received: (qmail 21971 invoked from network); 7 Aug 2009 16:43:55 -0700 Received: by simscan 1.1.0 ppid: 21949, pid: 21950, t: 2.3925s scanners: regex: 1.1.0 attach: 1.1.0 spam: 3.1.7-deb X-Spam-Checker-Version: SpamAssassin 3.1.7-deb (2006-10-05) on smtp1.surewest.net X-Spam-Level: X-Spam-Status: No, score=0.0 required=10.0 tests=none autolearn=disabled version=3.1.7-deb X-Spam-CMAE-Analysis: v=1.0 c=1 a=SJ7wkGFtzxwA:10 a=jDt-9pEAAAAA:8 a=CV_xOncx0VFye92mvd8A:9 a=365K-mH8yKcK37yIJDtXnaxlcaEA:4 a=MSl-tDqOz04A:10 Received: from unknown (HELO blacklamb.mykitchentable.net) (69.62.230.77) by smtp1 with SMTP; 7 Aug 2009 16:43:53 -0700 Received: from [192.168.2.3] (unknown [192.168.2.3]) by blacklamb.mykitchentable.net (Postfix) with ESMTPA id 90366164D16; Fri, 7 Aug 2009 16:18:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=mykitchentable.net; s=default; t=1249687111; bh=PNfen9P2iQzQUweTMu1TOBX8BXnahO9b/BPrF71xv4s=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type:Content-Transfer-Encoding; b=wRqNFG+6mwO/VCiWsJqqPG0jCsXvM2+savUp2h///MD4zHVMtFpPTuglhRY3NGkkT lDbyXm5pmJkJHpdBW7PXsvUnIBEO2/6+LLBV2urtM763sn5n80q8i63K0ASJyJLgEm uD6fBWIKzuckMy6VKQZd39LGOORRTO9lgeMH6HlE= Message-ID: <4A7CB647.80201@mykitchentable.net> Date: Fri, 07 Aug 2009 16:18:31 -0700 From: Drew Tomlinson User-Agent: Thunderbird 2.0.0.22 (X11/20090805) MIME-Version: 1.0 To: Ed Schouten References: <4A7C7220.2090309@mykitchentable.net> <4A7C72E0.8080303@acm.poly.edu> <4A7C77B6.8000209@mykitchentable.net> <58c737d70908071156l2f5f2deds526a996ef9f386b@mail.gmail.com> <20090807190350.GO1292@hoeg.nl> <20090807191454.GP1292@hoeg.nl> In-Reply-To: <20090807191454.GP1292@hoeg.nl> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: Chris Ruiz , freebsd-current@freebsd.org Subject: Re: [Fwd: How To Recover From Missing /lib/libc.so.7?] 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: Fri, 07 Aug 2009 23:18:37 -0000 Ed Schouten wrote: > * Ed Schouten wrote: > >> * Chris Ruiz wrote: >> >>> You must specify NO_FSCHG= when you installworld on an unupgraded ZFS >>> filesystem, otherwise you will lose libc.so.7! I'll spare you the >>> details on why this happens. >>> >> Which is because our install(1) is stupid enough to delete the resulting >> binary if it can't add the schg flag. We should really change this >> behaviour. >> > > It looks like there are actually two bugs: > > - install(1) does check for EOPNOTSUPP, while ZFS seems to return > EINVAL. This is probably a ZFS bug. > - Inside jails, (un)setting schg is not permitted and returns EPERM. We > should change the VFS to return EOPNOTSUPP or install(1) to allow > EPERM as well. > > It's a bit late, but I think it would be nice to have this fixed before > 8.0. > I guess this answers my previous question regarding if the NO_FSCHG= is documented... Thanks, Drew -- Be a Great Magician! Visit The Alchemist's Warehouse http://www.alchemistswarehouse.com