[pkg-nagios-changes] [Git][nagios-team/nagios-plugins-contrib][master] Add patch to fix check_running_kernel on riscv64 with vmlinux images. (closes: #1096198)
Bas Couwenberg (@sebastic)
gitlab at salsa.debian.org
Mon Feb 17 14:41:08 GMT 2025
Bas Couwenberg pushed to branch master at Debian Nagios Maintainer Group / nagios-plugins-contrib
Commits:
69248741 by Bas Couwenberg at 2025-02-17T15:40:50+01:00
Add patch to fix check_running_kernel on riscv64 with vmlinux images. (closes: #1096198)
- - - - -
2 changed files:
- + debian/patches/dsa/check_running_kernel_vmlinux
- debian/patches/series
Changes:
=====================================
debian/patches/dsa/check_running_kernel_vmlinux
=====================================
@@ -0,0 +1,10 @@
+--- a/dsa/checks/dsa-check-running-kernel
++++ b/dsa/checks/dsa-check-running-kernel
+@@ -194,6 +194,7 @@ fi
+
+ searched=""
+ for on_disk in \
++ $([ -f "/boot/vmlinux-$(uname -r)" ] && find /boot/ -maxdepth 1 -name 'vmlinux*' -and -name "vmlinux-$(uname -r)" -or -name 'vmlinux*' -and -newer "/boot/vmlinux-$(uname -r)" | sort -V) \
+ $([ -f "/boot/vmlinuz-$(uname -r)" ] && find /boot/ -maxdepth 1 -name 'vmlinuz*' -and -name "vmlinuz-$(uname -r)" -or -name 'vmlinuz*' -and -newer "/boot/vmlinuz-$(uname -r)" | sort -V) \
+ $([ -f "/boot/kfreebsd-$(uname -r).gz" ] && find /boot/ -maxdepth 1 -name 'kfreebsd*' -and -name "kfreebsd-$(uname -r).gz" -or -name 'kfreebsd*' -and -newer "/boot/kfreebsd-$(uname -r).gz" | sort -V); do
+
=====================================
debian/patches/series
=====================================
@@ -64,3 +64,4 @@ check_raid/hpacucli_cache_fail
check_raid/fix_unparsed_error_cciss
check_redis/acl_support
check_v6/remove_spaces_from_perf_data
+dsa/check_running_kernel_vmlinux
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/commit/6924874140cdd5ca336f09895be05d0c0584b8e4
--
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/commit/6924874140cdd5ca336f09895be05d0c0584b8e4
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20250217/cd737581/attachment.htm>
More information about the pkg-nagios-changes
mailing list