Bug#1005953: needrestart: user session restart needing detection broken probably by cgroupv2 from systemd 247.2-4

2022-03-16 Thread Paul Wise
Control: severity -1 important

On Fri, 18 Feb 2022 09:42:03 +0800 Paul Wise wrote:

> 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 needrestart-session package is not very useful any more.

It seems this bug is going to cause autoremoval on April 3rd. The
inclusion of needrestart in Debian in general is more important than
the user session functionality. The needrestart-session package has a
GUI tool that can be run manually, so it doesn't become entirely
useless. For these reasons I am decreasing the severity of this bug.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part


Bug#1005953: needrestart: user session restart needing detection broken probably by cgroupv2 from systemd 247.2-4

2022-02-17 Thread Michael Biebl

Am 18.02.22 um 02:42 schrieb Paul Wise:

systemd upstream seems to have deleted their 247.2 git tag and there is
no reference to it in their NEWS files.


Stable point releases are available from
https://github.com/systemd/systemd-stable
In this specific instance from the v247-stable branch

https://github.com/systemd/systemd-stable/tree/v247-stable
https://github.com/systemd/systemd-stable/releases/tag/v247.2





OpenPGP_signature
Description: OpenPGP digital signature


Bug#1005953: needrestart: user session restart needing detection broken probably by cgroupv2 from systemd 247.2-4

2022-02-17 Thread Paul Wise
Package: needrestart
Version: 3.5-5
Severity: serious
X-Debbugs-CC: syst...@packages.debian.org
User: pkg-systemd-maintain...@lists.alioth.debian.org
Usertags: cgroupv2

needrestart detects that user@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-perl0.15-1
ii  libmodule-scandeps-perl1.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-bin0.7.9-3
ii  needrestart-session  0.3-9

-- no debconf information

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


signature.asc
Description: This is a digitally signed message part