Public bug reported:

grub-multi-install is not locale stable, which means, for systems with
multiple ESPs, running:

sudo LC_ALL=C dpkg-reconfigure grub-efi-arm64

and

sudo LC_ALL=en_US.UTF-8 dpkg-reconfigure grub-efi-arm64

stores different output in grub-efi/install_devices, for example:

with LC_ALL=C:
* grub-efi/install_devices: 
/dev/disk/by-id/nvme-Micron_7450_MTFDKBA480TFR_254954CD71E8-part1, 
/dev/disk/by-id/nvme-Micron_7450_MTFDKBA480TFR_254954CD7CF6-part1

with LC_ALL=en_US.UTF-8:
* grub-efi/install_devices: 
/dev/disk/by-id/nvme-eui.000000000000000100a0752554cd71e8-part1, 
/dev/disk/by-id/nvme-eui.000000000000000100a0752554cd7cf6-part1

note that, options selected in LC_ALL=C are not checked in
LC_ALL=en_US.UTF-8, all the available ESP listed are unselected.

---

This can cause issues that grub-efi/install_devices are overwritten with
incorrect values when GRUB is upgraded and reinstalled with locales
different from C

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164992

Title:
  install_devices alias selection in grub-multi-install is not locale-
  stable, causing spurious reconfiguration across locales

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/2164992/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to