From nobody Sun Nov 19 14:45:02 2023 X-Original-To: bugs@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 4SYD266RJFz51rwb for ; Sun, 19 Nov 2023 14:45:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SYD263wN6z3X1M for ; Sun, 19 Nov 2023 14:45:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1700405102; 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=O2ujRKO52Eq8eJNsv0drkv3Jo0WoGP0InciFmhV3ZGg=; b=GLLGqIW/kuslHQX5avmzRFqLqwGQx0CzlY48SF13zEDCshoqDDpuoPqFztnVoNRoeG2fZh zO1gxBsrjoF1Gj8Fx889osN30atfegotziBUMUQ5YZGdbj9xvRr6UaTolplimk1h1qxOVq qmKqV/ZjFuXsPWwHezPMw3u2RJbKNxGSFkZVIjtMXUT9Wjl6XOGPu+Unai57MNNkQWFU+8 B9n5p4KxAVMYUj7CZ9tLnRrAZRLPUljhjIZyQSLjSYw8cjHJjDwLsnHmf0HcBQGYkZb1ZQ Tw54hmPBUYGpUei+zzEunJMSY8vYc4KvJN+ECeSBUTTvMuZFNEGqT8ibfUdALw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1700405102; a=rsa-sha256; cv=none; b=szPE6+hei/tu3G0LsTnMgabNtdfJB23/EzrNFNh/pOYwl/wQJ3yxsHPJRuipPlbOVSaUvv yKMg5THJ9q7ELB0XPweRA579g53sSSXJCwJwhEKISTMU12EStAuxOD1fEd9i15COLCm/sy N0d5lf2bFcUtecXaOIKmEU3zHTxyhaat6xUInPax5cmYN6f0IIq+yr5wMMyeJ0ymKTB1Qy ByFQOeAKMXcckzyucGvSPyAp423+7PEw2JYcydGpv+n8lx1/ipMM6vConT1KC2BieEp2al e0qLfgSSTms0zkCD3BBgGgdNJqshF1SGweeL1If+tfQm8tNXRmfOoLuhUso3dA== 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 4SYD262sfGz1CqF for ; Sun, 19 Nov 2023 14:45:02 +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 3AJEj2Kd038525 for ; Sun, 19 Nov 2023 14:45:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 3AJEj2il038524 for bugs@FreeBSD.org; Sun, 19 Nov 2023 14:45:02 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: bugs@FreeBSD.org Subject: [Bug 275200] NFS mounts cannot access ZFS snapshots in //.zfs Date: Sun, 19 Nov 2023 14:45:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: 14.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: rmacklem@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275200 Bug ID: 275200 Summary: NFS mounts cannot access ZFS snapshots in //.zfs Product: Base System Version: 14.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: rmacklem@FreeBSD.org Created attachment 246422 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D246422&action= =3Dedit Set mnt_exjail for an automounted ZFS snapshot Commit 88175af added a check for exported to correct jail, using a new mount field called mnt_exjail. This field is filled in when a file system is exported. Unfortunately, this filed is not filled in when //.zfs/snapshot/ is automounted. As a result, access to this automounted snapshot is not allowed via NFS. The attached patch, which sets mnt_exjail for this case, seems to fix the problem. This patch is now on phabricator as D42672. I will leave this PR open until an errata for FreeBSD 14.0 is done to fix the problem. --=20 You are receiving this mail because: You are the assignee for the bug.=