Hi, could you please provide the output of `needrestart -lv`?
TIA, Thomas On Tue, 2021-09-28 at 20:34 -0300, Antonio Terceiro wrote: > Package: needrestart > Version: 3.5-4 > Severity: normal > > Dear Maintainer, > > Recently every time I install something, needrestart seems to think > that > rabbitmq-server needs to be restart, even when there were norelated > upgrades. I tried calling needrestart right after booting, and even > then > it reported rabbitmq-server as needing a restart. > > This can easily be reproduced in a clean testin VM: > > ----------------8<----------------8<----------------8<--------------- > -- > root@host:~# apt update -q=2 > 20 packages can be upgraded. Run 'apt list --upgradable' to see them. > root@host:~# apt install -q=2 -y needrestart > [...] > root@host:~# apt install -q=2 -y rabbitmq-server > [...] > Package configuration > > > > > > ┌────┤ Daemons using outdated libraries ├─────┐ > │ │ > │ │ > │ Which services should be restarted? │ > │ │ > │ [*] rabbitmq-server.service │ > │ │ > │ │ > │ <Ok> <Cancel> │ > │ │ > └─────────────────────────────────────────────┘ > > > > > > > systemctl restart rabbitmq-server.service > > No containers need to be restarted. > > No user sessions are running outdated binaries. > ----------------8<----------------8<----------------8<--------------- > -- > > -- System Information: > Debian Release: bookworm/sid > APT prefers testing-debug > APT policy: (900, 'testing-debug'), (900, 'testing'), (500, > 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, > 'experimental') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.14.0-1-amd64 (SMP w/4 CPU threads) > Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8), > LANGUAGE=pt_BR:pt: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.37-7 > ii dpkg 1.20.9 > ii gettext-base 0.21-4 > ii libintl-perl 1.26-3 > ii libmodule-find-perl 0.15-1 > ii libmodule-scandeps-perl 1.31-1 > ii libproc-processtable-perl 0.611-1 > ii libsort-naturally-perl 1.03-2 > ii libterm-readkey-perl 2.38-1+b2 > ii perl 5.32.1-6 > ii xz-utils 5.2.5-2 > > Versions of packages needrestart recommends: > ii libpam-systemd 247.9-1 > > Versions of packages needrestart suggests: > ii iucode-tool 2.3.1-1 > ii libnotify-bin 0.7.9-3 > > -- no debconf information