[Bug 251347] NFS hangs on client side when mounted from outside in Jail Tree (BROKEN NFS SERVER OR MIDDLEWARE)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 31 Aug 2022 17:41:52 UTC

--- Comment #20 from Devin Teske <dteske@FreeBSD.org> ---
Not sure why null mounts are required.

If you turn on the "mount" option of a jail it will read /etc/fstab.<jail_name>
when starting/stopping the jail wherein the mounts are performed at the host
level. Then you can set a sysctl which will munge the path that is displayed
via "df" inside the jail so that it removes the jail mount dir from the
displayed mounted-on path.

That being said ...

You want NFS in a jail? OK, I dug this out of "the vault" -- try not to hurt

I have attached a patch to allow NFS inside a jail. It's probably specific to
amd64 though.

See attached nfs_for_vnet_jail.patch

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