Date: Wed, 18 Apr 2007 13:10:49 +0900 From: "Hidetoshi Shimokawa" <simokawa@FreeBSD.ORG> To: "Pawel Jakub Dawidek" <pjd@freebsd.org> Cc: "Andrey V. Elsukov" <bu7cher@yandex.ru>, freebsd-current@freebsd.org, Johan Hendriks <Johan@double-l.nl> Subject: Re: ls -al .zfs/snapshots dir reboots machine Message-ID: <626eb4530704172110t45c5e85fmcbebc99d744586ce@mail.gmail.com> In-Reply-To: <20070417212503.GH8741@garage.freebsd.pl> References: <57200BF94E69E54880C9BB1AF714BBCBB521@w2003s01.double-l.local> <20070416094918.GC1068@garage.freebsd.pl> <46234D8E.8020501@yandex.ru> <20070417212503.GH8741@garage.freebsd.pl>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <pjd@freebsd.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?626eb4530704172110t45c5e85fmcbebc99d744586ce>