Package: needrestart Version: 3.4-5 Severity: normal Dear Maintainer,
* What led up to the situation? Upgrading from Debian 9 to Debian 10 * What exactly did you do (or not do) that was effective (or ineffective)? Running `needrestart -p` * What was the outcome of this action? Running `needrestart -p` on Debian 10 with sysvinit gives UNKN output [main] eval /etc/needrestart/needrestart.conf [main] needrestart v3.4 [main] running in root mode [main] #388 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #388 is not a child [main] #489 uses deleted /usr/lib/x86_64-linux-gnu/libcrypto.so.1.1 [main] #489 is not a child [Core] #5394 is a NeedRestart::Interp::Python [Python] #5394: source=/usr/bin/reportbug [main] #388 exe => /usr/lib/systemd/systemd-udevd [main] #388 running /etc/needrestart/hook.d/10-dpkg dpkg-query: no path found matching pattern /usr/lib/systemd/systemd-udevd [main] #388 running /etc/needrestart/hook.d/20-rpm [main] #388 running /etc/needrestart/hook.d/90-none [main] #489 exe => /usr/sbin/dhclient [main] #489 running /etc/needrestart/hook.d/10-dpkg dpkg-query: no path found matching pattern /usr/sbin/dhclient [main] #489 running /etc/needrestart/hook.d/20-rpm [main] #489 running /etc/needrestart/hook.d/90-none Failed to load NeedRestart::uCode::Intel: [uCode/Intel] iucode-tool not available! [ucode] no supported processor microcode detection [Kernel] Linux: kernel release 4.19.0-6-amd64, kernel version #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) Failed to load NeedRestart::Kernel::kFreeBSD: [Kernel/kFreeBSD] Not running on GNU/kFreeBSD! [Kernel/Linux] /boot/vmlinuz-4.19.0-6-amd64 => 4.19.0-6-amd64 (debian-ker...@lists.debian.org) #1 SMP Debian 4.19.67-2+deb10u1 (2019-09-20) [4.19.0-6-amd64]* [Kernel/Linux] Expected linux version: 4.19.0-6-amd64 UNKN - Kernel: 4.19.0-6-amd64, Microcode: unknown, Services: none, Containers: none, Sessions: none|Kernel=0;0;;0;2 Microcode=U;0;;0;1 Services=0;;0;0 Containers=0;;0;0 Sessions=0;0;;0 root@debian:~# echo $? 3 * What outcome did you expect instead? Running `needrestart -p` on Debian 9 with sysvinit gives expected OK output root@debian:~# needrestart -p -v [main] eval /etc/needrestart/needrestart.conf [main] needrestart v2.11 [main] running in root mode [Kernel] Linux: kernel release 4.9.0-11-amd64, kernel version #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) Failed to load NeedRestart::Kernel::kFreeBSD: [Kernel/kFreeBSD] Not running on GNU/kFreeBSD! [Kernel/Linux] /boot/vmlinuz-4.9.0-11-amd64 => 4.9.0-11-amd64 (debian-ker...@lists.debian.org) #1 SMP Debian 4.9.189-3+deb9u1 (2019-09-20) [4.9.0-11-amd64]* [Kernel/Linux] Expected linux version: 4.9.0-11-amd64 OK - Kernel: 4.9.0-11-amd64, Services: none, Containers: none, Sessions: none|Kernel=0;0;;0;2 Services=0;;0;0 Containers=0;;0;0 Sessions=0;0;;0 root@debian:~# echo $? 0 Running `needrestart -p` on Debian 10 with sysvinit should also give OK output -- Package-specific info: needrestart output: checkrestart output: -- System Information: Debian Release: 10.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 4.19.0-6-amd64 (SMP w/2 CPU cores) Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), LANGUAGE=en_AU:en (charmap=UTF-8) Shell: /bin/sh linked to /usr/bin/dash Init: sysvinit (via /sbin/init) LSM: AppArmor: enabled Versions of packages needrestart depends on: ii binutils 2.31.1-16 ii dpkg 1.19.7 ii gettext-base 0.19.8.1-9 ii libintl-perl 1.26-2 ii libmodule-find-perl 0.13-1 ii libmodule-scandeps-perl 1.27-1 ii libproc-processtable-perl 0.56-1 ii libsort-naturally-perl 1.03-2 ii libterm-readkey-perl 2.38-1 ii perl 5.28.1-6 ii xz-utils 5.2.4-1 Versions of packages needrestart recommends: ii sysvinit-core 2.93-8 Versions of packages needrestart suggests: pn iucode-tool <none> pn needrestart-session | libnotify-bin <none> -- no debconf information