Package: debian-goodies
Version: 0.63
Severity: grave
Justification: renders package unusable
Dear Maintainer,
checkrestart correctly finds processes, but don't report these in the final
report (without «-v» argument).
I've tested 0.68 version by overwriting my file (stable) with the one from
unstable, and the same result happens.
For example, I've compiled Hitch myself (https://hitch-tls.org/), and it's
correctly found after the libssl-dev security fix:
root# checkrestart -v
Found 11 processes using old versions of upgraded files
(8 distinct programs)
[DEBUG] Process /usr/local/sbin/hitch (PID: 735)
List of deleted files in use:
/lib/x86_64-linux-gnu/libnss_files-2.19.so
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
/lib/x86_64-linux-gnu/libnsl-2.19.so
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
/lib/x86_64-linux-gnu/libm-2.19.so
/lib/x86_64-linux-gnu/libpthread-2.19.so
/lib/x86_64-linux-gnu/libdl-2.19.so
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/librt-2.19.so
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/lib/x86_64-linux-gnu/ld-2.19.so
[DEBUG] Process /usr/sbin/sshd (PID: 20229)
List of deleted files in use:
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
[DEBUG] Process /lib/systemd/systemd (PID: 20250)
List of deleted files in use:
/lib/x86_64-linux-gnu/libpam.so.0.83.1
[DEBUG] Process /usr/sbin/sshd (PID: 20252)
List of deleted files in use:
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
[DEBUG] Process /lib/systemd/systemd (PID: 1)
List of deleted files in use:
/lib/x86_64-linux-gnu/libpam.so.0.83.1
[DEBUG] Process /sbin/lvmetad (PID: 17379)
List of deleted files in use:
/lib/x86_64-linux-gnu/librt-2.19.so
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/libpthread-2.19.so
/lib/x86_64-linux-gnu/libudev.so.1.5.0
/lib/x86_64-linux-gnu/libdl-2.19.so
/lib/x86_64-linux-gnu/ld-2.19.so
[DEBUG] Process /sbin/mdadm (PID: 384)
List of deleted files in use:
/sbin/mdadm (deleted)
/lib/x86_64-linux-gnu/libnss_files-2.19.so
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
/lib/x86_64-linux-gnu/libnsl-2.19.so
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/ld-2.19.so
[DEBUG] Process /sbin/agetty (PID: 1188)
List of deleted files in use:
/lib/x86_64-linux-gnu/libnss_files-2.19.so
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
/lib/x86_64-linux-gnu/libnsl-2.19.so
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/ld-2.19.so
/usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
[DEBUG] Process /usr/local/sbin/hitch (PID: 6350)
List of deleted files in use:
/lib/x86_64-linux-gnu/libnss_files-2.19.so
/lib/x86_64-linux-gnu/libnss_nis-2.19.so
/lib/x86_64-linux-gnu/libnsl-2.19.so
/lib/x86_64-linux-gnu/libnss_compat-2.19.so
/lib/x86_64-linux-gnu/libm-2.19.so
/lib/x86_64-linux-gnu/libpthread-2.19.so
/lib/x86_64-linux-gnu/libdl-2.19.so
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/librt-2.19.so
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0
/usr/lib/x86_64-linux-gnu/libssl.so.1.0.0
/lib/x86_64-linux-gnu/ld-2.19.so
[DEBUG] Process /sbin/dmeventd (PID: 17297)
List of deleted files in use:
/lib/x86_64-linux-gnu/librt-2.19.so
/lib/x86_64-linux-gnu/libudev.so.1.5.0
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/libpthread-2.19.so
/lib/x86_64-linux-gnu/libdl-2.19.so
/lib/x86_64-linux-gnu/ld-2.19.so
[DEBUG] Process /lib/systemd/systemd-journald (PID: 259)
List of deleted files in use:
/lib/systemd/systemd-journald (deleted)
/lib/x86_64-linux-gnu/libdl-2.19.so
/lib/x86_64-linux-gnu/libgcrypt.so.20.0.3
/lib/x86_64-linux-gnu/libc-2.19.so
/lib/x86_64-linux-gnu/libpthread-2.19.so
/lib/x86_64-linux-gnu/ld-2.19.so
[DEBUG] Running: dpkg-query --search /sbin/agetty /usr/sbin/sshd
/lib/systemd/systemd /sbin/dmeventd /sbin/mdadm /usr/local/sbin/hitch
/lib/systemd/systemd-journald /sbin/lvmetad
[DEBUG] Reading line from dpkg-query: util-linux: /sbin/agetty
[DEBUG] Found package util-linux for program /sbin/agetty
[DEBUG] Reading line from dpkg-query: openssh-server: /usr/sbin/sshd
[DEBUG] Found package openssh-server for program /usr/sbin/sshd
[DEBUG] Reading line from dpkg-query: systemd: /lib/systemd/systemd
[DEBUG] Found package systemd for program /lib/systemd/systemd
[DEBUG] Reading line from dpkg-query: dmeventd: /sbin/dmeventd
[DEBUG] Found package dmeventd for program /sbin/dmeventd
[DEBUG] Reading line from dpkg-query: mdadm: /sbin/mdadm
[DEBUG] Found package mdadm for program /sbin/mdadm
[DEBUG] Reading line from dpkg-query: systemd: /lib/systemd/systemd-journald
[DEBUG] Found package systemd for program /lib/systemd/systemd-journald
[DEBUG] Reading line from dpkg-query: lvm2: /sbin/lvmetad
[DEBUG] Found package lvm2 for program /sbin/lvmetad
[DEBUG] Removing systemd from the package list (ignored)
(5 distinct packages)
[DEBUG] Running: dpkg-query --listfiles util-linux
[DEBUG] Running: dpkg-query --listfiles openssh-server
[DEBUG] Running: dpkg-query --listfiles dmeventd
[DEBUG] Running: dpkg-query --listfiles lvm2
[DEBUG] Running: dpkg-query --listfiles mdadm
But there's no report of it in the final report:
Of these, 4 seem to contain systemd service definitions or init scripts
which
can be used to restart them.
The following packages seem to have definitions that could be used
to restart their services:
openssh-server:
20229 /usr/sbin/sshd
20252 /usr/sbin/sshd
dmeventd:
17297 /sbin/dmeventd
lvm2:
17379 /sbin/lvmetad
mdadm:
384 /sbin/mdadm
These are the systemd services:
systemctl restart dm-event.service
These are the initd scripts:
service ssh restart
service lvm2 restart
service mdadm-raid restart
service mdadm-waitidle restart
service mdadm restart
These processes (1) do not seem to have an associated init script to restart
them:
util-linux:
1188 /sbin/agetty
If I restart hitch, the process isn't found anymore, so that's okay to me.
So, the issue is that it's correctly found, but not reported.
I'll try to find out a fix for this.
Regards,
Yvan.
-- System Information:
Debian Release: 8.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages debian-goodies depends on:
ii curl 7.38.0-4+deb8u5
ii dctrl-tools [grep-dctrl] 2.23
ii perl 5.20.2-3+deb8u6
ii python 2.7.9-1
ii whiptail 0.52.17-1+b1
Versions of packages debian-goodies recommends:
ii lsof 4.86+dfsg-1
Versions of packages debian-goodies suggests:
ii popularity-contest 1.61
ii xdg-utils 1.1.0~rc1+git20111210-7.4
ii zenity 3.14.0-1
-- no debconf information