On Tue, Nov 23, 2021 at 12:19 PM Ben Cotton <bcotton(a)redhat.com> wrote:
== How To Test ==
# Install `plocate` (`sudo dnf install plocate --allowerasing`)
# Wait for `plocate-updatedb.service` to finish (`sudo systemctl start
plocate-updatedb.service`)
# Use `plocate pattern` or `plocate -r <regexp>` to search for files.
Works for me. Also fixes this old bug where mlocate pruned bind mount
locations, which resulted in /home on Btrfs not being indexed.
https://bugzilla.redhat.com/show_bug.cgi?id=906591
Note for laptop users, plocate-updatedb.service contains
ConditionACPower=true, so if you're getting errors locating files, it
might be because the initial database isn't being created because no
AC power.
== User Experience ==
Users should not notice the difference. Installing `plocate`
automatically removes `mlocate`. The new implementation is generally
compatible with the old one in all common cases, and provides some
additional options.
I'm definitely noticing a difference. I'm not sure it was ever correct
that updatedb.conf was pruning bind mounts on Fedora. It's not the
mlocate default, but it is what Fedora has been using for years
(defacto default on Fedora).
--
Chris Murphy