ls -al .zfs/snapshots dir reboots machine
Hidetoshi Shimokawa
simokawa at FreeBSD.ORG
Wed Apr 18 04:10:50 UTC 2007
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 at 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 at 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 at 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 at FreeBSD.org http://www.FreeBSD.org
> FreeBSD committer Am I Evil? Yes, I Am!
>
>
--
/\ Hidetoshi Shimokawa
\/ simokawa at FreeBSD.ORG
More information about the freebsd-current
mailing list