apk audit --system does not detect deleted files
apk thinks that /sbin/badblocks is installed with e2fsprogs:
ncopa-desktop:~$ apk info -L e2fsprogs | grep badblocks
sbin/badblocks
But it was removed:
ncopa-desktop:~$ ls -l /sbin/badblocks
ls: /sbin/badblocks: No such file or directory
apk audit —system should detect it, but it does not:
ncopa-desktop:$ apk audit —system /sbin | grep badblocks$
ncopa-desktop:
(from redmine: issue id 2113, created on 2013-06-21, closed on 2014-03-17)
- Changesets:
- Revision c39dacf2 by Timo Teräs on 2014-03-12T13:59:49Z:
audit: report missing files in system mode
fixes #2113