[Bug 242592] bectl - cannot destroy a boot environment
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Jan 10 03:38:10 UTC 2020
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242592
--- Comment #8 from commit-hook at freebsd.org ---
A commit references this bug:
Author: kevans
Date: Fri Jan 10 03:37:54 UTC 2020
New revision: 356593
URL: https://svnweb.freebsd.org/changeset/base/356593
Log:
MFC r356279: libbe(3): promote dependent clones when destroying a BE
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
Changes:
_U stable/11/
stable/11/lib/libbe/be.c
stable/11/lib/libbe/be.h
stable/11/lib/libbe/be_error.c
stable/11/sbin/bectl/tests/bectl_test.sh
_U stable/12/
stable/12/lib/libbe/be.c
stable/12/lib/libbe/be.h
stable/12/lib/libbe/be_error.c
stable/12/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