From owner-freebsd-stable@FreeBSD.ORG Mon Jun 29 10:10:09 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 BEB08106566C for ; Mon, 29 Jun 2009 10:10:09 +0000 (UTC) (envelope-from rse@engelschall.com) Received: from visp1.engelschall.com (visp1.engelschall.com [194.97.152.140]) by mx1.freebsd.org (Postfix) with ESMTP id 826A78FC22 for ; Mon, 29 Jun 2009 10:10:09 +0000 (UTC) (envelope-from rse@engelschall.com) Received: by visp1.engelschall.com (Postfix, from userid 21100) id 828623A394; Mon, 29 Jun 2009 12:10:08 +0200 (CEST) Received: by en1.engelschall.com (Postfix, from userid 10000) id 711746DC08; Mon, 29 Jun 2009 12:06:06 +0200 (CEST) Date: Mon, 29 Jun 2009 12:06:06 +0200 From: "Ralf S. Engelschall" To: freebsd-stable@freebsd.org Message-ID: <20090629100606.GA40475@engelschall.com> References: <20090629085330.GA93108@engelschall.com> <4A488DD3.3030507@restart.be> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4A488DD3.3030507@restart.be> Organization: FreeBSD User-Agent: Mutt/1.5.20 OpenPKG/CURRENT (2009-06-14) Subject: Re: FreeBSD 7-STABLE and chflags on ZFS now(?) failing X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ralf S. Engelschall" List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 29 Jun 2009 10:10:10 -0000 On Mon, Jun 29, 2009, Henri Hennebert wrote: > [...] > >install -s -o root -g wheel -m 444 -fschg -S libc.so.7 /lib > >install: /lib/libc.so.7: chflags: Invalid argument > >*** Error code 71 > [...] > >1. I thought chflags support for ZFS was added already in the past. > > Can it be that just a _few_ chflags flags are supported? It looks > > like uchg works while the above schg fails. > I believe that for schg `zfs get version ` > must be 3. > To upgrade this: `zfs upgrade ` Good catch! You're right. Although the kernel is the latest one (ZFSv13) the pool itself was created a longer time ago and hence: | # zfs get version zp1/root | NAME PROPERTY VALUE SOURCE | zp1/root version 1 - > >2. Assuming that schg was never supported on ZFS by us, why did the > > upgrades in the past on this FreeBSD 7-STABLE box never failed until > > now? Why now the first time? I would have expected that it already > > failed from day zero with the above error. > > Just a try to this strange problem: > > `man install` say: > > By default, install preserves all file flags, with the exception of the > ``nodump'' flag. > > With the previous version of zfs there was no flags and so no try to > play with flags during update. Hmmm... ok, this can be the problem. But if this is the case, we at least should notice this problem as such as it will also bite others with older ZFS pools. Yours, -- rse@FreeBSD.org Ralf S. Engelschall FreeBSD.org/~rse rse@engelschall.com FreeBSD committer www.engelschall.com