[Bug 275407] freebsd-update - zfs_clone() error while creating boot environment

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 28 Nov 2023 13:53:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275407

            Bug ID: 275407
           Summary: freebsd-update - zfs_clone() error while creating boot
                    environment
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: sturmanj@gmail.com

While upgrading to FreeBSD 14.0-RELEASE using freebsd-update upgrade and
merging all the config files the program exits with a zfs error.

src component not installed, skipped
Creating snapshot of existing boot environment... cannot create
'zroot/ROOT/13.2-RELEASE-p5_2023-11-28_094647/bcbsd-ubuntusrv1-dsk1.vhd':
'canmount' does not apply to datasets of this typeerror when calling
zfs_clone() to create boot env
error when calling zfs_clone() to create boot env                              
                                                                               
                            error when calling zfs_clone() to create boot env
Failed to create bootenv 13.2-RELEASE-p5_2023-11-28_094647

The dataset in this error was created to be used as a virtual disk by CBSD
(https://www.freshports.org/sysutils/cbsd/)

----
[freebsd:~ $]> zfs list -r -o name,canmount,mountpoint
zroot/ROOT/default/bcbsd-ubuntusrv1-dsk1.vhd
NAME                                          CANMOUNT  MOUNTPOINT
zroot/ROOT/default/bcbsd-ubuntusrv1-dsk1.vhd  -         -
----

If got other datasets as virtual hard disks with cannmount not set and neither
mountpoint.

-- 
You are receiving this mail because:
You are the assignee for the bug.