Date: Mon, 03 Jan 2022 04:03:00 +0000 From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 260894] Nonexportable file systems are usable over NFSv4 Message-ID: <bug-260894-3630-08e5nmKMWS@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-260894-3630@https.bugs.freebsd.org/bugzilla/> References: <bug-260894-3630@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=3D260894 --- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> --- Hmm. There is a hack that allows certain NFSv4 operations to be done on file systems that are not exported. This was done so that the tree (which, unlike NFSv3 can be multiple file systems) could be traversed to get to the exported file systems. (Lookup is allowed. I can't remember if Readdir is also allowed.) Try doing something like writing to a file in /mnt and see if that is allowed. Also, try making /mnt the root in the V4: line on /etc/exports and see how that works? (If you haven't looked, vfs_export() is only called after VFS_MOUNT() returns 0 in vfs_domount_update(), so the kernel exports should not be on /mnt.) --=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-260894-3630-08e5nmKMWS>