From nobody Thu Jan 23 01:47:26 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 4YdkMy72Zkz5lPh2 for ; Thu, 23 Jan 2025 01:47:26 +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 4YdkMy5m4wz3wgt for ; Thu, 23 Jan 2025 01:47:26 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737596846; 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=gbOCu0/kSD23js97a5NuIE8KXo1yAt9vxvH7UD5Cj5A=; b=Z4Vmty2n7gBE+A/Z/hyk6UGWnxopdQ9FoPYKuaIG9jSJDjmUU1P5F43h4S2dMt800PmDu8 OMQH9+YckIby8QljZk/746sU6Pa0c+u3AnnimY2tZIeR4ShjNLlLBZyQgsn/aXJ6jfEk1I mrf4j63VowTJUHJVQ6zwQe2xMYGQE4bzQXvgrnW2YfseLPsgKq5CELtNnO6rfkPrsbu3rL o55YQNjmLdcxQfvsh0gcA1NbWhd6ydbuNI/8KHCIvrb7fRfE2/i5jDL/lqW7bDVq7Upbsq r3PXPXXaLzFjvFT+p5v9ZFXqtpNxf9kOlJzkBeCRUNovuS9qH5Z3imnrkcTKsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737596846; 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=gbOCu0/kSD23js97a5NuIE8KXo1yAt9vxvH7UD5Cj5A=; b=IBrCo9KxhoOafTwpqxbxx8Z6YqwL9MTEJhOMqtrzMtrMteRisdjAydy8mA2E9WKtkkJZ2A vz4MZxymNJQn6DybWrb0SqBTPUQRGEUlbQVLLnmZtkGTyh0aHBQJ/Fc1r3DEMbRa3oIHJw AelXj+7QdOFGP1v8sRV5vLXvD6zB2g2dTBdxVn1X9kw1vHJ9E3wAlirwCxi/BknBSmvyou tsAeZNSMSoKg+56D28lIDnRP6gdC3z1ykaPYC8EwSbt1MTkenKB3ECdD5SdUGHX+R1T0Ij jbkR8shEMIfg6FrlEDH5+Ykt2Dt4h2zA27QdRRgRKCvaw11pDv5RgAijDwD9HA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737596846; a=rsa-sha256; cv=none; b=jOZjnscSDPgisnOpAHmtnttS5a0jcyO2G3CnpRh8c9xxm0LJKL9bEgpeMokPzHSPXqlHJJ 2GsjxqKI5vN1R2GEVXQCwJdPq3zl3VcSAfupmeuUucu/W37ARsfjFIWzslkQtwX7wSr6AP Jskxeh1bu42dM/iXfKDyws/5FankQk3k4s3WEC9unfjI4PH71sbChT/GCqTHrjInkKG0il 4Q9dKVWAfUCaamGAAR33JgldW1WYBlC571gLtRsIulNW6M6Ds5LnCLOcUaCtXWB4IvH0jQ GMerBh5/QYJ8i/DMeoUHQxEcYit1DaUbjZgPUjAAHyB2EhDOvHL1LaT3CApyYg== 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 4YdkMy54SYz2lb for ; Thu, 23 Jan 2025 01:47:26 +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 50N1lQUq035300 for ; Thu, 23 Jan 2025 01:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50N1lQ34035298 for fs@FreeBSD.org; Thu, 23 Jan 2025 01:47:26 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 01:47:26 +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: 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 --- Comment #2 from Rick Macklem --- (In reply to Thorsten M=C3=BChlfelder from comment #0) nfs_server_enable=3D"YES" nfsv4_server_enable=3D"YES" nfsv4_server_only=3D"YES" Ok, I looked and mountd is forced in /etc/rc.d/nfsd, so mountd_enable=3D"YES" is not required. I think what is causing you problems is that the default nfs_server_flags includes "-u" (UDP is not supported for NFSv4). I think if you add nfs_server_flags=3D"-t" to your /etc/rc.conf it will work. (I have done this for decades, since I have no use for NFSv3 over UDP.) Maybe the "-u" should be removed from /etc/default/rc.conf's nfs_server_flags entry, but some might consider this change a POLA violation. I'll look at the nfsd man page and see if something about "do not use -u for nfsv4_server_only configurations". --=20 You are receiving this mail because: You are the assignee for the bug.=