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

Hilmar Preuße hille42 at web.de
Mon Jan 30 20:37:57 GMT 2023


Am 30.01.2023 um 13:57 teilte Hilmar Preuße mit:
> 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 at 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-kernel at 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-kernel at 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)]
>
The message above is correct. When comparing the two lines, one notices
that they are not equal:

Linux version 6.1.0-2-amd64 (debian-kernel at lists.debian.org) (gcc-12
(Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP
PREEMPT_DYNAMIC Debian 6.1.7-1 (2023-01-18)

vs.

Linux version 6.1.0-2-amd64 (debian-kernel at 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)

Meanwhile I rebooted into the 2nd kernel, which did not solve the issue.

H.
--
sigfault



More information about the Pkg-nagios-devel mailing list