[Bug 274263] Access to zfs snapshots within a jail return EPERM after a while of operation
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 18 Jun 2024 09:03:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274263 --- Comment #6 from Andrew <andrew.hotlab@hotmail.com> --- I just managed to find the solution while I was asking for help in this Matrix room: #lobby:matrix-dev.freebsd.org @dch pointed me to looking at jails parameters, and I discovered "zfs.mount_snapshot", which was introduced by this upstream commit: https://github.com/openzfs/zfs/pull/13758/files, and ported to FreeBSD by this one: https://cgit.freebsd.org/src/commit/sys/contrib/openzfs/module/os/freebsd/zfs/zfs_vfsops.c?id=dbd5678dc You can find more info about this in Bug 260160, which I think this one can be set the duplicate of. Personally, I think that "zfs.mount_snapshot" deserves to be referenced in jail(8), or maybe it should have been set to "1" by default, in order to preserve the behavior of jails in pre-OpenZFS FreeBSD versions. Such a PR would never have been created in both of cases. -- You are receiving this mail because: You are the assignee for the bug.