From nobody Thu Jan 23 00:46:32 2025 X-Original-To: fs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Ydj1j1L54z5lKqM for ; Thu, 23 Jan 2025 00:46:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Ydj1h727pz3qNx for ; Thu, 23 Jan 2025 00:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737593193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GrOJKXzU1FxdISl6cD+qUp8CyFN8PZ4JRiQgCVeCVjs=; b=a/b6Oe4FblaYDQu+xdt3M+JsnNvWP+8tS52MpZoTJzcUiJggqaE61GQMGZzzgy5/sLbvXX NwPWMUj9yHzoRb85sMXAPPt9p77LO+1D+ugENBVjzHL/T9szsP0/C0xw+nSwyE5YxAm55F FSfzaLHDE/UaDIZZkCUIbvGbuk1z99RKy3g8jhBmZPMuPkmFJkaDd0c5I6WNQ8G6MMtIJY HAQt4FQtpONj9bMZAyf72EYkl00b9jdHCQ2xLERKlq5wEHLYKUVyRDx/KjaGNIACln1DRz Ahg0PnwpCJMNKGDVPhZoUpDJuOQO87K3PJ7OxvsL8KmGw/ybh7xXUneDMUPX+A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737593193; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=GrOJKXzU1FxdISl6cD+qUp8CyFN8PZ4JRiQgCVeCVjs=; b=guytCamXVgoiVmgX240jaHMHfTjSviUotgw/4Z6hHSx/EDdDl1KlF58UtiXKrCCOPypUTb t/+DtDuJbEDUpGNkn/zo+FuYLczXg81+3WKmFBuGswOQ1+FoG0cTJ9wAuvEWVZiQYj409k t/9wSr+FFU5C3RJZ+x7h8PwxsRShXPKJaaDngVfG2Fl4X2HIb7lEztIaXIvu3kx1HBCwqO mQwcX58+i5DzRzP6iGdupEO+f7tRJxpMQR4Sp3Nnjc4OBV7U3rZa3VJohaAx8SDtzL54cz LxE6+z28uRgIaDFUkyoFQaN96noRk2hswHqRIcwNQNt1glRKIpJvG+kBZPmVbw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737593193; a=rsa-sha256; cv=none; b=DYiKnZ/2fcFmO9q3+ePWrpbg40eZO01KVTnhMTcJALG3kQDZInh7pHLwrJ4wUL9cgvZM7c tcaEC/hdAXPqHXWrymJa33qnYhx8Ksev1I+Kdyp5j2Obbz+EDp4g9dgya/dVyPYMsmvauR WCiOHfTk5JjmWSusLHK0ELa9mupFEkLnyWv7aGaiFhaBJT78qF6Sn4EiVZ5T3Hfq9g7Eqg xF3DZGZzsQNPgYzNmfgjy38g3+koS09gUrlgB8ICZw1mPO2Rr0UcV7hhThK6arRyA3V7JR rt4Dq87KFhbfkoSaOVtDTzSEZNivoWVWm4bgthKUYj+gLDlUeYmZKPWZAsyW/g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Ydj1h6Jvjz1Bt for ; Thu, 23 Jan 2025 00:46:32 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50N0kWrH030588 for ; Thu, 23 Jan 2025 00:46:32 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50N0kWI4030587 for fs@FreeBSD.org; Thu, 23 Jan 2025 00:46:32 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 284262] nfsd fails to start with nfsv4_server_only but without rpcbind/mountd Date: Thu, 23 Jan 2025 00:46:32 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: conf X-Bugzilla-Version: 14.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Filesystems List-Archive: https://lists.freebsd.org/archives/freebsd-fs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-fs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284262 Rick Macklem changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rmacklem@FreeBSD.org --- Comment #1 from Rick Macklem --- (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.=