From owner-freebsd-current@FreeBSD.ORG Wed Apr 18 04:10:50 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 52B9516A403 for ; Wed, 18 Apr 2007 04:10:50 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.181]) by mx1.freebsd.org (Postfix) with ESMTP id 1941B13C480 for ; Wed, 18 Apr 2007 04:10:49 +0000 (UTC) (envelope-from freebsd@gm.nunu.org) Received: by py-out-1112.google.com with SMTP id f31so24273pyh for ; Tue, 17 Apr 2007 21:10:49 -0700 (PDT) Received: by 10.35.33.15 with SMTP id l15mr212150pyj.1176869449468; Tue, 17 Apr 2007 21:10:49 -0700 (PDT) Received: by 10.35.52.3 with HTTP; Tue, 17 Apr 2007 21:10:49 -0700 (PDT) Message-ID: <626eb4530704172110t45c5e85fmcbebc99d744586ce@mail.gmail.com> Date: Wed, 18 Apr 2007 13:10:49 +0900 From: "Hidetoshi Shimokawa" Sender: freebsd@gm.nunu.org To: "Pawel Jakub Dawidek" In-Reply-To: <20070417212503.GH8741@garage.freebsd.pl> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <57200BF94E69E54880C9BB1AF714BBCBB521@w2003s01.double-l.local> <20070416094918.GC1068@garage.freebsd.pl> <46234D8E.8020501@yandex.ru> <20070417212503.GH8741@garage.freebsd.pl> X-Google-Sender-Auth: ab260f74554b79a0 Cc: "Andrey V. Elsukov" , freebsd-current@freebsd.org, Johan Hendriks Subject: Re: ls -al .zfs/snapshots dir reboots machine 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: Wed, 18 Apr 2007 04:10:50 -0000 I can still reproduce the problem. Please try the attached script. You need to set TESTFS and unprivileged USER appropriately. > sudo sh -x zfs-hangs.sh + TESTFS=pool/testfs + USER=simokawa + zfs create pool/testfs + zfs snapshot pool/testfs@snap + cd /pool/testfs/.zfs/snapshot + su simokawa -c /bin/ls -F ls: snap: Operation not permitted + /bin/ls -F ls: snap: No such file or directory + /bin/ls -F ^C^C^C(hangs) ----------- #!/bin/sh -x TESTFS=pool/testfs USER=simokawa zfs create $TESTFS zfs snapshot $TESTFS@snap cd /$TESTFS/.zfs/snapshot # this should be failed su $USER -c "/bin/ls -F" /bin/ls -F /bin/ls -F ----------- On 4/18/07, Pawel Jakub Dawidek wrote: > On Mon, Apr 16, 2007 at 02:18:54PM +0400, Andrey V. Elsukov wrote: > > Pawel Jakub Dawidek wrote: > > >On Mon, Apr 16, 2007 at 10:16:48AM +0200, Johan Hendriks wrote: > > > > >It works just fine here, so I'm afraid I need more info. Can you setup > > >kernel dumps? > > > > Some time ago i've reported about a similar problem: > > http://lists.freebsd.org/pipermail/freebsd-current/2007-April/070789.html > > Should be fixed now. Stupid leftover. > > -- > Pawel Jakub Dawidek http://www.wheel.pl > pjd@FreeBSD.org http://www.FreeBSD.org > FreeBSD committer Am I Evil? Yes, I Am! > > -- /\ Hidetoshi Shimokawa \/ simokawa@FreeBSD.ORG