From nobody Sat Jul 16 07:09:41 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 4LlK9K3KfCz4Wgpq for ; Sat, 16 Jul 2022 07:09:41 +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 4LlK9K1Spdz3xsP for ; Sat, 16 Jul 2022 07:09:41 +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 4LlK9K0V91z1BwH for ; Sat, 16 Jul 2022 07:09:41 +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 26G79eD7087785 for ; Sat, 16 Jul 2022 07:09:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26G79elC087784 for bugs@FreeBSD.org; Sat, 16 Jul 2022 07:09:40 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 265248] bectl warns twice when the user tries once to create an existing environment (boot environment name already taken) Date: Sat, 16 Jul 2022 07:09:41 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: grahamperrin@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 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=1657955381; 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=dpt4LeG67ghYFW1e320LeFdH9BOIYQgPMwFuw4EqNrg=; b=UMqcYyVS2HkxoFbN8Y6eFoIM+3PDLHRNMOLK8wUsX6A2k9mnCU5cv6o06lt6pCjDkN/KIT /vItqcsEOVo6oBgqpDhB2X6V0SrGhxW43vURoO6aEMLHt3R/0uFxHc86Y4uZ3F+SjMcrkv WnNQispOuBa71OWACOPMRMlOO0AAxs26p7J490t4RjbtiN6IUo0DYZEWwu2261s8ugaLSV NoCfhMzQVilvIUXsoAgJZaeRfU+7Exi3/NjjlwiNBj4z1NQMYSs34Nh0rZKgJRvYO03xgz ZkOTKDOTB/5IWKHOB95PAVcZbanXI/GFByX76Au0KFAVjnsEomoOK5XD0pt/Ug== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1657955381; a=rsa-sha256; cv=none; b=C0hm7mAKkJil9eY5GJ501YnY5HM4cHhrwIR/nNQj0DSXpLJyid+MOAgS+hY04RAgs6X1qY jTUkhn43AZwtcoFXj9JFLvTfF1oSUqsPjQuFWnNfRJiLYujec111cLUl2aDDEkSpvtzbck CXZZ4ElrmVBgeSU0ak9QJjVLcABvpoOTVnPOq4novQY9IU7CyuiGmuevsSkGOPDZ9JSyCq 5gsW40NoMSOxHjNQPh/SmX34S2kwLiwELHPfFhO0PPWtUBAIsaNdCrfkpmfjIBbHUPRxe0 FZOy1+9WR5XP4IioTHJEnxxRO6NIBgLTSI7YMaPwGL1f9k7khz780uLhJmzdQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D265248 Bug ID: 265248 Summary: bectl warns twice when the user tries once to create an existing environment (boot environment name already taken) Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: grahamperrin@gmail.com Nit:=20 root@mowa219-gjp4-8570p-freebsd:~ # bectl list -c creation BE Active Mountpoint Space Created n250511-5f73b3338ee-d - - 64.6G 2021-11-13 15:43 n253776-d5ad1713cc3-b - - 9.43G 2022-03-18 09:31 n254693-d7696096209-f - - 4.60G 2022-04-27 17:41 n255078-e140d551b78-h - - 88.4G 2022-05-11 21:18 n255588-01235012e5b-d - - 2.61G 2022-05-15 00:29 n255588-01235012e5b-b-c1d - - 14.0G 2022-05-23 18:11 n255769-f16e38162c7-k - - 6.48G 2022-06-14 20:36 n256147-1c665e95d44-d - - 6.35G 2022-06-25 08:08 n256363-9c42645a1e4-d - - 1.55G 2022-07-05 19:40 n256570-5c19fabbe34-a - - 215M 2022-07-06 05:24 n256570-5c19fabbe34-b - - 277M 2022-07-11 17:18 n256570-5c19fabbe34-c NR / 61.3G 2022-07-13 10:53 root@mowa219-gjp4-8570p-freebsd:~ # bectl destroy n256570-5c19fabbe34-a root@mowa219-gjp4-8570p-freebsd:~ # bectl create n256570-5c19fabbe34-c boot environment name already taken boot environment name already taken Failed to create bootenv n256570-5c19fabbe34-c root@mowa219-gjp4-8570p-freebsd:~ # bectl create n256570-5c19fabbe34-d root@mowa219-gjp4-8570p-freebsd:~ # bectl mount n256570-5c19fabbe34-d /tmp/= up Successfully mounted n256570-5c19fabbe34-d at /tmp/up root@mowa219-gjp4-8570p-freebsd:~ # pkg -r /tmp/up upgrade --quiet --yes =E2=80=A6 root@mowa219-gjp4-8570p-freebsd:~ # bectl umount n256570-5c19fabbe34-d=20 root@mowa219-gjp4-8570p-freebsd:~ # bectl activate n256570-5c19fabbe34-d Successfully activated boot environment n256570-5c19fabbe34-d root@mowa219-gjp4-8570p-freebsd:~ # exit logout % date ; uname -a Sat 16 Jul 2022 08:04:39 BST FreeBSD mowa219-gjp4-8570p-freebsd 14.0-CURRENT FreeBSD 14.0-CURRENT #15 main-n256570-5c19fabbe34-dirty: Wed Jul 6 04:50:03 BST 2022=20=20=20=20 root@mowa219-gjp4-8570p-freebsd:/usr/obj/usr/src/amd64.amd64/sys/GENERIC-NO= DEBUG amd64 % exit --=20 You are receiving this mail because: You are the assignee for the bug.=