Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1221047

Bug#1087958: needrestart reports services need to be restarted after they are restarted

From Michael Baer <mike@dns-oarc.net>
Newsgroups linux.debian.bugs.dist
Subject Bug#1087958: needrestart reports services need to be restarted after they are restarted
Date 2024-11-20 22:00 +0100
Message-ID <JKZXP-ajXv-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Package: needrestart
Version: 3.6-4+deb12u2

After updating from the previous version, 3.6-4+deb12u1, 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 12, Kernel 6.1.115-1

Note: This also occurred on Debian 11 machines with a needrestart
upgrade of 3.5-4+deb11u3 to 3.5-4+deb11u4 . 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.6
[main] running in root mode
[Core] Using UI 'NeedRestart::UI::stdio'...
[main] systemd detected
[Core] #1089 is a NeedRestart::Interp::Perl
[Perl] #1089: source=/usr/sbin/munin-node
[main] #252812 uses obsolete binary /run/podman-init
[main] #252812 is a child of #252796
[main] #252838 uses obsolete binary /usr/bin/ceph-mon
[main] #252838 is a child of #252812
[main] #252909 uses obsolete binary /run/podman-init
[main] #252909 is a child of #252884
[main] #252918 uses obsolete binary /run/podman-init
[main] #252918 is a child of #252892
[main] #252936 uses obsolete binary /usr/libexec/platform-python3.6
[main] #252936 is a child of #252918
[main] #252937 uses obsolete binary /bin/node_exporter
[main] #252937 is a child of #252909
[main] #252796 exe => /usr/bin/conmon
[main] #252796 unexpected cgroup '/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon03.service/runtime'
[main] trying systemctl status
[main] #252796 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon03.service
[main] #252812 exe => /run/podman-init
[main] #252812 unexpected cgroup '/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon03.service/libpod-payload-bf8c6a2600076895b7abd2e5f6aafa0893111619c246bb11083f4c5ecc90231c'
[main] trying systemctl status
[main] #252812 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon03.service
[main] #252884 exe => /usr/bin/conmon
[main] #252884 unexpected cgroup '/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon03.service/runtime'
[main] trying systemctl status
[main] #252884 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon03.service
[main] #252892 exe => /usr/bin/conmon
[main] #252892 unexpected cgroup '/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon03.service/runtime'
[main] trying systemctl status
[main] #252892 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon03.service
[main] #252909 exe => /run/podman-init
[main] #252909 unexpected cgroup '/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon03.service/libpod-payload-939b65b5374570990b096f316399bfd5b4a4892161590828825dab0d59986554'
[main] trying systemctl status
[main] #252909 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon03.service
[main] #252918 exe => /run/podman-init
[main] #252918 unexpected cgroup '/system.slice/system-ceph\x2d0113e5fa\x2dc835\x2d11ed\x2d9b3d\x2dfbe4e4a9a9eb.slice/ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon03.service/libpod-payload-f0f0a8dcd35fb140f4ac8fd682f6e49917ad027d9411c1ded21fe6375da375ac'
[main] trying systemctl status
[main] #252918 is ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@crash.cmon03.service
[ucode] using NeedRestart::uCode::Intel
[ucode] using NeedRestart::uCode::AMD
[uCode/Intel] #0 current revision: 0x5003102
+ 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
+ test  = no
+ [ -r /usr/share/misc/intel-microcode* ]
+ iucode_tool -l -s 0x00050657,0x1 --ignore-broken -tb /lib/firmware/intel-ucode
+ grep 0x00050657
[ucode] #0 did not get available microcode version
[uCode/AMD] #0 cpu vendor id mismatch
[Kernel] Linux: kernel release 6.1.0-27-amd64, kernel version #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01)
[Kernel/Linux] /boot/vmlinuz-6.1.0-27-amd64 => 6.1.0-27-amd64 (debian-kernel@lists.debian.org) #1 SMP PREEMPT_DYNAMIC Debian 6.1.115-1 (2024-11-01) [6.1.0-27-amd64]*
[Kernel/Linux] /boot/vmlinuz-6.1.0-26-amd64 => 6.1.0-26-amd64 (debian-kernel@lists.debian.org) #1 SMP PREEMPT_DYNAMIC Debian 6.1.112-1 (2024-09-30) [6.1.0-26-amd64]
[Kernel/Linux] Expected linux version: 6.1.0-27-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.cmon03.service
 systemctl restart ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@mon.cmon03.service
 systemctl restart ceph-0113e5fa-c835-11ed-9b3d-fbe4e4a9a9eb@node-exporter.cmon03.service

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.




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

Back to linux.debian.bugs.dist | Previous | Next | Find similar | Unroll thread


Thread

Bug#1087958: needrestart reports services need to be restarted after they are restarted Michael Baer <mike@dns-oarc.net> - 2024-11-20 22:00 +0100

csiph-web