#1117441 plocate: Ignore containers created with incus under /var/lib/incus in /etc/updatedb.conf

Package:
plocate
Source:
plocate
Description:
much faster locate
Submitter:
Enrique Garcia
Date:
2025-10-05 19:05:03 UTC
Severity:
normal
#1117441#5
Date:
2025-10-05 18:15:59 UTC
From:
To:
When installing plocate together with incus, which might use /var/lib/incus as
storage backend, plocate might start looking into all the files in the
container file system, which would cause noise in the locate database (and
potentially create a very large database).

This could simply be achieved by appending /var/lib/incus to PRUNEPATHS.

#1117441#10
Date:
2025-10-05 18:45:50 UTC
From:
To:
Hi,

plocate cannot add PRUNEPATHS for everything that someone might want to
exclude; if it's a separate file system type, we could probably consider
it, but as it stands, I'm going to close this as wontfix. Even more so
since for every exclusion I have, I tend to get complaints why plocate
doesn't find stuff in there :-)

/* Steinar */