From nobody Mon Feb 6 18:47:35 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 4P9Zy33xV4z3n3CP for ; Mon, 6 Feb 2023 18:47:39 +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 4P9Zy32tZ1z3MBT for ; Mon, 6 Feb 2023 18:47:39 +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=1675709259; 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: in-reply-to:in-reply-to:references:references; bh=n77/VGHs9m753eLRfA+cpXfrol3z91COXDgDd5UNvYg=; b=Ow2EWCveCrITCAvtaSVXeDTt7sfNZu9uXOMggOQgwRTpvR2caVqdqd2O5BDnqIjqbWl1Tg 4rKL9p/8OWwOc6VPfsFfrzg1+AGb39DX/bp5B3jNhl28LOcjTzfzaCjA8taTWQ2QZicPWe KLdAWm9C1s6wxezqtlhMTxdowfO2Wi+QY6H7JNuWCHADTOkSRMn6hQ86GzcO676v8/vO9l 3RYgbjbHhdWScLcgsvcNFVkNx5EYwQ17W8s0df3U/KX1kCBqPtJb6k8dCaAz9FUm54FnX7 eROly/rOasseY08uXRG2QDgV3vyohfgWwvIws3l6pIcub9m7WyEe+2w6QdRUsw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1675709259; a=rsa-sha256; cv=none; b=YeNbrykHajGWobH1pNOi4QgveJryHnxBBwiGTfDkXC07zDUC8EdO1ZNXKdre+031gq8WjU 9CdBmC/B+66BhRhxBDHCRZT9b1pCFIaAqVBaKavilnKXEgPGmYf3JzG4PnJVI5G04ITrTN FECtfcVNOkpZN19hpcL01HPutKsxfQ90i8+L63BzsiDbGWWCisFIgOcN3s/UClxubDrb9P jrHUjDpFMc5TL023JG/e4sXPvp/Zz2Iqc37/LoMnAKkoOqkKE1uT4fXfPIO9V4vlEeDO/6 9NXkk73YhWQeIBCfYrp66n3S2FKwN8++Q35Pi/g9n5ps2FEObuxdMLyURZGW1Q== 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 4P9Zy31ylTzlx5 for ; Mon, 6 Feb 2023 18:47:39 +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 316IldGK029068 for ; Mon, 6 Feb 2023 18:47:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 316IldCD029067 for bugs@FreeBSD.org; Mon, 6 Feb 2023 18:47:39 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: Mon, 06 Feb 2023 18:47:35 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: freebsd-bugzilla@umpquanet.com X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D260160 --- Comment #22 from Jim Long --- Well, no luck yet, but I think the first obstacle I have is: # cat /etc/jail.conf path =3D "/jail/$name"; test { host.hostname =3D "test.example.com"; ip4.addr =3D "vlan3|192.168.1.50/32"; allow.raw_sockets =3D 1; exec.clean; exec.system_user =3D "root"; exec.jail_user =3D "root"; exec.start +=3D "/bin/sh /etc/rc"; exec.stop =3D "/bin/sh /etc/rc.shutdown"; exec.consolelog =3D "/var/log/jail_test.log"; mount.devfs; # When this is supported, that likely means the jail vs. snapshot bug has # been fixed: zfs.mount_snapshot=3D1; allow.set_hostname =3D 0; allow.sysvipc =3D 0; } But the jail is not seeing the mount_snapshot attribute: # service jail restart; jexec test sysctl -a | grep zfs\.mount Stopping jails: test. Starting jails: test. security.jail.param.zfs.mount_snapshot: 0 Without that attribute set, then of course: # jexec test ls -l /.zfs/snapshot/prior-to-installkernel ls: /.zfs/snapshot/prior-to-installkernel: Operation not permitted What am I overlooking? --=20 You are receiving this mail because: You are the assignee for the bug.=