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: systemd-boot "timeout 5" is never written, bootctl install already created loader.conf #2558
Environment: same as above (bootc 1.17.1, composefs, --bootloader systemd, systemd 262).
What happens: after the install loader/loader.conf on the ESP contains only systemd's commented template (#timeout 3, #console-mode keep), so the timeout is 0 and the boot menu is never shown: the rollback entry cannot be picked unless one knows to press a key at the right moment.
Why: bootc writes timeout 5 only when the file does not exist,
.with_context(|| format!("Writing to {SYSTEMD_LOADER_CONF_PATH}"))?;
}
but bootctl install, run earlier in the same install, has already created loader.conf from its template.
Suggestion: write the timeout after bootctl install regardless of the file's existence at install time (e.g. when the file has no active timeout line), or pass the setting to bootctl.
We work around it by writing loader.conf ourselves after bootc install.
Activity
sd-boot: Make sure timeout is written
sd-boot: Pick `loader.conf` from the image
sd-boot: Pick `loader.conf` from the image
cgwalters commentedon Oct 30, 2026
Yes this has to be configurable from the image and not hardcoded in bootc.
That said too, any installer program can wrap
bootc install to-filesystemand configure this how it wants too.The linked PR gives us a model to configure it in the strictly opinionated
to-diskflow though.sd-boot: Pick `loader.conf` from the image