From nobody Fri Mar 11 00:38:59 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 9E29D1A0643B 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 4KF6W72NvNz3tRc 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 2E861767E 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 22B0cxNt009610 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 22B0cxuK009609 for bugs@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: bugs@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: AssignedTo 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: 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=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=DEmjMotI9ubxKGIiqFtcx1WisM/Mhf+1WAACHMkztLo=; b=PNWMu3GB1M6HpAGRQGEQQ+wEckEHmELlTlItAetcNn4kUMO3ZhpsXOUC2ntGz+o/vwWu2b nbNJKXY0X+fsD22tbiKV4CLGrtxg1M0bJESVkUVGAbGnZt7g+dt+I3ex7Pj/r5zOlL5EG1 w950Zu87uA0hxx5J/7W3vDwcm7zbqg4QZB0fekrGCNMFEceyNc7SeGLpEI1M2e7MkGFCkN yivWwuQrEcgmL8ZBmN2fZHfc5dH4iG0w8yEyCFTH5Z9xDYSffiFUiSX07nKu74DkfvYD22 EIF3hJDU6CP0oEMsHvmYjHlsh+bhP3a+hQzH4ojeOkctjn2aHI4uU96vEH+NCw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1646959139; a=rsa-sha256; cv=none; b=XKWAtnif8xOp9xpYUrnTL1TIyvHO89WG8evT4AOP6jnXizwtleWt6Ky3q5fpvx/d6ehhCz I8AsemNS+iSnTIGD6ioWd1Xquu7ksv1bcc1suaipA+SzRokbJtQhV0L++OQd9at6Rd/EfY bzi043vwPh5AuStPe5m2vBFvm2pi+dLbBhI6UMvBmp7SMiOyjlwYSTI3jJk1hFEXyMWbZW /z7I3loLvx3e0Lx+StmM2kuhPGG3YvlL93UT5IF3fUy4aPYWuZVDlHmO3AIGele2wDpL6e 3yWtNFqVO+u8Ut7WnbXACOHKY8AKPMIYwUFYPhk9t7mxvJOLufbvAsp8fEme8g== 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 the assignee for the bug.=