Subject: monitoring-plugins-contrib: check_running_kernel has no idea what
riscv64 kernel is running
Date: Mon, 17 Feb 2025 14:43:28 +0100
Package: monitoring-plugins-contrib
Version: 46.20240417
Severity: normal
User: [email protected]
Usertags: infrastructure
x-debbugs-cc: [email protected], [email protected]
Dear Maintainer,
check_running_kernel has no idea what riscv64 kernel is running:
holger@riscv64-01:~$ echo ; dpkg -l |grep -E '(linux-image|monitoring-plugins-contrib)' |grep ii; echo ; ls /boot/vm* -lart ; echo ; uname -a ; echo; echo ; /usr/lib/nagios/plugins/check_running_kernel
ii linux-image-6.12.12-riscv64 6.12.12-1 riscv64 Linux 6.12 for 64-bit RISC-V platforms
ii linux-image-riscv64 6.12.12-1 riscv64 Linux for 64-bit RISC-V platforms (meta-package)
ii monitoring-plugins-contrib 46.20240417 riscv64 Plugins for nagios compatible monitoring systems
-rw-r--r-- 1 root root 29059584 Feb 2 21:17 /boot/vmlinux-6.12.12-riscv64
Linux riscv64-01 6.12.12-riscv64 #1 SMP Debian 6.12.12-1 (2025-02-02) riscv64 GNU/Linux
WARNING: Did not find a kernel image (checked) - I have no idea which kernel I am running
holger@riscv64-01:~$
Not sure what other info you need, but I'd be happy to help.
& thank you for maintaining monitoring-plugins-contrib!
--
cheers,
Holger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
⠈⠳⣄
Der Mensch is' gut, aber die Leut' san a G'sindel!
Acknowledgement sent
to Sebastiaan Couwenberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 14:15:01 GMT) (full text, mbox, link).
Subject: Re: [Pkg-nagios-devel] Bug#1096198: monitoring-plugins-contrib:
check_running_kernel has no idea what riscv64 kernel is running
Date: Mon, 17 Feb 2025 15:13:10 +0100
On 2/17/25 2:43 PM, Holger Levsen wrote:
> check_running_kernel has no idea what riscv64 kernel is running:
>
> holger@riscv64-01:~$ echo ; dpkg -l |grep -E '(linux-image|monitoring-plugins-contrib)' |grep ii; echo ; ls /boot/vm* -lart ; echo ; uname -a ; echo; echo ; /usr/lib/nagios/plugins/check_running_kernel
>
> ii linux-image-6.12.12-riscv64 6.12.12-1 riscv64 Linux 6.12 for 64-bit RISC-V platforms
> ii linux-image-riscv64 6.12.12-1 riscv64 Linux for 64-bit RISC-V platforms (meta-package)
> ii monitoring-plugins-contrib 46.20240417 riscv64 Plugins for nagios compatible monitoring systems
>
> -rw-r--r-- 1 root root 29059584 Feb 2 21:17 /boot/vmlinux-6.12.12-riscv64
>
> Linux riscv64-01 6.12.12-riscv64 #1 SMP Debian 6.12.12-1 (2025-02-02) riscv64 GNU/Linux
>
>
> WARNING: Did not find a kernel image (checked) - I have no idea which kernel I am running
> holger@riscv64-01:~$
>
> Not sure what other info you need, but I'd be happy to help.
The plain source works a little better:
sebastic@ricci:~/tmp/debian/nagios-plugins-contrib-46.20240417$ bash ./dsa/checks/dsa-check-running-kernel
WARNING: Running kernel does not match on-disk kernel image: [Linux version 6.12.11-riscv64 ([email protected]) (riscv64-linux-gnu-gcc-14 (Debian 14.2.0-12) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20250108) #1 SMP Debian 6.12.11-1 (2025-01-25) != Linux version 6.12.11-riscv64 ([email protected]) (riscv64-linux-gnu-gcc-14 (Debian 14.2.0-12) 14.2.0, GNU ld (GNU Binutils for Debian) 2.43.50.20250108) # SMP Debian 6.12.11-1 (2025-01-25)]
That one checks /boot/vmlinux-$(uname -r), the installed version only checks /boot/vmlinuz-$(uname -r).
But there is still a mismatch between the compared strings (#1 SMP vs # SMP).
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Subject: Re: [Pkg-nagios-devel] Bug#1096198: Bug#1096198:
monitoring-plugins-contrib: check_running_kernel has no idea what riscv64
kernel is running
Date: Mon, 17 Feb 2025 15:42:37 +0100
Control: tags -1 pending
Added a patch in git to also check vmlinux images again which resolves the issue on the porterbox at least.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Acknowledgement sent
to Holger Levsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 15:33:02 GMT) (full text, mbox, link).
On Mon, Feb 17, 2025 at 03:42:37PM +0100, Sebastiaan Couwenberg wrote:
> Control: tags -1 pending
> Added a patch in git to also check vmlinux images again which resolves the issue on the porterbox at least.
I tried to build current git to confirm, but it ftbfs for me:
[...]
make -C src
make[4]: Verzeichnis „/home/holger/nagios-plugins-contrib/check_hpasm/check_hpasm-4.9“ wird betreten
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/holger/nagios-plugins-contrib/check_hpasm/src/missing' aclocal-1.16
/home/holger/nagios-plugins-contrib/check_hpasm/src/missing: Zeile 81: aclocal-1.16: Kommando nicht gefunden.
WARNING: 'aclocal-1.16' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[4]: *** [Makefile:337: aclocal.m4] Fehler 127
make[4]: Verzeichnis „/home/holger/nagios-plugins-contrib/check_hpasm/check_hpasm-4.9“ wird verlassen
make[3]: *** [Makefile:10: check_hpasm] Fehler 2
make[3]: Verzeichnis „/home/holger/nagios-plugins-contrib/check_hpasm“ wird verlassen
make[2]: *** [Makefile:25: check_hpasm] Fehler 2
make[2]: Verzeichnis „/home/holger/nagios-plugins-contrib“ wird verlassen
dh_auto_build: error: make -j1 returned exit code 2
make[1]: *** [debian/rules:11: override_dh_auto_build] Fehler 255
make[1]: Verzeichnis „/home/holger/nagios-plugins-contrib“ wird verlassen
make: *** [debian/rules:38: build] Fehler 2
dpkg-buildpackage: Fehler: Unterprozess debian/rules build lieferte Exitstatus 2
debuild: fatal error at line 1184:
dpkg-buildpackage -us -uc -ui failed
holger@riscv64-01:~/nagios-plugins-contrib$ dpkg-checkbuilddeps
holger@riscv64-01:~/nagios-plugins-contrib$
but looking at git log, I suppose I'm doing it wrong? :)
commit be7a81413d49ebb6ee83c724f4a0ef4c91bc45ab (HEAD -> master)
Author: root <[email protected]>
Date: Mon Feb 17 23:24:51 2025 +0800
Auto update of debian/control
commit c967e51c789de7d559374fbe6305b53d8653fcdb
Author: root <[email protected]>
Date: Mon Feb 17 23:24:49 2025 +0800
Auto update of debian/copyright
commit 6924874140cdd5ca336f09895be05d0c0584b8e4 (origin/master, origin/HEAD)
Author: Bas Couwenberg <[email protected]>
Date: Mon Feb 17 15:40:50 2025 +0100
Add patch to fix check_running_kernel on riscv64 with vmlinux images. (closes: #1096198)
I've literally just cloned the git repo, made sure I'm in the correct branch and that
the build-depends are installed and ran debuild...
--
cheers,
Holger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
⠈⠳⣄
There are no jobs on a dead planet. (Also many other things but people mostly
seem to care about jobs.)
Acknowledgement sent
to Holger Levsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 15:33:02 GMT) (full text, mbox, link).
On Mon, Feb 17, 2025 at 03:30:06PM +0000, Holger Levsen wrote:
> Author: root <[email protected]>
It's also the first time I use my user account on that node for anything
so I suppose that's why git "thinks" I'm root.
:)
--
cheers,
Holger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
⠈⠳⣄
Not everything was bad during capitalism.
Acknowledgement sent
to Sebastiaan Couwenberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 15:39:02 GMT) (full text, mbox, link).
Subject: Re: [Pkg-nagios-devel] Bug#1096198: Bug#1096198:
monitoring-plugins-contrib: check_running_kernel has no idea what riscv64
kernel is running
Date: Mon, 17 Feb 2025 16:37:12 +0100
On 2/17/25 4:30 PM, Holger Levsen wrote:
> On Mon, Feb 17, 2025 at 03:42:37PM +0100, Sebastiaan Couwenberg wrote:
>> Control: tags -1 pending
>> Added a patch in git to also check vmlinux images again which resolves the issue on the porterbox at least.
>
> I tried to build current git to confirm, but it ftbfs for me:
>
> [...]
>
> but looking at git log, I suppose I'm doing it wrong? :)
>
> commit be7a81413d49ebb6ee83c724f4a0ef4c91bc45ab (HEAD -> master)
> Author: root <[email protected]>
> Date: Mon Feb 17 23:24:51 2025 +0800
>
> Auto update of debian/control
>
> commit c967e51c789de7d559374fbe6305b53d8653fcdb
> Author: root <[email protected]>
> Date: Mon Feb 17 23:24:49 2025 +0800
>
> Auto update of debian/copyright
Yes, these two commits should not be there.
> I've literally just cloned the git repo, made sure I'm in the correct branch and that
> the build-depends are installed and ran debuild...
That has patches unapplied likely, you'll need to apply patches at least.
This should work:
QUILT_PATCHES=debian/patches quilt push -a && dpkg-buildpackage -us -uc 2>&1 | tee ../nagios-plugins-contrib.build
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Acknowledgement sent
to Holger Levsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 16:09:02 GMT) (full text, mbox, link).
On Mon, Feb 17, 2025 at 04:37:12PM +0100, Sebastiaan Couwenberg wrote:
> On 2/17/25 4:30 PM, Holger Levsen wrote:
> > On Mon, Feb 17, 2025 at 03:42:37PM +0100, Sebastiaan Couwenberg wrote:
> > Auto update of debian/control
> > Auto update of debian/copyright
> Yes, these two commits should not be there.
debuild put them there it seems, however...
> > I've literally just cloned the git repo, made sure I'm in the correct branch and that
> > the build-depends are installed and ran debuild...
> That has patches unapplied likely, you'll need to apply patches at least.
no, debuild does that automatically.
> This should work:
> QUILT_PATCHES=debian/patches quilt push -a && dpkg-buildpackage -us -uc 2>&1 | tee ../nagios-plugins-contrib.build
no, same failure as before:
make[3]: Entering directory '/home/holger/nagios-plugins-contrib/check_hpasm/check_hpasm-4.9'
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/bash '/home/holger/nagios-plugins-contrib/check_hpasm/src/missing' aclocal-1.16
/home/holger/nagios-plugins-contrib/check_hpasm/src/missing: line 81: aclocal-1.16: command not found
WARNING: 'aclocal-1.16' is missing on your system.
You should only need it if you modified 'acinclude.m4' or
'configure.ac' or m4 files included by 'configure.ac'.
The 'aclocal' program is part of the GNU Automake package:
<http://www.gnu.org/software/automake>
It also requires GNU Autoconf, GNU m4 and Perl in order to run:
<http://www.gnu.org/software/autoconf>
<http://www.gnu.org/software/m4/>
<http://www.perl.org/>
make[3]: *** [Makefile:337: aclocal.m4] Error 127
make[3]: Leaving directory '/home/holger/nagios-plugins-contrib/check_hpasm/check_hpasm-4.9'
make[2]: *** [Makefile:14: clean] Error 2
make[2]: Leaving directory '/home/holger/nagios-plugins-contrib/check_hpasm'
make[1]: *** [Makefile:25: check_hpasm] Error 2
make[1]: Leaving directory '/home/holger/nagios-plugins-contrib'
dh_auto_clean: error: make -j1 clean returned exit code 2
make: *** [debian/rules:18: clean] Error 255
dpkg-buildpackage: error: fakeroot debian/rules clean subprocess returned exit status 2
holger@riscv64-01:~/nagios-plugins-contrib$
but fine, I can also wait for an updated package and test then. :)
--
cheers,
Holger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
⠈⠳⣄
You can cut all the flowers, but you can’t keep spring from coming.
#transdayofremembrance #berlin (2024)
Acknowledgement sent
to Sebastiaan Couwenberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 16:18:01 GMT) (full text, mbox, link).
Subject: Re: [Pkg-nagios-devel] Bug#1096198: Bug#1096198:
monitoring-plugins-contrib: check_running_kernel has no idea what riscv64
kernel is running
Date: Mon, 17 Feb 2025 17:14:23 +0100
On 2/17/25 5:03 PM, Holger Levsen wrote:
> but fine, I can also wait for an updated package and test then. :)
Or use a build chroot, schroot works for me on the porterbox.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Acknowledgement sent
to Sebastiaan Couwenberg <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 16:36:01 GMT) (full text, mbox, link).
Subject: Re: [Pkg-nagios-devel] Bug#1096198: Bug#1096198:
monitoring-plugins-contrib: check_running_kernel has no idea what riscv64
kernel is running
Date: Mon, 17 Feb 2025 17:33:41 +0100
On 2/17/25 5:22 PM, Holger Levsen wrote:
> On Mon, Feb 17, 2025 at 05:14:23PM +0100, Sebastiaan Couwenberg wrote:
>> On 2/17/25 5:03 PM, Holger Levsen wrote:
>>> but fine, I can also wait for an updated package and test then. :)
>> Or use a build chroot, schroot works for me on the porterbox.
>
> I have access to several machines as root, no need to build on a porterbox...
You still might want to use a clean chroot, as that's proven to work for me.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
Acknowledgement sent
to Holger Levsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Mon, 17 Feb 2025 17:42:02 GMT) (full text, mbox, link).
On Mon, Feb 17, 2025 at 05:33:41PM +0100, Sebastiaan Couwenberg wrote:
> > I have access to several machines as root, no need to build on a porterbox...
> You still might want to use a clean chroot, as that's proven to work for me.
the machine is very clean, it's been setup two weeks ago. the homedir
was unused as of today. i'll wait for the package in sid. thanks!
--
cheers,
Holger
⢀⣴⠾⠻⢶⣦⠀
⣾⠁⢠⠒⠀⣿⡁ holger@(debian|reproducible-builds|layer-acht).org
⢿⡄⠘⠷⠚⠋⠀ OpenPGP: B8BF54137B09D35CF026FE9D 091AB856069AAA1C
⠈⠳⣄
Where will your kids go when they become climate refugees?
Source: nagios-plugins-contrib
Source-Version: 47.20250420
Done: Jan Wagner <[email protected]>
We believe that the bug you reported is fixed in the latest version of
nagios-plugins-contrib, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jan Wagner <[email protected]> (supplier of updated nagios-plugins-contrib package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Sun, 20 Apr 2025 21:02:26 +0200
Source: nagios-plugins-contrib
Architecture: source
Version: 47.20250420
Distribution: unstable
Urgency: medium
Maintainer: Debian Nagios Maintainer Group <[email protected]>
Changed-By: Jan Wagner <[email protected]>
Closes: 107007310961981101154
Changes:
nagios-plugins-contrib (47.20250420) unstable; urgency=medium
.
[ Evgeni Golov ]
* [8a9233b] check_libs_ng: catch FileNotFoundErrors when trying to read the
map files (Closes: #1070073)
* [9416e7f] check_libs_ng: use iglob instead of glob
.
[ Jan Wagner ]
* [ed21d22] check_ssl_cert: Update to 2.82.0
.
[ Bas Couwenberg ]
* [316e815] Bump Standards-Version to 4.7.0, no changes.
* [6924874] Add patch to fix check_running_kernel on riscv64 with vmlinux
images. (closes: #1096198)
* [072def6] Auto update of debian/copyright
* [5f7611d] Bump Standards-Version to 4.7.2, no changes.
* [bd11afa] Fix old FSF address in copyright file.
.
[ Jan Wagner ]
* [b9015b6] check_rbl: Update to 1.7.7
* [709eb0b] check_rbl: Remove useless source code of version 1.7.2
* [448ef4f] Refresh d/p/check_rbl/additional_rbls
* [00b764b] Adding d/p/check_rbl/fix_pod fixing encoding issues
* [72eb2f0] check_ssl_cert: Update to 2.92.0
* [463396b] Update check-cert-expire-dir, check-packages, update-apt-status and
update-unowned-file-status from dsa upstream
* [8619dd8] Adding d/p/check_nfsmounts/perfdata fixing perfdata
(Closes: #1101154)
* [20a93f3] nagios-plugins-linux: Update to v34
Checksums-Sha1:
425ec8d9e54f38d17f393fa27b8a190b78964e59 2383 nagios-plugins-contrib_47.20250420.dsc
0e821b7c1e1ad03fed155c3cafd960eb208c82c9 986044 nagios-plugins-contrib_47.20250420.tar.xz
9a2411597cdee12d0af8f5222918159c82ab4eb6 7059 nagios-plugins-contrib_47.20250420_amd64.buildinfo
Checksums-Sha256:
9cf0805ee5cd684372e83a7c6cba5153e3926ec7d7987e0f21c61978be1d73cc 2383 nagios-plugins-contrib_47.20250420.dsc
4354f5a646754354cf0a0d746c1116dddf852ec04120be0c47ac173e469d3301 986044 nagios-plugins-contrib_47.20250420.tar.xz
e7472754f3d79401a7cd5f1adc990c2e89d689d3b87383e827c53f9b04be83c8 7059 nagios-plugins-contrib_47.20250420_amd64.buildinfo
Files:
d3b70e4eb2878e28f55c0447cf3f10a4 2383 net optional nagios-plugins-contrib_47.20250420.dsc
158e0f8838ef9f31a3c474bb9a9bafa7 986044 net optional nagios-plugins-contrib_47.20250420.tar.xz
228fc4204be02c1d2a8d5c402af68d44 7059 net optional nagios-plugins-contrib_47.20250420_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCAAdFiEEXOdRCo+8DU5yq7qbDHBVe1oGUT4FAmgFRjgACgkQDHBVe1oG
UT6qOhAAmJSLlVkPxIhuEfv+CLaclG30LzeWPLN9PSuCQWQJ758JcjaUbM22atDV
qjSYdiSTyNaScZCs1vY8KpskwxzObNSAHjnnIigWW+P8VKvAYo9ctmXhN/oqnIuo
vdpv91yO/aKdfPS5WwkaP5NJvmp75Uk32c1jnpi41Xigy7akuW9UUODPI0tEr/gI
1aLdFgCrI9CfDwzrGoTm4gDu6zOQwqib4dCtrED0LKcJbXkufdZV/AYnA7edb1nv
p2bJyxa8IcCuxIn1RJjJy5/F7geObXAJEd3UerHJOg4cSjf9bw4DYBDznsdt3jzp
OCqOdax0lvVutGvbAa4dFxdOkhFinSnF3fcHj2LhQ6b+z9ZBv1Ojli2e6XCEC9Wx
Yks05bdVxiyrlXsM021JCMkOj0l55N7q+BfRBaZoGgKloMuzsgYcqR9un2+QJyxn
1ZFkamEWQRAReiU8Ksef9vbmDgFBU0zgAw6flVUDpXCKqdtM1Di7Z/ff9J+BfqMF
pjW0l4oXHLZh9Pj7tlhN4BRWECmS7uOOtepuHrzeb/QIffRq1+q33p72G/f/QEG7
hYAWN6oUxVaVHnBGnccXY8cKO7Uc8vd+DiAE8WJreCA4tC7HENcGqgVcwVXCk6d5
UiNYpoNy0ihbeDHe3qbSoimr8QH2WEiOz2muKkKlB0toynqjABs=
=7CdP
-----END PGP SIGNATURE-----
Acknowledgement sent
to Holger Levsen <[email protected]>:
Extra info received and forwarded to list. Copy sent to Debian Nagios Maintainer Group <[email protected]>.
(Wed, 23 Apr 2025 22:36:02 GMT) (full text, mbox, link).
Debbugs is free software and licensed under the terms of the GNU General
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.