From nobody Fri Mar 11 00:38:59 2022 X-Original-To: doc@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 DD6951A06527 for ; Fri, 11 Mar 2022 00:38:59 +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 4KF6W7566dz3tP7 for ; Fri, 11 Mar 2022 00:38:59 +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 8D6DE6ED9 for ; Fri, 11 Mar 2022 00:38:59 +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 22B0cxUr009619 for ; Fri, 11 Mar 2022 00:38:59 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 22B0cxOr009618 for doc@FreeBSD.org; Fri, 11 Mar 2022 00:38:59 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: doc@FreeBSD.org Subject: [Bug 262477] bectl.8: Mention a possible reboot -r failure after renaming Date: Fri, 11 Mar 2022 00:38:59 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Documentation X-Bugzilla-Component: Manual Pages X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: jlduran@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc 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: Documentation project List-Archive: https://lists.freebsd.org/archives/freebsd-doc List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-doc@freebsd.org MIME-Version: 1.0 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1646959139; 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=ia7FDvluzJ4suQ8WS4od+hBMGCaJo4OasK4GlM/JJes=; b=ZgAtHbG3E8o7Dv5htQQwywUCaYf76uIw6y4NLJy9ICE8OCkQImpoJEtWmr0XvdHCjubXkz CwKqA8gnXZ+exSPuRdhEJXAWlhEfcleIyOh4dq5GkqxS/nP/x2+sUebIKeuyTDKYFQgILv /Ev3xKEY5TouGKP6vLRU4xk5lo7w7RtYWVR8f6OOyjZkjU7d9xIwZMlrO0a+VgZ6ot+ynk +mlMoNo4XNsDqHb2asclQMV055H06Ow/PKppt7Z3d7tRY+RkcDO91c+/hi5BNRCq4huIhf vHnABfCPr2kctr6t0qTJscKxXMM0qG4h7k5SN1zHk3d/y3EQErZP7Wq9/kmeRg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646959139; a=rsa-sha256; cv=none; b=Uo2z4IJqn+hQRBuUuJi8XzVmTeLpFwoG/L5TU3TMmlCAzMa2ner/Nw2wiMg8jjC/e3RbrQ xsGiPfAUQ2ihw0DyZCUB3+FZ3JwMz48KQOdJhTFINKsMNsfgtyyYStZC5P2VukzivxW1ux dqtwp4oWTM+52nFGenn+ewQkEAGGvCtSoTlt4hvKRXfLFENUFuL1sXRVHNguN0Oj/Hp7I+ r4B53S5KiYbr19NzxsOLxKu3aF9Fo8KXzQcEt9LNJ3xbWTpawnEnviZHQe1c02pHerIm2y MWULbZDsO6ruiG0TzG8jD4l5iUxjDnIRCV4PKEwd8yEh3llGuOGw/cIzlXUF1w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262477 Bug ID: 262477 Summary: bectl.8: Mention a possible reboot -r failure after renaming Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Manual Pages Assignee: bugs@FreeBSD.org Reporter: jlduran@gmail.com CC: doc@FreeBSD.org beadm added a change in which the kenv variable `vfs.root.mountfrom` is modified to reflect the new name after a boot environment rename: https://github.com/vermaden/beadm/commit/023d18ea431dab7aa5c513e09b0e7abc61= 072817 I would prefer not to modify the kenv automatically, however I believe it w= ould be good to warn the user if issuing `reboot -r` by mentioning it in the man page. How to reproduce: # bectl list BE Active Mountpoint Space Created default NR / 500M 2022-03-10 12:00 # kenv vfs.root.mountfrom zfs:zroot/ROOT/default # bectl rename default newbe # reboot -r Trying to mount root from zfs:zroot/ROOT/default []... Mounting from zfs:zroot/ROOT/default failed with error 2; retrying for 3 mo= re seconds Mounting from zfs:zroot/ROOT/default failed with error 2. Loader variables: vfs.root.mountfrom=3Dzfs:zroot/ROOT/default Manual root filesystem specification: : [options] Mount using filesystem and with the specified (optional) option list. eg. ufs:/dev/da0s1a zfs:zroot/ROOT/default cd9660:/dev/cd0 ro (which is equivalent to: mount -t cd9660 -o ro /dev/cd0 /) ? List valid disk boot devices . Yield 1 second (for background tasks) Abort manual input mountroot> zfs:zroot/ROOT/newbe Trying to mount root from zfs:zroot/ROOT/newbe []... --=20 You are receiving this mail because: You are on the CC list for the bug.=