From nobody Sat Jan 06 18:22:32 2024 X-Original-To: dev-commits-src-main@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 4T6pZw745pz56sl8; Sat, 6 Jan 2024 18:22:32 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6pZw6Z3mz4nkF; Sat, 6 Jan 2024 18:22:32 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704565352; 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; bh=YF8t3ajGJ5hUcxDaBRh63SNE/kYjv9Jh2cTen1rNQtE=; b=uvULxVd6nJj0bjhtVogpf6AaF6sgW6Rw/0pGfNja1dTL/gDQrITRtT8p6F6u+4rmiOP3f+ aWVuWSmee+IsJc965WO2z8yUvrrUdbXU/zLijqCxUPmy2qYSfOov2D7HR+uvtTYSmY1pZ/ vg/UKzsjcsWJlrcFZGBtEp1z5tgy8TFUfXcvcnMx7sGKwrHJNmpi4HeRFmbQZ6r81I0dUu 7mCvhuRKSjPYOucvs4VyYU1bX+nRruivCJlS8d/LDUqKFIxRseVsFBV9HYKqgMqciRfeGe f47V6Bq2FG6bMBF50MaJiQiCk7lpvjV6yB6uiC6WgzkjE1WEKUoPeq4aHCKPQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1704565352; 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; bh=YF8t3ajGJ5hUcxDaBRh63SNE/kYjv9Jh2cTen1rNQtE=; b=B5nHtvSfK2RstncGHFJPJ737zqQZ1x5L4EG/FXW4wVPDUdAshDvaTWxiU0e++MSL5hKK6H EunJtfEsLrr+K8P8225O6hpa4otqbrTJWvYQ6tqOKv93JeaiNXlhpljvdXNi/zqwplDRlR 0boPCfv0hEkR1k/QFwdSgp5a2SRyE4qcKWBJEDu1RKrxTeKp+3Gsrmgv/vAx3LU6sn4M3W U9kH0UdJdnS31A/xQA9NVlCj0XrNzS/cnn8Ph+M+Oh94k00wttfqjBdPmKjSJ0KIAXj8tN +xkQ2xsFtJ91VTD8tcf6q8Lcpiec7h6YxqJtecKgCIwBRJJ8ibrEn21UIxPX4Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1704565352; a=rsa-sha256; cv=none; b=jtO/0yq4zgZx/S09yNboYhuOh9bEXI+BV33DHSIDuPFW/MjnuzSTqD3wbmzvXEHpMWWrPI AyeNayHfzPaaQXxDkmtwb93KzUnjXQt0jk9GopZyVaHVLITJcmgzjF0UdAzNxVFpqYpc15 qxgmasd4QYmFoVt8uigcrSbDdxyLKYhdodOyc+p+eNOj3W0Jx3uIhIhWsSjdxpLu5wyYko xQYgN/F2OUQzr04gKSG37JF0h3EhWsWfRVGb3Q5PGfV8LrupSU4TGX8ViezBAklbKVtlnm 7qO6KGQ0unX8+mwic1C9GbbBm7qQvx2nV0wbHSe+XvPxcySDbFbjvWnAQtMH1A== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4T6pZw5cyWzsGj; Sat, 6 Jan 2024 18:22:32 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 406IMWwG063240; Sat, 6 Jan 2024 18:22:32 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 406IMW52063237; Sat, 6 Jan 2024 18:22:32 GMT (envelope-from git) Date: Sat, 6 Jan 2024 18:22:32 GMT Message-Id: <202401061822.406IMW52063237@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Daniel Ebdrup Jensen Subject: git: fbbdfa2b8a42 - main - nfsv4(4): mention the nfsv4_server_only setting List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: debdrup X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fbbdfa2b8a42444c2c4de00e43f14499adad8a70 Auto-Submitted: auto-generated The branch main has been updated by debdrup: URL: https://cgit.FreeBSD.org/src/commit/?id=fbbdfa2b8a42444c2c4de00e43f14499adad8a70 commit fbbdfa2b8a42444c2c4de00e43f14499adad8a70 Author: Lexi Winter AuthorDate: 2024-01-06 18:12:02 +0000 Commit: Daniel Ebdrup Jensen CommitDate: 2024-01-06 18:21:25 +0000 nfsv4(4): mention the nfsv4_server_only setting Add note about configuring the NFSv4-only option. It is already mentioned in rc.conf(5), but documenting it here makes it more likely that people see it when they need it. MFC after: 2 weeks Pull Request: https://github.com/freebsd/freebsd-src/pull/1008 --- usr.sbin/nfsd/nfsv4.4 | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/usr.sbin/nfsd/nfsv4.4 b/usr.sbin/nfsd/nfsv4.4 index 1377461c1348..aacb85c78ca2 100644 --- a/usr.sbin/nfsd/nfsv4.4 +++ b/usr.sbin/nfsd/nfsv4.4 @@ -208,6 +208,14 @@ if the server is using the ``@'' form of user/group strings or is using the ``-manage-gids'' option for .Xr nfsuserd 8 . .Pp +In addition, you can set: +.sp +.Bd -literal -offset indent -compact +nfsv4_server_only="YES" +.Ed +.sp +to disable support for NFSv2 and NFSv3. +.Pp You will also need to add at least one ``V4:'' line to the .Xr exports 5 file for