Package: needrestart
Version: 3.5-4+deb11u4

After updating from the previous version, 3.5-4+deb11u3, it now reports
that three services need to be restarted. It'll keep reporting this
regardless of the services being restarted or the machine rebooting. All
three are services for Ceph podman containers. The only containers
running on the machine. The expectation is that the warning will go away
after restarting services.

On Debian 11, Kernel 5.10.226-1

Note: This also occurred on Debian a 12 machine with a needrestart
upgrade of 3.6-4+deb12u1 to 3.6-4+deb12u2. Which makes me think it's
directly related to the recent code patch. I'm sending a separate email
with that bug report. Thanks!

-Mike


Example output
# needrestart  -v -m a -r l
[main] eval /etc/needrestart/needrestart.conf
[main] needrestart v3.5
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[Core] #892 is a NeedRestart::Interp::Perl
[Perl] #892: source=/usr/sbin/munin-node
[main] #92912 uses obsolete binary /usr/libexec/platform-python3.6
[main] #92912 is a child of #92856
[main] #92928 uses obsolete binary /bin/node_exporter
[main] #92928 is a child of #92884
[main] #93022 uses obsolete binary /usr/bin/ceph-mon
[main] #93022 is a child of #93000
[main] #92856 exe => /dev/init
[main] #92856 unexpected cgroup 
'/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon02.service/container'
[main] trying systemctl status
[main] #92856 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon02.service
[main] #92884 exe => /dev/init
[main] #92884 unexpected cgroup 
'/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon02.service/container'
[main] trying systemctl status
[main] #92884 is 
ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon02.service
[main] #93000 exe => /dev/init
[main] #93000 unexpected cgroup 
'/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon02.service/container'
[main] trying systemctl status
[main] #93000 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon02.service
[ucode] using NeedRestart::uCode::Intel
[ucode] using NeedRestart::uCode::AMD
[uCode/Intel] #0 current revision: 0x5003707
+ iucode_tool --scan-system
+ grep -oE [^[:space:]]+$
+ sig=0x00050657
+ [ -r /sys/devices/system/cpu/cpu0/microcode/processor_flags ]
+ cat /sys/devices/system/cpu/cpu0/microcode/processor_flags
+ filter=-s 0x00050657,0x1
+ test -r /etc/needrestart/iucode.sh
+ . /etc/needrestart/iucode.sh
+ type bsdtar
+ IUCODE_TOOL_EXTRA_OPTIONS=
+ test -r /etc/default/intel-microcode
+ . /etc/default/intel-microcode
+ test  = no
+ [ -r /usr/share/misc/intel-microcode* ]
+ iucode_tool -l -s 0x00050657,0x1 --ignore-broken -tb /lib/firmware/intel-ucode
+ grep 0x00050657
[uCode/Intel] #0 available revision: 0x5003707
[uCode/AMD] #0 cpu vendor id mismatch
[Kernel] Linux: kernel release 5.10.0-33-amd64, kernel version #1 SMP Debian 
5.10.226-1 (2024-10-03)
[Kernel/Linux] /boot/vmlinuz-5.10.0-33-amd64 => 5.10.0-33-amd64 
(debian-ker...@lists.debian.org) #1 SMP Debian 5.10.226-1 (2024-10-03) 
[5.10.0-33-amd64]*
[Kernel/Linux] /boot/vmlinuz-5.10.0-32-amd64 => 5.10.0-32-amd64 
(debian-ker...@lists.debian.org) #1 SMP Debian 5.10.223-1 (2024-08-10) 
[5.10.0-32-amd64]
[Kernel/Linux] Expected linux version: 5.10.0-33-amd64

Running kernel seems to be up-to-date.

The processor microcode seems to be up-to-date.

Services to be restarted:
 systemctl restart 
ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon02.service
 systemctl restart ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon02.service
 systemctl restart 
ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon02.service

No containers need to be restarted.

No user sessions are running outdated binaries.



-- 
Michael Baer
Systems Engineer/Ops/Software
DNS Operations, Analysis, and Research Center
m...@dns-oarc.net
C: 530.902.3131

Reply via email to