Community Packages

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#69670 - [plocate] Default /etc/updatedb.conf

Attached to Project: Community Packages
Opened by Adrian (adrian5) - Wednesday, 17 February 2021, 03:55 GMT
Last edited by Morten Linderud (Foxboron) - Monday, 01 March 2021, 16:48 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The mlocate package ships with an (opinionated) /etc/updatedb.conf. I liked this, as I didn't have to spend time researching sane defaults.

Is there a particular reason plocate doesn't do the same? E.g. separation of concerns (not plocate's job) or because having a reduced search space is deemed unnecessary (fast anyway)? If it was an oversight, I'd like to nominate such a file for inclusion. The blacklisted paths in it that I'm familiar with make sense to me, and the resulting plocate.db is 1/3rd smaller on my system.
This task depends upon

Closed by  Morten Linderud (Foxboron)
Monday, 01 March 2021, 16:48 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.1.5-1
Comment by Eli Schwartz (eschwartz) - Wednesday, 17 February 2021, 04:17 GMT
Does it need to use the same filename? Then it would need to conflict with mlocate. I'm not sure why it currently renames the updatedb command name to support installing both, though, is that useful in practice?
Comment by Morten Linderud (Foxboron) - Wednesday, 17 February 2021, 08:14 GMT
The filename is `/etc/updatedb.plocate.conf`. Upstream is a guy I know and I have explicitly pointed out the need to separate command/confs that doesn't conflict with mlocate.
Comment by Morten Linderud (Foxboron) - Thursday, 25 February 2021, 17:15 GMT
Apparently this was only done for prognm and I can't be bothered to patch. So renamed updatedb.plocate -> updatedb and adding a conflicts on mlocate.