[Bug 257492] bectl: libbe_init("") failed

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Jul 2021 18:59:28 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257492

            Bug ID: 257492
           Summary: bectl: libbe_init("") failed
           Product: Base System
           Version: 13.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: kern
          Assignee: bugs@FreeBSD.org
          Reporter: dougs@dawnsign.com

Upgraded all of my servers to 13.0-RELEASE. On two of my servers are the
following zfs list:

[root@fornax 29.Jul 10:56am ~]# zfs list
NAME            USED  AVAIL     REFER  MOUNTPOINT
tank           20.0G   964G       23K  none
tank/root      20.0G   964G     18.3G  /
tank/root/tmp  47.5K   964G     47.5K  /tmp
tank/root/var  1.68G   964G     1.68G  /var
[root@fornax 29.Jul 10:59am ~]# 

Note the two-part zpool name.

When calling bectl, I receive the following error:

[root@fornax 29.Jul 10:38am ~]# bectl list
libbe_init("") failed.

My filesystems are like this:

[root@fornax 29.Jul 10:59am ~]# df
Filesystem     1K-blocks     Used      Avail Capacity  Mounted on
tank/root     1030259566 19201838 1011057728     2%    /
devfs                  1        1          0   100%    /dev
tank/root/tmp 1011057775       47 1011057728     0%    /tmp
tank/root/var 1012819830  1762102 1011057728     0%    /var
[root@fornax 29.Jul 11:01am ~]# 

None of the servers I control using three-part zpool names exhibit such errors.

I used Martin Matuska's mfsbsd to install these two servers and that is how I
ended up with these default filesystem naming scheme. When using the FreeBSD
installers, the default root filesystem name is zroot/ROOT/default whereas
mfsbsd produces tank/root.

Is there a workaround?

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