Date: Tue, 18 Jun 2024 09:03:09 +0000 From: bugzilla-noreply@freebsd.org To: jail@FreeBSD.org Subject: [Bug 274263] Access to zfs snapshots within a jail return EPERM after a while of operation Message-ID: <bug-274263-29815-Xn5C7un7Mg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-274263-29815@https.bugs.freebsd.org/bugzilla/> References: <bug-274263-29815@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274263 --- Comment #6 from Andrew <andrew.hotlab@hotmail.com> --- I just managed to find the solution while I was asking for help in this Mat= rix 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 t= his one: https://cgit.freebsd.org/src/commit/sys/contrib/openzfs/module/os/freebsd/z= fs/zfs_vfsops.c?id=3Ddbd5678dc 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 w= ould never have been created in both of cases. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274263-29815-Xn5C7un7Mg>