Segmentation fault in clr-boot-manager

Hi folks,

I have an error in clr-boot-manager

clr-boot-manager update

[ERROR] cbm (…/src/bootloaders/syslinux-common.c:L288): No boot partition found, you need to mark the boot partition with “legacy_boot” flag.
[FATAL] cbm (…/src/bootman/bootman.c:L163): Cannot initialise bootloader syslinux
Segmentation fault

swupd info

Distribution: Clear Linux OS
Installed version: 33210
Version URL: https://cdn.download.clearlinux.org/update
Content URL: https://cdn.download.clearlinux.org/update

/dev/vda1 is the boot partition (vfat) and not mounted, it’s uefi boot.

parted /dev/vda print

Model: Virtio Block Device (virtblk)
Disk /dev/vda: 68.7GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 150MB 149MB fat32 EFI boot, esp
2 150MB 406MB 256MB linux-swap(v1) linux-swap
3 406MB 68.7GB 68.3GB ext4 /

CBM_DEBUG=1 clr-boot-manager update

[DEBUG] cbm (…/src/cli/cli.c:L142): No such file: //etc/kernel/update_efi_vars
[INFO] cbm (…/src/bootman/bootman.c:L744): Current running kernel: 5.6.15-460.kvm
[DEBUG] cbm (…/src/bootman/bootman.c:L140): shim-systemd caps: 0x26, wanted: 0x08
[DEBUG] cbm (…/src/bootloaders/grub2.c:L563): grub2 not found at //usr/sbin/grub-mkconfig

[DEBUG] cbm (…/src/bootman/bootman.c:L140): grub2 caps: 0x00, wanted: 0x08
[DEBUG] cbm (…/src/bootman/bootman.c:L140): syslinux caps: 0x2c, wanted: 0x08
[DEBUG] cbm (…/src/bootman/bootman.c:L157): Legacy boot now selected (syslinux)
[ERROR] cbm (…/src/bootloaders/syslinux-common.c:L288): No boot partition found, you need to mark the boot partition with “legacy_boot” flag.
[FATAL] cbm (…/src/bootman/bootman.c:L163): Cannot initialise bootloader syslinux
Segmentation fault

mount | grep firmware

efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /sys/firmware type tmpfs (ro,relatime)

The second mount overlaps the first one and the directory /sys/firmware seems to be empty.
After ‘umount /sys/firmware’ the directory is filled with many subdirectories including efi/efivars …

Where does the second mount come from?

thnx

This should be reported as a bug on https://github.com/clearlinux/clr-boot-manager/

Problem solved.
The second mount was a side effect from a docker volume plugin (wetopi/rbd).
I removed this plugin, rebooted the machine and clr-boot-manager runs without
an error.

Thnx