From nobody Thu May 26 12:45:25 2022 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 4A4781B5B181 for ; Thu, 26 May 2022 12:45:25 +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 4L872D74wbz3D8b for ; Thu, 26 May 2022 12:45:24 +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 CF597631B for ; Thu, 26 May 2022 12:45:24 +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 24QCjOUd092008 for ; Thu, 26 May 2022 12:45:24 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 24QCjO6m092007 for bugs@FreeBSD.org; Thu, 26 May 2022 12:45:24 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 249413] bectl - should manipulate canmount on child datasets of the root instead of relying on /etc/rc.d/zfsbe Date: Thu, 26 May 2022 12:45:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 11.4-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: vsasjason@gmail.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: 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653569125; 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=QM79WurgCxW5Gwpvj3whOebP5iCEaSPpCmTQhbCw8tg=; b=rM4SU7Su+h3akdlvzXudAR0oB1AFti49C07/clw8Cn7RXwuoU4P82Kp3+RXofIk+1Y1nPN cTEwNxbv4kRnWzdVmvL1vRQ0p7f3BNiogsCaMFlwIl3YrDaBaaTspXrOTZ+DJcc1bg5i7o bkPGXYv3Av/NED83A8zzfPUtRQ8Bgh7nQMq3VZfaxbAo859NVnkTWQg6fd+FZlBorU+Aeu 2QXSdYM+tl+7YhM2Hy0Hs7iMmkOJ8uwSVDzjoQVmD1Irbw2OCGVztILDW3zKY61auB+dWX cBk9jLWt3AIBygGT14VuiBBcRb1L2Krlvs15dAXCbCpskvDXm9hOrZ28JLowYQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653569125; a=rsa-sha256; cv=none; b=l/TcMzNoXORZ42X7zUxUIR9OWqn26hiszy/Unh5v/lcBcPOJnnRkqA0ZoC+upO+aYvy1lG Ajy8SGBuxniOKV8KwDLj10IYYznxHN+dn8hFbEpPizsdNeGopWXixJjx1vLiVVg566tHga /QUJY3FxqvPF4Mcrt7P8zFZnOsZWdHjKJlVY+fSnTVecdZrgReEijEUpMa2/uc+qrCV4HC iTZsBa91oeJXymBsUalpXak4zvkUVnRtcrBNDaYbDSVrgtD427Vf371rwDiQfIlKe+QtzP pqeap2yTEzrEOxtOThS30et/ZOfsq4CrF1Hcu187L61HTbLnW7J8yH39GnXSfA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D249413 --- Comment #3 from Anton Saietskii --- (In reply to cmh from comment #2) > It should simply set canmount as documented (i.e. between noauto and on a= s appropriate) and rely on the normal boottime zfs mounting mechanism. Let's imagine that you have 2 BEs, each with subdataset: zroot/ROOT/default zroot/ROOT/default/var and zroot/ROOT/upgrade zroot/ROOT/upgrade/var Of course, each pair _needs_ to be mounted, but the mountpoints are the sam= e. When you will boot to default, which one var will you get mounted if this w= ill be performed automatically? > Therefore, if I do a zfs list -o name,canmount and see that the dataset i= s set to noauto, I should trust it will not be mounted at boot time. But I totally agree with this. Perhaps using a custom property indicating BEs will be better. --=20 You are receiving this mail because: You are the assignee for the bug.=