Bug#1026026: /usr/sbin/needrestart: typo prevents vm detection and leads to error in microcode check

2023-05-29 Thread Antoine Beaupré
A workaround for this issue is to enable another check mechanism by
installing libimvirt-perl if I understand correctly.



Bug#1026026: /usr/sbin/needrestart: typo prevents vm detection and leads to error in microcode check

2023-05-25 Thread Jérôme Charaoui

Control: severity -1 important

Hello,

This is crippling the usefulness of needrestart in virtual machines, 
because it is systematically reporting a failure every time it runs, 
with the output including:


 Failed to check for processor microcode upgrades.

Furthermore, it is causing needrestart's "nagios check" mode to report a 
false "UNKNWOWN" status where it should be reporting "OK".


Would it be possible to please backport this trivial patch?

Thank you,

-- Jérôme



Bug#1026026: /usr/sbin/needrestart: typo prevents vm detection and leads to error in microcode check

2022-12-13 Thread Christoph Martin

Package: needrestart
Version: 3.6-2
Severity: normal
File: /usr/sbin/needrestart

Dear Maintainer,

on a vm needrestart warns about failed microcode upgrades because
of a typo in line 54 of needrestart.

/usr/bin/systemds-detect-virt

should be

/usr/bin/systemd-detect-virt

Regards
Christoph

-- Package-specific info:
needrestart output:

Running kernel seems to be up-to-date.

Failed to check for processor microcode upgrades.

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.



-- System Information:
Debian Release: bookworm/sid
  APT prefers testing
  APT policy: (700, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.0.0-5-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en

Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages needrestart depends on:
ii  binutils   2.39.50.20221208-5
ii  dpkg   1.21.12
ii  gettext-base   0.21-10
ii  libintl-perl   1.26-4
ii  libmodule-find-perl0.16-2
ii  libmodule-scandeps-perl1.31-2
ii  libproc-processtable-perl  0.634-1+b2
ii  libsort-naturally-perl 1.03-4
ii  libterm-readkey-perl   2.38-2+b1
ii  perl   5.36.0-4
ii  xz-utils   5.2.9-0.0

Versions of packages needrestart recommends:
ii  libpam-systemd  252.2-2
ii  systemd 252.2-2

Versions of packages needrestart suggests:
pn  iucode-tool  
pn  needrestart-session | libnotify-bin  

-- no debconf information


OpenPGP_signature
Description: OpenPGP digital signature