Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#56807 - Make systemd-boot upgrades mimic .pacnew philosophy: don't touch default UEFI boot entry

Attached to Project: Arch Linux
Opened by Ceriel Jacobs (cj1) - Thursday, 21 December 2017, 20:05 GMT
Last edited by Eli Schwartz (eschwartz) - Thursday, 21 December 2017, 20:35 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description: systemd-boot upgrade changes the default UEFI boot entry.

Additional info:
* package version(s)
bootctl --version
systemd 236
+PAM -AUDIT -SELINUX -IMA -APPARMOR +SMACK -SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD -IDN2 +IDN default-hierarchy=hybrid
* config and/or log files etc.


Steps to reproduce:
# make anything "title" != 'Arch Linux' the (default)
# pacman -Syu (including systemd update)
...
(3/7) Upgrading systemd-boot...
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/systemd/systemd-bootx64.efi".
Copied "/usr/lib/systemd/boot/efi/systemd-bootx64.efi" to "/boot/EFI/BOOT/BOOTX64.EFI".
Created EFI boot entry "Linux Boot Manager".
...
# bootctl list | grep '(default)'
title: Arch Linux (default)

Before:
# bootctl list | grep '(default)'
title: Arch Linux Speedboot (default)


Wish: --no-variables Don't touch EFI variables on systemd-boot updates (unless file names do change -> boot failures)
This task depends upon

Closed by  Eli Schwartz (eschwartz)
Thursday, 21 December 2017, 20:35 GMT
Reason for closing:  Not a bug
Additional comments about closing:  You explicitly installed https://aur.archlinux.org/packages/syste md-boot-pacman-hook/ because you wanted to do this. Don't install AUR packages you don't want.
Comment by Ceriel Jacobs (cj1) - Thursday, 21 December 2017, 20:20 GMT
The issue is different.

bootctl list shows an incorrect (default). And that value that differs from the value in /boot/loader/loader.conf
Booting select the correct entry, only bootctl list view is faulty.

[code]
Available boot entries:
title: Find needed modules using lsmod | grep -v ' [a-z]'
linux: /vmlinuz-linux
initrd: /intel-ucode.img /initramfs-linux-fallback.img
options: root=PARTUUID=c...3 break=postmount rw

title: Arch Linux fallback
linux: /vmlinuz-linux
initrd: /intel-ucode.img /initramfs-linux-fallback.img
options: root=PARTUUID=c...3 rw

title: Arch Linux speedboot
linux: /vmlinuz-linux
initrd: /intel-ucode.img /initramfs-linux-tiny.img
options: root=PARTUUID=c...3 rw fbcon=scrollback:128k iomem=relaxed

title: Arch Linux (default)
linux: /vmlinuz-linux
initrd: /intel-ucode.img /initramfs-linux.img
options: root=PARTUUID=c...3 rw
[/code]

[loader.conf]
timeout 1
default arch-tiny
editor 1
[/loader.conf]

ls -l /boot/loader/entries/
total 16
-rwxr-xr-x 1 root root 218 Mar 20 2017 arch-fallback-break.conf
-rwxr-xr-x 1 root root 171 Mar 20 2017 arch-fallback.conf
-rwxr-xr-x 1 root root 204 Nov 25 22:47 arch-tiny.conf
-rwxr-xr-x 1 root root 153 Mar 17 2017 arch.conf

Loading...