Bug#1100653: systemd-boot: postinst script installs duplicate efibootmgr entries
Ned T. Crigler
crigler at gmail.com
Sun Mar 16 16:50:53 GMT 2025
Package: systemd-boot
Version: 257.4-3
Severity: normal
systemd-boot upgrades are causing duplicate shimx64 entries to be added.
The prerm/postinst scripts use case-sensitive greps causing the old
entry's path to be ignored after the system changes the path to all
uppercase later.
# efibootmgr
BootCurrent: 0001
Timeout: 1 seconds
BootOrder: 0006,0001,0000,0002,0003,0004,0005
Boot0000* Linux Boot Manager HD(1,GPT,7036def9-3ddd-4f5a-a289-84c9e0d5d844,0x800,0x100000)/File(\EFI\SYSTEMD\SYSTEMD-BOOTX64.EFI)
Boot0001* Debian HD(1,GPT,7036def9-3ddd-4f5a-a289-84c9e0d5d844,0x800,0x100000)/File(EFI\DEBIAN\SHIMX64.EFI)5c004500460049005c00730079007300740065006d0064005c00730079007300740065006d0064002d0062006f006f0074007800360034002e0065006600690020005c003000
Boot0002* UEFI OS HD(1,GPT,7036def9-3ddd-4f5a-a289-84c9e0d5d844,0x800,0x100000)/File(\EFI\BOOT\BOOTX64.EFI)0000424f
Boot0003* UEFI:CD/DVD Drive BBS(129,,0x0)
Boot0004* UEFI:Removable Device BBS(130,,0x0)
Boot0005* UEFI:Network Device BBS(131,,0x0)
Boot0006* Debian HD(1,GPT,7036def9-3ddd-4f5a-a289-84c9e0d5d844,0x800,0x100000)/File(EFI\debian\shimx64.efi)5c004500460049005c00730079007300740065006d0064005c00730079007300740065006d0064002d0062006f006f0074007800360034002e0065006600690020005c003000
More information about the Pkg-systemd-maintainers
mailing list