Bug#1029720: [Pkg-nagios-devel] Bug#1029720: Bug#1029720: monitoring-plugins-contrib: false positive w bookworm kernel: "running kernel does not match on-disk kernel image'

2023-02-21 Thread Jan Wagner

Thanks for all your input.

As the release is coming closer and I'm very short on time at the moment 
patches are very appreciated.


Thanks Jan



Bug#1029720: [Pkg-nagios-devel] Bug#1029720: Bug#1029720: monitoring-plugins-contrib: false positive w bookworm kernel: "running kernel does not match on-disk kernel image'

2023-01-30 Thread Hilmar Preuße

Am 30.01.2023 um 13:10 teilte Jan Wagner mit:

Hi,


thanks for confirming.

As I don't have a bookworm system (with running kernel) at hand, I can't
go deeper into debugging this issue until I get hands on it.


I'm able to reproduce, if that helps.

hille@sid-amd64:~$ /usr/lib/nagios/plugins/check_running_kernel
WARNING: Running kernel does not match on-disk kernel image: [Linux
version 6.1.0-1-amd64 (debian-ker...@lists.debian.org) (gcc-12 (Debian
12.2.0-13) 12.2.0, GNU ld (GNU Binutils for Debian) 2.39.90.20221231) #1
SMP PREEMPT_DYNAMIC Debian 6.1.4-1 (2023-01-07) != Linux version
6.1.0-2-amd64 (debian-ker...@lists.debian.org) (gcc-12 (Debian
12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) # SMP
PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18)]

When running with bash -x I see two times (two kernel images installed)
the message:

++ echo 'ERROR: Unable to extract kernel image.'

..but this could be benign. I did not fully read the output yet.

Hilmar
--
sigfault