Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Jan 2020 03:38: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-60x08x7oA5@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/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #8 from commit-hook@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.

help

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