Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
MFC r342849: libbe(3): Don't allow bootfs to be destroyed
Previously, the following sequence of events was feasible under some circumstance: bectl create test bectl activate test # the test BE dataset gets promoted and set as bootfs bectl destroy test I was unable to reproduce the destroy succeeding, but we should be rejecting this before it even gets to libzfs because it would leave the system in an inconsistent state. Forcing the user to be explicit as to which environment should be activated instead is much better.
- Loading branch information