check_running_kernel (part of nagios-plugins-contrib) fails as a 20.04 LTS Kernel is now LZ4 compressed

Bug #1918618 reported by Joop Boonen
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
nagios-plugins-contrib (Debian)
Fix Released
Undecided
Jan Wagner
nagios-plugins-contrib (Ubuntu)
Fix Released
Undecided
Jan Wagner

Bug Description

/usr/lib/nagios/plugins/check_running_kernel
fails with
UNKNOWN: Failed to get a version string from image /boot/vmlinuz-5.4.0-66-generic

As the Ubuntu LTS 20.04 Kernel is now LZ4 Compressed.

The command should give this output:
./check_running_kernel
OK: Running kernel matches on disk image: [Linux version 5.4.0-66-generic (buildd@lgw01-amd64-039) (gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)) #74-Ubuntu SMP Wed Jan 27 22:54:38 UTC 2021]

Tags: patch
Revision history for this message
Joop Boonen (jb-cd) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "This is the patch that fixes this issue" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Jan Wagner (waja)
Changed in nagios-plugins-contrib (Ubuntu):
assignee: nobody → Jan Wagner (waja)
status: New → In Progress
assignee: Jan Wagner (waja) → nobody
status: In Progress → Confirmed
Changed in nagios-plugins-contrib (Debian):
assignee: nobody → Jan Wagner (waja)
Revision history for this message
Jan Wagner (waja) wrote :

fixed with 34.20210407

Changed in nagios-plugins-contrib (Debian):
status: New → Fix Released
Revision history for this message
Jan Wagner (waja) wrote :

Fix was release by Debian package version 34.20210407

Changed in nagios-plugins-contrib (Ubuntu):
assignee: nobody → Jan Wagner (waja)
status: Confirmed → Fix Committed
Revision history for this message
Logan Rosen (logan) wrote :

This bug was fixed in the package nagios-plugins-contrib - 35.20210511

---------------
nagios-plugins-contrib (35.20210511) unstable; urgency=medium

  [ Jérôme Charaoui ]
  * [8782116] Fix check_memory plugin not working when default locale is not
    English (Closes: #985294)

  [ Jan Wagner ]
  * [34891c5] check_ssl_cert: Update to 2.2.0
  * [1eaadba] Auto update of debian/control

 -- Jan Wagner <email address hidden> Tue, 11 May 2021 22:01:33 +0200

nagios-plugins-contrib (34.20210407+1) unstable; urgency=medium

  * [1e227ca] check_ssl_cert: Update to 2.0.1
  * [bb3840a] Auto update of debian/control

 -- Jan Wagner <email address hidden> Wed, 07 Apr 2021 14:06:43 +0200

nagios-plugins-contrib (34.20210407) unstable; urgency=medium

  * [0b2ec08] dsa/control: Adding lz4 and lzop as recommends
  * [7225f0a] check_ssl_cert: Update to 2.0.0
  * [df85cc7] Auto update of debian/control

 -- Jan Wagner <email address hidden> Mon, 15 Mar 2021 20:11:40 +0100

nagios-plugins-contrib (33.20210315) unstable; urgency=medium

  * [177eb97] Adding d/p/dsa/check_running_kernel_focal_fix: Fixes issues with
    focal kernels
  * [2162cf9] d/p/dsa/check_running_kernel_jessie_centos_fix: Adding some more
    binary suggestions
  * [c0ca727] check_ssl_cert/tests: adding man to depends
  * [7a73677] check_ssl_cert: Update to 1.143.0
  * [a21a9b7] check_ssl_cert: Update to 1.144.0
  * [36768c5] check_ssl_cert: Update to 1.145.0
  * [7777072] Revert "check_ssl_cert/tests: adding man to depends"
  * [c8f963e] Auto update of debian/control

 -- Jan Wagner <email address hidden> Thu, 11 Mar 2021 15:45:14 +0100

nagios-plugins-contrib (32.20210311) unstable; urgency=medium

  * [41971bc] check_ssl_cert: Update to 1.142.0
  * [059ebda] Auto update of debian/control

 -- Jan Wagner <email address hidden> Thu, 25 Feb 2021 21:02:03 +0100

nagios-plugins-contrib (31.20210225) unstable; urgency=medium

  * [d90c9ca] check_ssl_cert: Update to 1.140.0
  * [2e3f652] Auto update of debian/control

 -- Jan Wagner <email address hidden> Thu, 25 Feb 2021 19:45:55 +0100

nagios-plugins-contrib (30.20210223) unstable; urgency=medium

  * [e8ad4d9] Move transitional package nagios-plugins-contrib to
    oldlibs/optional per policy 4.0.1.
  * [1d2c802] check_ssl_cert: Update to 1.137.0

 -- Jan Wagner <email address hidden> Thu, 04 Feb 2021 10:14:40 +0100

Changed in nagios-plugins-contrib (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.