From nobody Tue May 03 14:06:33 2022 X-Original-To: dev-commits-src-main@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 4F6BB1ABBC29; Tue, 3 May 2022 14:06:34 +0000 (UTC) (envelope-from git@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 4Kt1wV10QGz3jFL; Tue, 3 May 2022 14:06:34 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651586794; 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=9D8yMSu7ApvSrxACWmCRj4NdhcgXPumBEu82Wzi6x9A=; b=L6Z9pEHawABe/u2apJiWxm6dQkrgsItUa6W5dNwjOl3IDoU+reqMTG+CjHbaNloni5k9dr yDkhJcvqVCHtBcqBgwnscEZ+hTXzQtB44iaWYczwWRcMFgZI1qlAS1kB4tCmFCk9DxDSkH nxECY6NJ1AmGSAbzRZypFSn7jSCE4pKTnX34mUTdr+pKp7RJmYZlZGehRwoh7h7dkz+I/H EUgfY8w08CdZaCFcDWG+aoR7Pooboz5sVcTIbqnbt1Kmd8LPEp4icHEIV14bJvJho8GDDz RUUHd6PPeRV53IwAox7bQ8M4RD3WQo4fR47nDswuPmwPKJEVK+rUgms5dJk6bw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 ED74D1FB1C; Tue, 3 May 2022 14:06:33 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 243E6XOO078304; Tue, 3 May 2022 14:06:33 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 243E6Xqm078303; Tue, 3 May 2022 14:06:33 GMT (envelope-from git) Date: Tue, 3 May 2022 14:06:33 GMT Message-Id: <202205031406.243E6Xqm078303@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Emmanuel Vadot Subject: git: 450b4ac23c75 - main - bsdinstall/script: umount before zpool export List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: manu X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 450b4ac23c75e2dde996c96049c0887864e22d09 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1651586794; 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=9D8yMSu7ApvSrxACWmCRj4NdhcgXPumBEu82Wzi6x9A=; b=nHMfIeLAcDTpA2ERdUP3vgS9gVzm8E9JkTJ8ZiLsZqgfT2zciizTOxoktgvIYmr9KRw/w5 Re9aOT+jVgyv6By5jYEnPDVhRTupjOMLsaRWxmj4h3ksZgceJcbNyEvNU7JdN3iG2l6ywB Bl2Aai5AKS28EtEj0y3MsZPUI4P8wht9T/Bep4Q0vyRHE9cZxD9GGqqhET2jeMD/QKZNy4 mYcgWjhv4GpRDoZeV24exVGvniKGqLoJEW6cjpTuz3x8wlmlS7wBLHzVjkC7NY8b6lYiUC ozffhFPS3iHiP0Ynqx7/zn1Ttv49pGmgmUcb+vnm60x8N7XFgeYWSusDFgAcSQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1651586794; a=rsa-sha256; cv=none; b=MUkDrUS6QrzAp1z3FKY1zNG23ykbdWbdiZz5e0ai3MMUPyTVIJGOq0Rw5L5KVa+zwzTCWv mHlMa04oxhex0SCMOlRhswv/oJ/MXeXUp8XzpdidD/y2md5Re1Wk5s+MN0ZKA71D/ht0Zn 6egZrEErsfaPs4TC8r/apcGpOonmnEqK8UTY2znheymFxQcD7urbw5IaLHZK6r9QREA7jD epXzURMEyGZZ/HMjYyyNLA+mO7NkEZCImAb1+GquGucaB90WvUnXku2JH6NSIFOphYoZWE k4zIK22TBTavnxf6mc58xB2OmoBaROubxe7PgOyk8A+yMTLL8EXBcy0SUCf2AA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by manu: URL: https://cgit.FreeBSD.org/src/commit/?id=450b4ac23c75e2dde996c96049c0887864e22d09 commit 450b4ac23c75e2dde996c96049c0887864e22d09 Author: Corvin Köhne AuthorDate: 2022-05-03 14:01:22 +0000 Commit: Emmanuel Vadot CommitDate: 2022-05-03 14:02:39 +0000 bsdinstall/script: umount before zpool export When running zpool export first, boot/efi and dev is still mounted so zpool export fails. By running bsdinstall umount first the pool can be cleanly exported. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D35114 Sponsored by: Beckhoff Automation GmbH & Co. KG MFC After: 3 days --- usr.sbin/bsdinstall/scripts/script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/bsdinstall/scripts/script b/usr.sbin/bsdinstall/scripts/script index 92332241f348..24469589d1a5 100755 --- a/usr.sbin/bsdinstall/scripts/script +++ b/usr.sbin/bsdinstall/scripts/script @@ -168,10 +168,10 @@ if [ -f $TMPDIR/bsdinstall-installscript-ab ]; then fi bsdinstall entropy +bsdinstall umount if [ "$ZFSBOOT_DISKS" ]; then zpool export $ZFSBOOT_POOL_NAME fi -bsdinstall umount f_dprintf "Installation Completed at %s" "$( date )"