https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260160

            Bug ID: 260160
           Summary: zfs jailed: snapshots not accessible
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: b...@freebsd.org
          Reporter: urs.pro...@triamec.com

When setting the property "jailed=on" for a dataset and this dataset is mounted
in a jail: any snapshot will not be accessible:

How to reproduce:

On host create a dataset
   # zfs create zdisk/test
   # zfs set mountpoint=/mnt/famnas
   # zfs set jailed=on zdisk/test

Make sure that /mnt is writable in the jail...
go into jail:
   # zfs list
NAME                       USED  AVAIL     REFER  MOUNTPOINT
zdisk                     5.08T  8.97T       88K  /zdisk
zdisk/test                5.08T  8.97T      136K  /mnt/test

   # zfs snapshot zdisk/test@now
   # ls -li /mnt/myjail/.zfs/snapshot
ls: now: Operation not permitted
total 0

On older FreeBSD versions this worked.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to