/etc/default/grub.d/40_kernel_hardening.cfg fails to detect kernel upgrade

Information

ID: 945
PHID: PHID-TASK-nx3ggmysxg3sq3hjkmz6
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

kver="$(uname -r)"

Confuses running kernel vs installed (upgraded) kernel.

Maybe better:

dpkg-query --show --showformat='${Version}' linux-image-amd64

Comments


madaidan

2019-12-23 19:58:08 UTC


Patrick

2019-12-24 11:15:15 UTC