Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 02 Jan 2020 18:47:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 242592] bectl -  cannot destroy a boot environment
Message-ID:  <bug-242592-227-oaECLnOzlZ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242592-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242592-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242592

--- Comment #6 from commit-hook@freebsd.org ---
A commit references this bug:

Author: kevans
Date: Thu Jan  2 18:46:35 UTC 2020
New revision: 356279
URL: https://svnweb.freebsd.org/changeset/base/356279

Log:
  libbe(3): promote dependent clones when destroying an environment

  When removing a boot environment iterate over the dependents and process =
the
  snapshots by grabbing any clones. Promote the clones we found and then
  remove the target environment.

  This fixes the ability to destroy a boot environment when it has been used
  to spawn one or more other boot environments.

  PR:           242592
  Submitted by: Wes Maag <jwmaag gmail com> (with changes by myself)
  MFC after:    1 week
  Differential Revision:        https://reviews.freebsd.org/D22953

Changes:
  head/lib/libbe/be.c
  head/lib/libbe/be.h
  head/lib/libbe/be_error.c
  head/sbin/bectl/tests/bectl_test.sh

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242592-227-oaECLnOzlZ>