Re: F36 Change: Plocate as the default locate implementation (Self-Contained Change proposal)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Nov 23, 2021 at 12:18:56PM -0500, Ben Cotton wrote:
> https://fedoraproject.org/wiki/Changes/Plocate_as_the_default_locate_implementation
> 
> == 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-705507196

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@xxxxxxxxxxxxxxx

Attachment: signature.asc
Description: PGP signature

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux