Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 Aug 2022 17:41:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 251347] NFS hangs on client side when mounted from outside in Jail Tree (BROKEN NFS SERVER OR MIDDLEWARE)
Message-ID:  <bug-251347-227-2ELXSd2fvr@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251347-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-251347-227@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=3D251347

--- 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_n=
ame>
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
yourself

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

--=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-251347-227-2ELXSd2fvr>