tags 916825 + patch
thanks

On 12/19/2018 1:32 AM, Christopher David Howie wrote:
> dovecot.index should probably not cause dovecot to be flagged for restart.

The attached patch resolves the issue for me.

-- 
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers

If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/

PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5

------------------------------------------------------------------------
                    IMPORTANT INFORMATION/DISCLAIMER

This document should be read only by those persons to whom it is
addressed.  If you have received this message it was obviously addressed
to you and therefore you can read it.

Additionally, by sending an email to ANY of my addresses or to ANY
mailing lists to which I am subscribed, whether intentionally or
accidentally, you are agreeing that I am "the intended recipient," and
that I may do whatever I wish with the contents of any message received
from you, unless a pre-existing agreement prohibits me from so doing.

This overrides any disclaimer or statement of confidentiality that may
be included on your message.
--- checkrestart.old    2017-02-27 23:23:41.000000000 +0000
+++ checkrestart        2018-12-20 04:58:46.530293936 +0000
@@ -515,10 +515,13 @@
     if f.startswith('/[aio]'):
         return 0
     # Skip memfd files
     if f.startswith('/memfd:'):
         return 0
+    # Skip dovecot mail indexes
+    if f.endswith('/dovecot.index (deleted)') or f.endswith('/dovecot.index'):
+        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
         # a proper filename
         file_name = re.sub(r'\(.*\)','', f)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to