Bug#906873: linux-base: linux-version returns invalid information if gpg kernel signatures are present
Package: linux-base
Version: 4.5
Severity: normal
Dear Maintainer,
I am using grub with `check_signatures` set to `enforce`. This requires gpg-
style detached signatures in the boot directory. `linux-version` incorrectly
lists these signatures as kernel versions.
Recently, initramfs-tools seems to have switched to using linux-version to get
the most recent kernel version and so now `update-initramfs` doesn't work
unless I remove these files first.
$ ls -l /boot/vmlinuz*
-rw-r--r-- 1 root root 4970256 Jun 22 10:50 /boot/vmlinuz-4.16.0-2-amd64
-rw-r--r-- 1 root root 566 Jul 1 18:08 /boot/vmlinuz-4.16.0-2-amd64.sig
-rw-r--r-- 1 root root 5044080 Jul 20 22:08 /boot/vmlinuz-4.17.0-1-amd64
-rw-r--r-- 1 root root 566 Jul 23 14:41 /boot/vmlinuz-4.17.0-1-amd64.sig
$ linux-version list
4.16.0-2-amd64
4.16.0-2-amd64.sig
4.17.0-1-amd64
4.17.0-1-amd64.sig
-- System Information:
Debian Release: buster/sid
APT prefers testing
APT policy: (500, 'testing'), (10, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.17.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages linux-base depends on:
ii debconf [debconf-2.0] 1.5.69
linux-base recommends no packages.
linux-base suggests no packages.
-- debconf information:
linux-base/removing-title:
linux-base/removing-running-kernel: true
Reply to: