You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Composefs] "Multiple extra entries in /boot, could not determine rollback entry" after switch between image variants #2224
bootc status (and --json) errors out after switching between sibling image variants:
error: Status: Getting composefs deployment status:
Getting composefs deployment status:
Multiple extra entries in /boot, could not determine rollback entry
Environment
bootc 1.15.2
Pure composefs backend (no /sysroot/ostree/repo)
systemd-boot 260.1, BLS entries on a FAT ESP
What's on disk
3 composefs deployments in /sysroot/state/deploy/:
verity (short)
origin
mtime
29c668f7…
dakota:latest
May 27
53dda3db…
dakota:latest
May 28
bfe67a5b…
dakota-nvidia:latest
May 30 (booted)
4 BLS entries under /loader/entries/:
file
composefs= verity
sort-key
bootc_bluefin_dakota-20260528-0.conf
53dda3db…
bootc-bluefin-dakota-1
bootc_bluefin_dakota-20260530-1.conf
bfe67a5b… (booted)
bootc-bluefin-dakota-0
bootc_bootc-20260527-1.conf
29c668f7…
bootc-bootc-0
bootc_bootc-20260528-0.conf
53dda3db… (duplicate ref)
bootc-bootc-1
Two distinct sort-key groups (bootc-bluefin-dakota-* and bootc-bootc-*); the last entry is also a literal duplicate of the bluefin one. The deployment-status enumerator can't pick a rollback when entries span groups.
Repro
Composefs install.
bootc switch <imageA>:latest → reboot.
bootc switch <imageB>:latest → reboot.
sudo bootc status → error.
Workaround
Delete the orphan group from the ESP:
sudo mount /dev/<esp> /mnt/esp
sudo rm /mnt/esp/loader/entries/bootc_bootc-*.conf
sudo umount /mnt/esp
sudo bootc status # works
Possible fix directions
Reconcile BLS entries against the deployment set during bootc switch (and upgrade) instead of only appending under a new sort-key.
In status enumeration, drop BLS entries whose composefs= verity isn't in /sysroot/composefs/images/ and warn, rather than erroring out.
De-dup BLS entries that point at the same composefs verity.
Activity