From nobody Sat Jan 06 21:34:41 2024 X-Original-To: dev-commits-src-all@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 4T6trv21p6z55XX4; Sat, 6 Jan 2024 21:34:55 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-qt1-f176.google.com (mail-qt1-f176.google.com [209.85.160.176]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4T6trv0JDSz4Fjr; Sat, 6 Jan 2024 21:34:55 +0000 (UTC) (envelope-from asomers@gmail.com) Authentication-Results: mx1.freebsd.org; none Received: by mail-qt1-f176.google.com with SMTP id d75a77b69052e-42985b246cfso4566541cf.2; Sat, 06 Jan 2024 13:34:54 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704576893; x=1705181693; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=+nbCXXVd3A/3bARcZbTvsOh5sMNcFoHhvJZpqE2oJZY=; b=CcUbVw7+bk85Jzw5woLWkLgzCOTfsYJiBr0AVpPDkfy4EeoF7oLJwrccMstfUgNCm3 DjaRlnQm6NGlgYhtboAHYiqmlef0cHeR/0Em655laE72oyDA3PnuRQRsb/J8j5JVEXFf u/2ZU+mdMwbpJMfb1t62Z/BFGjCC2WkK/kyumMQy9zmnE1FbxVYODd9YhqrglCDDWFyS NKffR+CwJPZdScE/N3Vq0qRdAtn2Lef0hJ6tQmr2zWduSckSaTY4UEKl9QF2R+CvU96G a/sy0XFxO4ap/qOmjEnJCyHh4ozjrlO9o9vX3MXdj/lMcORyPMEpL/MUwCNQbW40Y25O //RA== X-Gm-Message-State: AOJu0YyMVi+2CaoMBqDLdF/3ap7Nll+mUw0vN7oSTYrRS1r9I33siI8C SkGspoZVEz5+ZYMlQknmn3jx0VjDZvky4J2AF0ZUfbb5 X-Google-Smtp-Source: AGHT+IHivJgqybsqBj/Mh7kbbWyZw1wwdk6tzp9kDEw+W4icY/Nnq3wn3cU9KHL92rgJSAeApiuQnTMnep9FwY9+DdE= X-Received: by 2002:a05:622a:58f:b0:425:4dde:4c41 with SMTP id c15-20020a05622a058f00b004254dde4c41mr2654026qtb.31.1704576893130; Sat, 06 Jan 2024 13:34:53 -0800 (PST) List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 References: <202401061822.406IMW52063237@gitrepo.freebsd.org> In-Reply-To: <202401061822.406IMW52063237@gitrepo.freebsd.org> From: Alan Somers Date: Sat, 6 Jan 2024 14:34:41 -0700 Message-ID: Subject: Re: git: fbbdfa2b8a42 - main - nfsv4(4): mention the nfsv4_server_only setting To: Daniel Ebdrup Jensen Cc: src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: 4T6trv0JDSz4Fjr X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US] On Sat, Jan 6, 2024 at 11:22=E2=80=AFAM Daniel Ebdrup Jensen wrote: > > The branch main has been updated by debdrup: > > URL: https://cgit.FreeBSD.org/src/commit/?id=3Dfbbdfa2b8a42444c2c4de00e43= f14499adad8a70 > > 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=3D"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 Shouldn't you bump the .Dd date?