From nobody Wed Mar 29 21:59:58 2023 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 4Pn0pQ5XmRz41wmR; Wed, 29 Mar 2023 21:59:58 +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 4Pn0pQ4mY5z3w5m; Wed, 29 Mar 2023 21:59:58 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680127198; 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=j0nEw5PFbo0MVQ8naZaGF3aEvD4sDwpQPSxoxzfoWcg=; b=OlmToJCQYLA8jwAEM7ICvUmgpqWbeWCfntUHsJx+n3SP81RHncjUCbo4pEgay2Ei8ZJYkB 5hRIgmBlBxK+dkbnpq6tJUuXMMvlUOxqo8ngk0VJPCV/3TMWEjm+sIQlhgY36SpXO42kxB jVeR0EcnHxEVm2FNq8UH/4S5gxKaTJ6sXnsLS4b4onx4QJ8usSyNJpMYxC/QY0sZzwWs4V a8fVad2+Palv+bYD0YJ0Z2xAopeqPcSMwi+PL+osGnqG4dAycYGFFjmPiCSe7tmUSWwEPw qhnajCpbbu+zQsVoEm/pRrzI1Eza+Cvp9RYKzB776t+Bl6KMM7D+CySZDK9cIg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680127198; 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=j0nEw5PFbo0MVQ8naZaGF3aEvD4sDwpQPSxoxzfoWcg=; b=UF4sp58UEDBwQj0GTdv+8N12UGd5N2BOxif6gsyA9ISmx/ONpct3cJk9neQ5C8j+uykCE+ C1TaVKr+TLLBaf8YtAlNAqmLZmV/lDz4iJJLZdswuSV+vTDF2GXV9AmoEERhvNnVHv1jHM dQHUk65AjkQjJL3Zj9hvxlO9N7+uSfmO5lGQO4sTmCaYcX0+o5tBZZLIsEUhB8qhUcii49 f5GXNfk8EouFb3kuJZ8Ewkzy0kSBFGKdlPc3P+bVxvqw1bYA4k/8GHANMKimCSYm9p/5Fu Z7gjyY6SFsvaslN9uoMO1aghEimb2PCadBx99B7v1YPz/n87HiInI6N99syKmw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680127198; a=rsa-sha256; cv=none; b=s5dLiaH59sSG/ZEU90zK9LhFG340epI8mKElWHp6Uf35M7hBSK6csDCzMgKeqWB8HAWAwD kkXaaB6IviMp793mTO/kemSvrQtj+O8/eQUVCjK54eDu120zKYpJRnggSvF8mbFoyy1IlY M6xq4C7SW9pItBOnViASYe1sA/PDgyT8hu1jLdWb9BDzR/NNVIkjDJGvICJb9vsGWtLIcC YqbBn4Yk/2RBWB/H+7j0c5380091iVOtNSxuoarcYkuYaSaVwB3IUqnlR2o5GO+7bnyQ50 lteJ2zZ6DI/8tmFT28ZcXShBQAEocfNLBhjwrk8K8V7Y1XH84xMauqGi25ZcKQ== 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 4Pn0pQ3nPWzmks; Wed, 29 Mar 2023 21:59:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 32TLxwP6033764; Wed, 29 Mar 2023 21:59:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 32TLxwWD033763; Wed, 29 Mar 2023 21:59:58 GMT (envelope-from git) Date: Wed, 29 Mar 2023 21:59:58 GMT Message-Id: <202303292159.32TLxwWD033763@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Rick Macklem Subject: git: a1254dcaa869 - main - nfsd.8: Update for nfsd running in jails 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: rmacklem X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a1254dcaa869bba20e46d966c53c7473bb24d02b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by rmacklem: URL: https://cgit.FreeBSD.org/src/commit/?id=a1254dcaa869bba20e46d966c53c7473bb24d02b commit a1254dcaa869bba20e46d966c53c7473bb24d02b Author: Rick Macklem AuthorDate: 2023-03-29 21:58:47 +0000 Commit: Rick Macklem CommitDate: 2023-03-29 21:58:47 +0000 nfsd.8: Update for nfsd running in jails Nfsd can now be run in an appropriately configured vnet jail. This man page update adds some information for this case. This is a content change. Reviewed by: karels, markj MFC after: 3 months Differential Revision: https://reviews.freebsd.org/D39219 --- usr.sbin/nfsd/nfsd.8 | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/usr.sbin/nfsd/nfsd.8 b/usr.sbin/nfsd/nfsd.8 index c8a5fea4e6a2..40e75f0a232d 100644 --- a/usr.sbin/nfsd/nfsd.8 +++ b/usr.sbin/nfsd/nfsd.8 @@ -28,7 +28,7 @@ .\" @(#)nfsd.8 8.4 (Berkeley) 3/29/95 .\" $FreeBSD$ .\" -.Dd December 20, 2019 +.Dd March 22, 2023 .Dt NFSD 8 .Os .Sh NAME @@ -56,6 +56,22 @@ must be running for a machine to operate as a server. Unless otherwise specified, eight servers per CPU for UDP transport are started. .Pp +When +.Nm +is run in an appropriately configured vnet jail, the server is restricted +to TCP transport and no pNFS service. +Therefore, the +.Fl t +option must be specified and none of the +.Fl u , +.Fl p +and +.Fl m +options can be specified when run in a vnet jail. +See +.Xr jail 8 +for more information. +.Pp The following options are available: .Bl -tag -width Ds .It Fl r @@ -307,6 +323,7 @@ just do a .Xr stablerestart 5 , .Xr gssd 8 , .Xr ipfw 8 , +.Xr jail 8 , .Xr mountd 8 , .Xr nfsiod 8 , .Xr nfsrevoke 8 ,