Package: grub-common Version: 2.12-7 Severity: minor X-Debbugs-Cc: [email protected]
Dear Maintainer, Since the upgrade from bookworm to sid, I noticed that on the boot menu Debian's boot entry has duplicate "GNU/Linux" so it ends up as "Debian GNU/Linux GNU/Linux". I chased down the source of the issue and found this commit: https://salsa.debian.org/grub- team/grub/-/commit/372c8ce2b653b0edf7bcb197e216bf1bd403446a This commit replaced the lsb_release method by sourcing the /etc/os-release file. As a side effect, GRUB_DISTRIBUTOR changed from "Debian" to "Debian GNU/Linux". A snippet of the script in /etc/grub.d/10_linux indicates that the script will add GNU/Linux to the OS name if it isn't Ubuntu or Kubuntu. See the snippets below: ------ from /etc/grub.d/10_linux: case ${GRUB_DISTRIBUTOR} in Ubuntu|Kubuntu) OS="${GRUB_DISTRIBUTOR}" ;; *) OS="${GRUB_DISTRIBUTOR} GNU/Linux" ;; esac from /etc/grub.d/20_linux_xen: if [ "x${GRUB_DISTRIBUTOR}" = "x" ] ; then OS=GNU/Linux else OS="${GRUB_DISTRIBUTOR} GNU/Linux" CLASS="--class $(echo ${GRUB_DISTRIBUTOR} | tr 'A-Z' 'a-z' | cut -d' ' -f1|LC_ALL=C sed 's,[^[:alnum:]_],_,g') ${CLASS}" fi from /boot/grub/grub.cfg: menuentry 'Debian GNU/Linux GNU/Linux' --class debian --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-simple-<...>' { load_video insmod gzio if [ x$grub_platform = xxen ]; then insmod xzio; insmod lzopio; fi insmod part_gpt insmod ext2 search --no-floppy --fs-uuid --set=root <...> echo 'Loading Linux 6.12.27-amd64 ...' linux /vmlinuz-6.12.27-amd64 root=UUID=<...> ro rootflags=subvol=<...> splash echo 'Loading initial ramdisk ...' initrd /initrd.img-6.12.27-amd64 } ------ Thank you -- Package-specific info: *********************** BEGIN /proc/mounts /dev/mapper/nvme0n1p3_crypt / btrfs rw,relatime,compress-force=zstd:3,ssd,discard=async,space_cache=v2,subvolid=774,subvol=/root 0 0 /dev/mapper/nvme0n1p3_crypt /home btrfs rw,relatime,compress-force=zstd:3,ssd,discard=async,space_cache=v2,subvolid=734,subvol=/home 0 0 /dev/nvme0n1p2 /boot ext4 rw,relatime 0 0 /dev/nvme0n1p1 /boot/efi vfat rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro 0 0 *********************** END /proc/mounts *********************** BEGIN /boot/grub/grub.cfg -- System Information: Debian Release: 13.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.12.27-amd64 (SMP w/16 CPU threads; PREEMPT) Locale: LANG=C.UTF-8, LC_CTYPE=C.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 grub-common depends on: ii gettext-base 0.23.1-2 ii libc6 2.41-8 ii libdevmapper1.02.1 2:1.02.205-2 ii libefiboot1t64 38-3.1+b1 ii libefivar1t64 38-3.1+b1 ii libfreetype6 2.13.3+dfsg-1 ii libfuse3-4 3.17.2-1 ii liblzma5 5.8.1-1 Versions of packages grub-common recommends: ii os-prober 1.83 Versions of packages grub-common suggests: ii console-setup 1.237 ii desktop-base 13.0.2 pn grub-emu <none> ii mtools 4.0.48-1 pn multiboot-doc <none> ii xorriso 1.5.6-1.2+b1 -- no debconf information

