mlocate - what is it good for?

Michael Hudson-Doyle michael.hudson at canonical.com
Fri May 24 00:59:22 UTC 2019


On Thu, 23 May 2019 at 09:07, Brian Murray <brian at ubuntu.com> wrote:

> The Ubuntu Foundations team was recently looking at an issue with
> mlocate[1] and the effect it has on all users of Ubuntu. While that
> specific issue is fixable there are also issues[2,3] with keeping
> PRUNEFS and PRUNEPATHS current in updatedb.conf. So we ended up
> questioning the usefulness of installing mlocate by default on systems
> at all. We believe that find is an adequate replacement for mlocate but
> want to hear from you about use cases where it may not be.


I think this is a cattle vs pet sort of thing as well: on a system that
being used for development or adminned by multiple humans, locate is quite
useful. And the overhead of having to install it for systems like this
seems acceptable (users like these are exactly the sort of users for whom
installing a package is easy!).

On systems that are part of a fleet of automatically maintained machines,
all locate does is waste IO bandwidth -- which might well be a shared
resource if the systems are VMs.

My vote would be for removing it from the default install.

Cheers,
mwh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-devel/attachments/20190524/1ff9048f/attachment.html>


More information about the ubuntu-devel mailing list