Package: debian-goodies
Version: 0.84
Severity: normal

Dear Maintainer,

I ran checkrestart -pv, part of the output said

List of deleted files in use:
        /var/lib/nfs/etab (deleted)

I saw this file was not an indication of a service restart needed, so I added

-b blacklistfile
blacklistfile contained the pattern
^/var/lib/nfs/etab$

I expected this to match the file, but it didn't. Looking into the
source code, I saw that instead "the file" it was matching against was
"/var/lib/nfs/etab (deleted)" and so I had to adjust my pattern to be

^/var/lib/nfs/etab \(deleted\)$

The man page says the pattern matches "the file", not the file plus
" deleted" appended to it. I don't think it makes any sense for this
deleted to be part of what is matched.

Reply via email to