Bug#1111713: systemd-boot: might create a non-working EFI default entry when using secure-boot and shim
Norbert Lange
nolange79 at gmail.com
Thu Aug 21 12:17:32 BST 2025
Package: systemd-boot
Version: 257.7-1
Severity: important
Dear Maintainer,
Using systemd-boot-efi-amd64-signed, shim-signed and systemd-boot
will result in 2 EFI entries beeing added (if they dont exists) every time
systemd-boot is upgraded.
once via 'bootctl update' which will result in a entry that is not working
when using secure-boot via the shim.
and one using the shim (if that package is installed).
I dont know why but this also happened to set the default to the
nonworking-non-shim twice (cant reproduce now).
I would like to be able to remove the "Linux Boot Manager" entry
once and dont ever have it come back.
So maybe add --no-variables to the 'bootctl update' call,
or atleast when the shim is available on the second
EFI entry will be created.
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: 13.0
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 6.12.41+deb13-amd64 (SMP w/32 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages systemd-boot depends on:
ii libc6 2.41-12
ii libsystemd-shared 257.7-1
ii systemd 257.7-1
ii systemd-boot-efi 257.7-1
ii systemd-boot-efi-amd64-signed [systemd-boot-efi-signed] 257.7-1
ii systemd-boot-tools 257.7-1
Versions of packages systemd-boot recommends:
ii efibootmgr 18-2
ii shim-signed 1.47+15.8-1
Versions of packages systemd-boot suggests:
pn systemd-ukify <none>
-- no debconf information
More information about the Pkg-systemd-maintainers
mailing list