On Tue, Nov 23, 2021 at 12:18:56PM -0500, Ben Cotton wrote:
https://fedoraproject.org/wiki/Changes/Plocate_as_the_default_locate_impl...
== Summary ==
The venerable `mlocate` program is replaced by `plocate` — a
compatible reimplementation that is faster and uses less disk space.
== Owner ==
* Name: [[User:Zbyszek| Zbigniew Jędrzejewski-Szmek]]
* Email: zbyszek at in.waw.pl
* Name: [[User:Msekleta| Michal Sekletár]]
* Email: msekleta at
redhat.com
Thanks for doing this! One long-standing issue (that's becoming more
relevant now that Workstation and desktop spins switched to Btrfs in
F33, and Cloud in F35) with our mlocate is that it's configured to skip
bind mounts by default:
https://bugzilla.redhat.com/show_bug.cgi?id=906591
which affects both Btrfs-based installs and rpm-ostree ones, because
`/home` is on a Btrfs subvolume, and on a bind mount on Silverblue
even predating Btrfs being default, and both look like bind mounts.
This was overridden for Silverblue and other rpm-ostree based
spins:
https://github.com/fedora-silverblue/issue-tracker/issues/76#issuecomment...
but using a RPM scriptlet, and I'm glad with plocate we can just use the
default settings rather than having to hack in yet another exception for
Btrfs systems. Users likely expect `/home` to be indexed if they bother
using `locate`.
Best regards,
--
Michel Alexandre Salim
profile:
https://keyoxide.org/michel@michel-slm.name