opnsense-src/usr.sbin/mountd
Rick Macklem 85ad493677 mountd(8): generate a syslog message when the "V4:" line is missing
Daniel reported that NFSv4 mounts were not working despite having
set "nfsv4_server_enable=YES" in /etc/rc.conf.  Mountd was logging a
message that there was no /etc/exports file.
He noted that creating a /etc/exports file with a "V4:" line in it
was needed make NFSv4 mounts work.
At least one "V4:" line in one of the exports(5) file(s) is needed to
make NFSv4 mounts work. This patch fixes mountd.c so that it logs a
message indicting that there is no "V4:" line in any exports(5)
file when NFSv4 mounts are enabled.
To avoid this message being generated erroneously, /etc/rc.d/mountd
is updated to make sure vfs.nfsd.server_max_nfsvers is properly set
before mountd(8) is started.

PR:	253901

(cherry picked from commit 09673fc0f3)
2021-03-27 12:52:15 -07:00
..
exports.5 Update man page for new TLS export options. 2020-11-20 22:14:51 +00:00
Makefile usr.sbin: normalize paths using SRCTOP-relative paths or :H when possible 2017-03-04 11:38:03 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2017-10-31 00:07:04 +00:00
mountd.8 Update man page for -R option added by r376026. 2020-10-24 22:52:29 +00:00
mountd.c mountd(8): generate a syslog message when the "V4:" line is missing 2021-03-27 12:52:15 -07:00
netgroup.5 Renumber copyright clause 4 2017-02-28 23:42:47 +00:00
pathnames.h Modify mountd so that it incrementally updates the kernel exports upon a reload. 2019-06-03 22:58:51 +00:00