From nobody Wed Dec 01 21:51:43 2021 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 A153618B5CF4 for ; Wed, 1 Dec 2021 21:51:43 +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 4J4CTq2JQlz3hQ3 for ; Wed, 1 Dec 2021 21:51:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 2E92211854 for ; Wed, 1 Dec 2021 21:51:43 +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 1B1Lphar087330 for ; Wed, 1 Dec 2021 21:51:43 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 1B1LphB4087329 for bugs@FreeBSD.org; Wed, 1 Dec 2021 21:51:43 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 260160] zfs jailed: snapshots not accessible Date: Wed, 01 Dec 2021 21:51:43 +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: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: urs.probst@triamec.com 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 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1638395503; 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=5xJtqYUQWl80/NF1zQHpZ1gkP7SJ20aEOl8jYY9+zQE=; b=KDwZJ/7lqaYGktWBbJeCEiI/6mTiFeNddpuU4lw0ZGbf7oWW8rIMxObOfOTDa3LcYWhiix z/cTG11t3IMX/xcWBNFfY44YGgBvZ0qkuyJYYuxdBlNkqGzlj8oeM1ttUvLWO5OCbx9Pe3 ii8rIoK1ZuekDk3OQr/rroO8EpcR4hG8ugC6FIxC/4BX9Fos2fSh8dTz2zf7LpPe40/0hd MzOOjXdYz/EYhPLLeS1KRfLdaEnpAGBsTbooh5AU1Bu6xKnV1pQnA9YTEwYoiBexNJzwbC KewFTpnbFV4K4rTN7d42CCQNhdjmrHqNPZ439n/fndaNAc9YOKdOlI448JU1IA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1638395503; a=rsa-sha256; cv=none; b=c0czaUHnivJiySk5iRc2M0HdTFYY69FRoWY6Rk1wR+XCA+4e2hDhaX2eRQOvG5iVjb2NFI Ok2WEmChrPgAKvpBurUkVvEZ0TXf2z+HCbGYnnDpxLuMidg51dxRRJ7wwowTES5S/JkmMc pDqhxrdL7byE07gDHApGKPUmGLS66nOxmqo8PTMRtq02LXob+H6cdT8ZQgJg2OZJxTmWJC 9p51jjOkcFXEzX0/sda2AKv/sh3lT7RKZpZiJk+LFXxeumgeXypCP/Cw2pSMQS4ROqClC5 c7V1AWNMsRP6QcjxxOidXGSkvbE4Z1wVvXcL1XXYuFlGdNxCuw2YOICbbo+rtA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260160 Bug ID: 260160 Summary: zfs jailed: snapshots not accessible Product: Base System Version: 13.0-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: kern Assignee: bugs@FreeBSD.org Reporter: urs.probst@triamec.com When setting the property "jailed=3Don" for a dataset and this dataset is m= ounted in a jail: any snapshot will not be accessible: How to reproduce: On host create a dataset # zfs create zdisk/test # zfs set mountpoint=3D/mnt/famnas # zfs set jailed=3Don zdisk/test Make sure that /mnt is writable in the jail... go into jail: # zfs list NAME USED AVAIL REFER MOUNTPOINT zdisk 5.08T 8.97T 88K /zdisk zdisk/test 5.08T 8.97T 136K /mnt/test # zfs snapshot zdisk/test@now # ls -li /mnt/myjail/.zfs/snapshot ls: now: Operation not permitted total 0 On older FreeBSD versions this worked. --=20 You are receiving this mail because: You are the assignee for the bug.=