beadm stops working after upgrading ZFS to 2.2.2
After an upgrade from zfs-2.1.12 to zfs-2.2.2-r1, beadm stops working:
# beadm list
No boot environments found on this system.
Even worse, genkernel initramfs that uses the beadm only mounts the root dataset, but not the datasets under it.
Originally noticed by @a.mistewicz on 2023-08-03.
The workaround is to rebuild sys-apps/beadm manually (blocked by zfs#48 (closed)).
Edited by Witaut Bajaryn