Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2025 00:46:32 +0000
From:      bugzilla-noreply@freebsd.org
To:        fs@FreeBSD.org
Subject:   [Bug 284262] nfsd fails to start with nfsv4_server_only but without rpcbind/mountd
Message-ID:  <bug-284262-3630-Zt0aOQCCnY@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-284262-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-284262-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=3D284262

Rick Macklem <rmacklem@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rmacklem@FreeBSD.org

--- Comment #1 from Rick Macklem <rmacklem@FreeBSD.org> ---
(In reply to Thorsten M=C3=BChlfelder from comment #0)
- mountd must be running, because it is what does the exporting
  of file systems. (I suppose it might be possible to run nfsd without
  mountd, but since no file systems would exported, the server
  would be useless.

- If you do not want to run rpcbind, mountd must be run with the
  "-R" option to tell it to not try and talk to rpcbind.

mountd runs as a daemon even with "-R" since exports may be
updated (via changing the exports(5) file and then sending a
SIGHUP to the mountd daemon).

The settings are done in /etc/rc.d/mountd because mountd is
started before nfsd and, as a I noted above, mountd must always be
running before nfsd (nfsd is useless without exported file systems).

You note the the documentation suggests mountd does not need to be
running. Please quote where you read that in the man pages, since
that is not the case and a patch of the man page may be needed.

You always need:
mountd_enable=3D"YES"
in your /etc/rc.conf.
Please try adding this to your /etc/rc.conf. If it works, there
is no bug, except maybe man page issues.

As I've said, there are always improvements needed to the man pages.
If you have a suggested man page patch to clarify this, please post
it to freebsd-fs@freebsd.org.

--=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-284262-3630-Zt0aOQCCnY>