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
bootupctl update fails to parse .bootc-aleph.json when the installed image has no version #1166
We build a small Fedora bootc desktop (kumaOS) and install it with bootc install to disk. Since September 30, every fresh install fails bootloader-update.service on every boot:
error: Parsing "/sysroot/.bootc-aleph.json": invalid type: null, expected a string at line 1 column 717
The system boots fine otherwise, but the failed unit makes anything that watches failed units (our kuma doctor) grade the machine unhealthy.
Looking at both sides, the file's version field is optional on the writer and required on the reader. bootupd's Aleph in src/aleph.rs needs it as a plain string:
pub(crate) version:String,
bootc's InstallAleph in crates/lib/src/install/aleph.rs declares it as
pub(crate) version:Option<String>,
with no skip_serializing_if, so when the installed image carries no version metadata the file ends up containing "version": null. The writer does use skip_serializing_if for its image field when it's None, so this looks like an oversight rather than intent. ("timestamp": null in the same file is harmless for bootupd since unknown fields get ignored — version is the only field it actually requires.)
Timeline in case it's useful: we compose from quay.io/fedora/fedora-bootc:44, which is rebuilt daily. Installs from the September 29 build work; installs from September 30 onward write the null version. bootc was 1.16.13-1.fc44 on both days, so the binary didn't change — something in the images' version metadata did. Only fresh installs are affected (the aleph is written once at install time), and live ISO boots don't hit it because the unit's ExecCondition skips them on squashfs.
I'm not sure whether you'd rather fix this on the reader (make version optional) or on the writer (skip the field when None, like image). Happy to test a fix, or pull the actual file off a broken install if that's useful.
Activity
cgwalters commentedon Oct 3, 2026
Fixing it on both the reader and writer would make sense to me!
Keep image labels through rechunking; UI and VM test fixes from scree…
install/aleph: skip serializing optional fields if None
aleph: handle missing or null version field
install/aleph: skip serializing optional fields if None
Rolv-Apneseth commentedon Oct 28, 2026
Thank you for opening this @Letdown2491.
Both #1178 and bootc-dev/bootc#2591 have been merged, so I think we can close this. The fix should be in the next
bootupdrelease.Fix bootloader-update and tuned-ppd, retry the Flatpak setup