Package: debian-goodies
Tags: patch
Dear maintainers,
The tool checkrestart wrongly report processes using deleted files from
/var/lib/sss/mc/ as in need of a restart.
Files present in that directories are caches from sssd and are expected
to change (removed and re-created) from now and then. glibc
automatically reopen the cache files on the next request (which can take
a while, creating the problem with checkrestart).
I propose to add this directory to the list of ignored path in checkrestart.
Please find attached a patch.
Best regards,
--
Baptiste BEAUPLAT - lyknode
--- checkrestart 2018-07-20 17:27:39.0 +
+++ checkrestart2019-05-31 12:07:56.136939223 +
@@ -566,6 +566,9 @@
# Skip memfd files
if f.startswith('/memfd:'):
return 0
+# Skip sssd cache
+if f.startswith('/var/lib/sss/mc/'):
+return 0
# Skip, if asked to, files that do not belong to any package
if onlyPackageFiles:
# Remove some lsof information from the file to ensure that it is
signature.asc
Description: OpenPGP digital signature