Uploaded image for project: 'TrueNAS'
  1. TrueNAS
  2. NAS-109829

Operation not permitted accessing snapshots in jailed dataset

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Engineering Closed (View Workflow)
    • Priority: Low
    • Resolution: Third Party to Resolve
    • Affects Version/s: 12.0-U1, 12.0-RELEASE, 12.0-U2, 12.0-U1.1, 12.0-U2.1
    • Fix Version/s: N/A
    • Component/s: None
    • Impact:
      Medium

      Description

      Setup: jailed dataset is configured and given a mountpoint

      root@host# iocage create -r 12.2-RELEASE -n gaol
      root@host# iocage set jail_zfs=1 gaol
      root@host# iocage console -f gaol
      root@gaol# zfs set mountpoint=/data  tank/iocage/jails/gaol/data

      Snapshots can be created and destroyed but contents cannot be accessed via .zfs path:

      root@gaol# zfs snapshot tank/iocage/jails/gaol/data@testsnap
      root@gaol# cd /mnt/data/.zfs/snapshot
      root@gaol# ls
        testsnap
      root@gaol# cd testsnap
      ls: testsnap: Operation not permitted.

       

        Attachments

          Attachments

            JEditor

              Activity

                People

                Assignee:
                releng Triage Team
                Reporter:
                meku meku
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: