Skip to content

bootupd: failure when running from live-iso #2136

@nikita-dubrovskii

Description

@nikita-dubrovskii

With recent Fedora CoreOS update, bootupctl started failing when running from live ISO.
Before it worked fine and just printed:

No update available for any component.

Now it fails with:

error: Querying adoptable state: creation time is not available for the filesystem

The problem is that ISO filesystem doesn't have btime, so https://github.com/coreos/bootupd/blob/main/src/coreos.rs#L43 fails (by design).

Reproducer:

cosa kola qemuexec --workdir none --qemu-iso coreos.iso

Logs from previous build:

core@localhost:~$  cat /etc/os-release  | grep -e "^VERSION="
VERSION="43.20260413.2.1 (CoreOS)"
core@localhost:~$ journalctl -u bootloader-update.service 
Apr 21 07:48:17 localhost systemd[1]: Starting bootloader-update.service - Update bootloader on boot...
Apr 21 07:48:18 localhost bootupctl[1073]: No update available for any component.
Apr 21 07:48:18 localhost systemd[1]: Finished bootloader-update.service - Update bootloader on boot.

core@localhost:~$ sudo bootupctl status
Running as unit: bootupd.service; invocation ID: b983846621664a79ae8f8393f22e0733
Component BIOS
  Installed: grub2-tools-1:2.12-43.fc43.x86_64
  Update: At latest version
Component EFI
  Installed: grub2-1:2.12-43.fc43,shim-15.8-3
  Update: At latest version
No components are adoptable.
error: creation time is not available for the filesystem
core@localhost:~$ echo $?
1

(As we can see it exited with EXIT_FAILURE, but not during bootupctl update)

And what happens now:

core@localhost:~$ cat /etc/os-release  | grep -e "^VERSION="
VERSION="43.20260419.20.dev0 (CoreOS)"
core@localhost:~$ journalctl -u bootloader-update.service
Apr 21 06:55:35 localhost systemd[1]: Starting bootloader-update.service - Update bootloader on boot...
Apr 21 06:55:36 localhost bootupctl[1099]: error: Querying adoptable state: creation time is not available for the filesystem
Apr 21 06:55:36 localhost systemd[1]: bootloader-update.service: Main process exited, code=exited, status=1/FAILURE
Apr 21 06:55:36 localhost systemd[1]: bootloader-update.service: Failed with result 'exit-code'.
Apr 21 06:55:36 localhost systemd[1]: Failed to start bootloader-update.service - Update bootloader on boot.

core@localhost:~$ sudo bootupctl status
Running as unit: bootupd.service; invocation ID: 25ebd6fb04724198b35b8b5161837e48
error: Querying adoptable state: creation time is not available for the filesystem

Here almost common logs for both builds:

core@localhost:~$ lsblk -f
NAME  FSTYPE  FSVER            LABEL                            UUID                                 FSAVAIL FSUSE% MOUNTPOINTS
loop0 xfs                                                       d547eea7-113e-42a5-be89-40572b5398c6  324.7M    21% /run/ephemeral
                                                                                                                    /var
                                                                                                                    /etc
loop1 erofs                                                     50f44ceb-dc30-4c02-8e49-78ad478f066e       0   100% /sysroot
                                                                                                                    /usr
                                                                                                                    /
sr0   iso9660 Joliet Extension fedora-coreos-43.20260419.20.dev 2026-04-20-13-27-38-00                     0   100% /run/media/iso
vda         

                                                                                                        
core@localhost:~$ stat /sysroot/.coreos-aleph-version.json
  File: /sysroot/.coreos-aleph-version.json -> .aleph-version.json
  Size: 19              Blocks: 8          IO Block: 4096   symbolic link
Device: 7,1     Inode: 47          Links: 1
Access: (0777/lrwxrwxrwx)  Uid: (    0/    root)   Gid: (    0/    root)
Context: system_u:object_r:root_t:s0
Access: 2022-08-01 23:42:11.000000000 +0000
Modify: 2022-08-01 23:42:11.000000000 +0000
Change: 2022-08-01 23:42:11.000000000 +0000
 Birth: -

Metadata

Metadata

Labels

jirafor syncing to jira

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions