[pkg-nagios-changes] [Git][nagios-team/nagios-plugins-contrib][master] Adding d/p/dsa/check_running_kernel_bookworm_fix (Closes: #1029720)

Jan Wagner (@waja) gitlab at salsa.debian.org
Wed Mar 8 10:28:11 GMT 2023



Jan Wagner pushed to branch master at Debian Nagios Maintainer Group / nagios-plugins-contrib


Commits:
4ab7834e by Jan Wagner at 2023-03-07T14:35:12+00:00
Adding d/p/dsa/check_running_kernel_bookworm_fix (Closes: #1029720)

- - - - -


2 changed files:

- + debian/patches/dsa/check_running_kernel_bookworm_fix
- debian/patches/series


Changes:

=====================================
debian/patches/dsa/check_running_kernel_bookworm_fix
=====================================
@@ -0,0 +1,11 @@
+--- a/dsa/checks/dsa-check-running-kernel
++++ b/dsa/checks/dsa-check-running-kernel
+@@ -203,7 +203,7 @@
+ 			exit $UNKNOWN
+ 		fi
+ 		if [ "${on_disk/vmlinu}" != "$on_disk" ]; then
+-			on_disk_version="`get_image_linux "$on_disk" | $STRINGS | grep 'Linux version' | head -n1`"
++			on_disk_version="`get_image_linux "$on_disk" | $STRINGS | grep 'Linux version' | tail -n1`"
+ 			if [ -x /usr/bin/lsb_release ] ; then
+ 				vendor=$(lsb_release -i -s)
+ 				if [ -n "$vendor" ] && [ "xDebian" != "x$vendor" ] ; then


=====================================
debian/patches/series
=====================================
@@ -48,6 +48,7 @@ dsa/epn
 dsa/check_packages_,_fix
 dsa/check_running_kernel_jammy_fix
 dsa/check_running_kernel_allow_tilde
+dsa/check_running_kernel_bookworm_fix
 check_cups/ParseDateDelta
 check_printer/epn
 check_nfsmounts/nfs4_support



View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/commit/4ab7834e02586e981d1ac1e944cba7157e3ddb9c

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/commit/4ab7834e02586e981d1ac1e944cba7157e3ddb9c
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/20230308/435c9b5a/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list