Bug#988461: needrestart: False positive for sddm
tags 988461 upstream fixed-upstream thanks Hi, thanks for reporting. I've updated the default configuration upstream to ignore the all memfd mappings. The bugfix will be part of needrestart 3.6+. Regards, Thomas On Thu, 2021-05-13 at 14:44 +0200, Michail Bachmann wrote: > Package: needrestart > Version: 3.5-4 > Severity: normal > > Dear Maintainer, > > when running needrestart it always suggest that sddm needs to be > restarted, > even when sddm ist fresly (re-)started and no update has taken place. > > Running needrestart -v gives the following explanation: > > ... > [main] #1244357 uses deleted /memfd:JITCode:QtQml > [main] #1244357 is a child of #1244355 > [main] #1244355 exe => /usr/lib/x86_64-linux-gnu/sddm/sddm-helper > ... > > It looks like the JIT compiled Qt code erroneously triggers the > detection. > Adding "qr(^/memfd:JITCode:QtQml)," to the blacklist_mappings > silences this > warning. Would you consider to add this exception to the needrestart > package? > > Regards > > Michail Bachmann > > > -- Package-specific info: > needrestart output: > > checkrestart output: > > > -- System Information: > Debian Release: 11.0 > APT prefers unstable > APT policy: (500, 'unstable') > Architecture: amd64 (x86_64) > > Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads) > Locale: LANG=C.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE > not set > 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.35.2-2 > 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.30-1 > ii libproc-processtable-perl 0.59-2+b1 > ii libsort-naturally-perl 1.03-2 > ii libterm-readkey-perl 2.38-1+b2 > ii perl 5.32.1-4 > ii xz-utils 5.2.5-2 > > Versions of packages needrestart recommends: > ii libpam-systemd 247.3-5 > > Versions of packages needrestart suggests: > ii iucode-tool 2.3.1-1 > pn needrestart-session | libnotify-bin > > -- no debconf information >
Bug#988461:
I'm seeing similar errors running `needrestart -v` within a KDE session. Similar to the reporter above, this occurs in a fresh session when no software has been updated. In my case, it reports that `user@1000.service` needs to be restarted due to a deleted `/memfd:JITCode:QtQml` --- [main] #2794 uses deleted /memfd:JITCode:QtQml [main] #2794 is a child of #990 [main] #990 exe => /usr/lib/systemd/systemd [main] trying systemctl status [main] #990 is user@1000.service --- -Jason
Bug#988461: needrestart: False positive for sddm
Package: needrestart Version: 3.5-4 Severity: normal Dear Maintainer, when running needrestart it always suggest that sddm needs to be restarted, even when sddm ist fresly (re-)started and no update has taken place. Running needrestart -v gives the following explanation: ... [main] #1244357 uses deleted /memfd:JITCode:QtQml [main] #1244357 is a child of #1244355 [main] #1244355 exe => /usr/lib/x86_64-linux-gnu/sddm/sddm-helper ... It looks like the JIT compiled Qt code erroneously triggers the detection. Adding "qr(^/memfd:JITCode:QtQml)," to the blacklist_mappings silences this warning. Would you consider to add this exception to the needrestart package? Regards Michail Bachmann -- Package-specific info: needrestart output: checkrestart output: -- System Information: Debian Release: 11.0 APT prefers unstable APT policy: (500, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 5.10.0-6-amd64 (SMP w/8 CPU threads) Locale: LANG=C.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set 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.35.2-2 ii dpkg 1.20.9 ii gettext-base 0.21-4 ii libintl-perl 1.26-3 ii libmodule-find-perl0.15-1 ii libmodule-scandeps-perl1.30-1 ii libproc-processtable-perl 0.59-2+b1 ii libsort-naturally-perl 1.03-2 ii libterm-readkey-perl 2.38-1+b2 ii perl 5.32.1-4 ii xz-utils 5.2.5-2 Versions of packages needrestart recommends: ii libpam-systemd 247.3-5 Versions of packages needrestart suggests: ii iucode-tool 2.3.1-1 pn needrestart-session | libnotify-bin -- no debconf information