#988461 needrestart: False positive for sddm

Package:
needrestart
Source:
needrestart
Submitter:
Michail Bachmann
Date:
2021-10-10 21:15:10 UTC
Severity:
normal
Tags:
#988461#5
Date:
2021-05-13 12:44:48 UTC
From:
To:
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

#988461#10
Date:
2021-09-15 03:24:52 UTC
From:
To:
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 ---
#988461#15
Date:
2021-10-10 20:38:56 UTC
From:
To:
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

#988461#20
Date:
2021-10-10 20:38:56 UTC
From:
To:
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