Home_greyopenFATE - openSUSE feature tracking > #310205
Dashboard | Search | Sign up | Login

Please login or register to be able to edit or vote this feature.

using slocate instead of locate

Feature state

openSUSE Distribution


maybe it would be a good idea to use slocate as default in findutils-locate package. it may called findutils-slocate.

here are the reasons why i think we should use this:

first its faster. i dont know how they do this but it really is faster.

second it is more secure than locate because  Secure  Locate provides a secure way to index and quickly search for files on your system. It uses incremental encoding just like GNU locate to compress its database to make searching faster, but it will also store file permissions and ownership so that users will not see files they do not have access to.

updatedb could than be a simple script or even an alias pointing to slocate -u /

i just compiled it in my system and it works.


icons/user_comment.png P. B. wrote: (8 years ago)

The best path for having slocate in the distribution, IMHO, would be as follows:

  • package it in OBS
  • make a call for testing (post on forums + mailinglist) and try to collect at least a dozen positive reports + fix reported issues
  • make a submitreq to push it to the Contrib repository

After that, if I'm not mistaken, a bugzilla bug is needed to ask for inclusion into the distribution (not sure, best to ask Coolo about that).

icons/user_comment.png P. B. wrote: (8 years ago)

That being said, Fedora uses mlocate: 

Which seems even more interesting.

icons/user_comment.png P. B. wrote: (8 years ago)

mlocate packages (for openSUSE) are available in my staging repository: http://download.opensuse.org/repositories/home:/pbleser:/staging/

Needs some testing now, then I can push it to Contrib.

icons/user_comment.png K. C. wrote: (17 months ago)

mlocate is now included in main distribution.

Last change: 17 months ago
Loading tags...
Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint