FrostyX / tracer

Tracer finds outdated running applications in your system
GNU General Public License v2.0
82 stars 24 forks source link

new kernels are not detected on Debian #88

Open evgeni opened 7 years ago

evgeni commented 7 years ago

ohai, it seems tracer does not detect new kernels on Debian.

the code added in #83 looks for folders in /lib/modules that are newer than the running kernel, but Debian does not increment the kernel version string on every update, thus the folder does not change.

evgeni commented 7 years ago

you'd need to actually look inside the on disk and in memory kernels to check that: see https://github.com/liske/needrestart/blob/master/perl/lib/NeedRestart/Kernel/Linux.pm or https://github.com/bzed/pkg-nagios-plugins-contrib/blob/master/dsa/checks/dsa-check-running-kernel