[Bug 242592] bectl - cannot destroy a boot environment

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Jan 2 18:47:10 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242592

--- Comment #6 from commit-hook at 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

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


More information about the freebsd-bugs mailing list