From nobody Sat Feb 18 23:26:30 2023 X-Original-To: freebsd-current@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 4PK4Zf5zN2z3s3Bh for ; Sat, 18 Feb 2023 23:26:50 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Received: from mail-pl1-x632.google.com (mail-pl1-x632.google.com [IPv6:2607:f8b0:4864:20::632]) (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 4PK4Zd10LDz3sC9 for ; Sat, 18 Feb 2023 23:26:49 +0000 (UTC) (envelope-from rick.macklem@gmail.com) Authentication-Results: mx1.freebsd.org; dkim=pass header.d=gmail.com header.s=20210112 header.b=eFz1SZSn; spf=pass (mx1.freebsd.org: domain of rick.macklem@gmail.com designates 2607:f8b0:4864:20::632 as permitted sender) smtp.mailfrom=rick.macklem@gmail.com; dmarc=pass (policy=none) header.from=gmail.com Received: by mail-pl1-x632.google.com with SMTP id o9so1709312plk.12 for ; Sat, 18 Feb 2023 15:26:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=C8LMPoFAJT4by0rsmynrXwV1+HRJC9R4dWmvc8xS/8s=; b=eFz1SZSnL2hxq0VuIuxHkqRYBrc4aoh1KFx9kOuWeFtJpt+vhI7clvYzUeP0lold2z 6a/CO3wjFW9qDud97fJYZ5aElSfR8vdF7o/oI00RT5xlnWKBN3cBr1ctsl+TDGk9aBIp baJv/wAJzOGigPFo6Lkevh9x2R4yVnAVU6i14tN31pT5GkafOPTfbH/EeTxtY7IzhdIL gdb9Szz9dtFvVGN9nGf+Z5rsAPt7ozEI8Renzh1cuoOI7Xx0iOOymvhlI8we3vpx4Vba dftbNQ34SPaHeWhTrSjyo6tmAgHAkic20eHs01XMSFIGFFQ/bBB4T5F2GjD6YJhsC3Kh yVtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=C8LMPoFAJT4by0rsmynrXwV1+HRJC9R4dWmvc8xS/8s=; b=67u9CEpKdTQMzWqMftWo5C3rF6K52SmyHCYZvJdF3qIwaRWFy4iI6sWttApVuMosT0 kvLkrFyZPRoJ7ZFV3fJKyCf31SCeloq0RgTW5zAm8njuw7WAxxMbMG2jcAg5Fodixfof jgrv4WXJ+sWFpUysuhYswU4Rg1NfuX2AJhnrB79Uu+uBZFMeMwP+6mbCAPpGVE1WQSnP DoFsBoHFPNvRK1BBm0vMFSjUB0k5ZuBOv3eARH8aAmgkonNO9GYMw8qk5cKJWrk3XBC+ wGmHwhNDc9lPqAzmfZZ04mrljLYr0vqt3PlGfcguKuy5GvF6nnoZBqMof/bvbQVc7UY4 /O0w== X-Gm-Message-State: AO0yUKXgD+DJ0Lu4kIoaTqgbQLb2U4YUIjeDD1No0Fz24Yt8WuWwbWC3 ERVnd6wtbkGOE2x1DabJGfjtMFGCxHMIYaH5SUYNRLcuEQ== X-Google-Smtp-Source: AK7set+hXlOkcwZ+RlYn8rZ7NMh4cKWGBHd97sLs3Goao5HjJHXh+Untfg//vjPGTE3/akogzUTlXdpFLpUb4HGp7Bk= X-Received: by 2002:a17:90b:254b:b0:234:96b1:453a with SMTP id nw11-20020a17090b254b00b0023496b1453amr305738pjb.79.1676762807569; Sat, 18 Feb 2023 15:26:47 -0800 (PST) List-Id: Discussions about the use of FreeBSD-current List-Archive: https://lists.freebsd.org/archives/freebsd-current List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-current@freebsd.org MIME-Version: 1.0 From: Rick Macklem Date: Sat, 18 Feb 2023 15:26:30 -0800 Message-ID: Subject: Heads up: vnet'ng of NFS server turned on To: FreeBSD CURRENT Content-Type: text/plain; charset="UTF-8" X-Spamd-Result: default: False [-3.90 / 15.00]; NEURAL_HAM_LONG(-1.00)[-0.999]; NEURAL_HAM_SHORT(-0.95)[-0.954]; NEURAL_HAM_MEDIUM(-0.95)[-0.947]; DMARC_POLICY_ALLOW(-0.50)[gmail.com,none]; R_SPF_ALLOW(-0.20)[+ip6:2607:f8b0:4000::/36]; R_DKIM_ALLOW(-0.20)[gmail.com:s=20210112]; MIME_GOOD(-0.10)[text/plain]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; FREEMAIL_FROM(0.00)[gmail.com]; RCPT_COUNT_ONE(0.00)[1]; PREVIOUSLY_DELIVERED(0.00)[freebsd-current@freebsd.org]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::632:from]; ARC_NA(0.00)[]; TAGGED_FROM(0.00)[]; MLMMJ_DEST(0.00)[freebsd-current@freebsd.org]; DKIM_TRACE(0.00)[gmail.com:+]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DWL_DNSWL_NONE(0.00)[gmail.com:dkim]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:15169, ipnet:2607:f8b0::/32, country:US]; FREEMAIL_ENVFROM(0.00)[gmail.com]; RCVD_COUNT_TWO(0.00)[2] X-Rspamd-Queue-Id: 4PK4Zd10LDz3sC9 X-Spamd-Bar: --- X-ThisMailContainsUnwantedMimeParts: N Commit ed03776ca7f4 enabled the NFSD_VNET, KRPC_VNET and KGSS_VNET macros. Kernels built with "options VIMAGE" now have a bunch of global variables used by the NFS server vnet'd. It is not quite ready to run the NFS server in a vnet prison. There are still a couple of patches in D37741 and D38371 needed to allow mountd(8) to run in a vnet prison and do exports within that prison. Once these patches are reviewed/committed a simple patch to kern_jail.c to enable "allow.nfsd" without VNET_NFSD defined will complete the kernel changes needed; All that is needed in userland are some small tweaks to the /etc/rc.d scripts (mostly removing the "nojail" keyword)/ I do not think this will cause problems, but it has been a fairly large volume of changes. Email me if you see problems that you think might be related to these changes. rick