Skip to content

bootc upgrade stacks bootloader entries in entries.staged (composefs) (systemd-boot) #1857

Closed

Description

@hecknt

Recently, loader entries started to have their filename named with the verity attached. An issue popped up because of this: When you run bootc upgrade multiple times in a single boot, entries in entries.staged start to stack up.

Image

This on its own isn't that big of an issue. What is an issue, however, is that this could put the wrong update on the top of the boot order list depending on how the entries are named. In this image, ALL of the entries ending with -1 have the sort-key of bootc-arch-0, which means that they (theoretically) should be ordered as the top entry. Since they all have the same sort-key, the entry on the top will be the one that sorts first alphabetically, NOT the newest one.

Activity

  1. Johan-Liebert1 commented on Dec 17, 2025

    @Johan-Liebert1
    Member

    Thanks for reporting this. This is indeed a bug due to us not removing any existing staged entries

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions