[pkg-nagios-changes] [Git][nagios-team/nagios-plugins-contrib][master] 2 commits: Extend fix for on-disk version detection on Bookworm (Closes: #1033791)

Jan Wagner (@waja) gitlab at salsa.debian.org
Wed Oct 11 11:31:59 BST 2023



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


Commits:
8f920321 by Manfred Stock at 2023-10-11T12:28:33+02:00
Extend fix for on-disk version detection on Bookworm (Closes: #1033791)

Commit 4ab7834e added a fix for Debian bug #1029720 [1] but only on the
code path for compressed kernel images. However, it seems like the same
issue also exists on non-compressed images that are used at least on
some ARM64 machines as reported in Debian bug #1033791 [2].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029720
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1033791

- - - - -
678b2809 by Jan Wagner at 2023-10-11T12:30:50+02:00
Merge branch 'master' of salsa.debian.org:nagios-team/nagios-plugins-contrib

- - - - -


1 changed file:

- debian/patches/dsa/check_running_kernel_bookworm_fix


Changes:

=====================================
debian/patches/dsa/check_running_kernel_bookworm_fix
=====================================
@@ -9,3 +9,12 @@
  			if [ -x /usr/bin/lsb_release ] ; then
  				vendor=$(lsb_release -i -s)
  				if [ -n "$vendor" ] && [ "xDebian" != "x$vendor" ] ; then
+@@ -211,7 +211,7 @@
+ 				fi
+ 			fi
+ 			[ -z "$on_disk_version" ] || continue
+-			on_disk_version="`cat "$on_disk" | $STRINGS | grep 'Linux version' | head -n1`"
++			on_disk_version="`cat "$on_disk" | $STRINGS | grep 'Linux version' | tail -n1`"
+ 			[ -z "$on_disk_version" ] || continue
+ 
+ 			echo "UNKNOWN: Failed to get a version string from image $on_disk"



View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/compare/5d9ea4f8e6e94b0145a751e43f781ea803f20afe...678b2809d02eb52db872a06d48fb4419d6bb6c45

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/nagios-plugins-contrib/-/compare/5d9ea4f8e6e94b0145a751e43f781ea803f20afe...678b2809d02eb52db872a06d48fb4419d6bb6c45
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/20231011/cc4d072e/attachment.htm>


More information about the pkg-nagios-changes mailing list