Bug#1005953: needrestart: user session restart needing detection broken probably by cgroupv2 from systemd 247.2-4
Paul Wise
pabs at debian.org
Fri Feb 18 01:42:03 GMT 2022
Package: needrestart
Version: 3.5-5
Severity: serious
X-Debbugs-CC: systemd at packages.debian.org
User: pkg-systemd-maintainers at lists.alioth.debian.org
Usertags: cgroupv2
needrestart detects that user at 1000.service needs to be restarted,
instead of that the pabs user sessions have outdated binaries.
The session detection definitely used to work at one point though.
I've filed this at severity serious because it means that the user
notification scripts in the needrestart package don't work, which means
the needrestar-session package is not very useful any more.
Looking at my mail archives, that started 2021-01-07 12:27 and in the
upgrade before that systemd was upgraded from 247.1-3+deb11u1 to
systemd 247.2-4, so that was probably the cause.
Aside from the minor new upstream version, systemd 247.2-4 moved some
libraries from /lib to /usr/lib.
systemd upstream seems to have deleted their 247.2 git tag and there is
no reference to it in their NEWS files.
Looking at the Debian NEWS file, systemd 247.2-2 switched to cgroupv2,
so I think that is probably the cause of this bug.
I will test this theory next time I reboot.
-- System Information:
Debian Release: bookworm/sid
APT prefers testing-debug
APT policy: (900, 'testing-debug'), (900, 'testing'), (800, 'unstable-debug'), (800, 'unstable'), (790, 'buildd-unstable'), (700, 'experimental-debug'), (700, 'experimental'), (690, 'buildd-experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 5.15.0-3-amd64 (SMP w/8 CPU threads)
Kernel taint flags: TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8), LANGUAGE=en_AU:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages needrestart depends on:
ii binutils 2.38-1
ii dpkg 1.21.1
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.634-1+b1
ii libsort-naturally-perl 1.03-2
ii libterm-readkey-perl 2.38-1+b3
ii perl 5.34.0-3
ii xz-utils 5.2.5-2
Versions of packages needrestart recommends:
ii libpam-systemd 250.3-2
Versions of packages needrestart suggests:
ii iucode-tool 2.3.1-1
ii libnotify-bin 0.7.9-3
ii needrestart-session 0.3-9
-- no debconf information
--
bye,
pabs
https://wiki.debian.org/PaulWise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <http://alioth-lists.debian.net/pipermail/pkg-systemd-maintainers/attachments/20220218/644c9b01/attachment.sig>
More information about the Pkg-systemd-maintainers
mailing list