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-11.4
Unconfirmed

Description

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.

Discussion


icons/user_comment.png P. B. wrote: (3 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: (3 years ago)

That being said, Fedora uses mlocate: 
http://carolina.mff.cuni.cz/~trmac/blog/mlocate/

Which seems even more interesting.

icons/user_comment.png P. B. wrote: (3 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.

Last change: 3 years ago
Voting
Score: 4
  • Negative: 1
  • Neutral: 0
  • Positive: 5
Tags

No tags yet.

Feature Export
Application-xmlXML   Text-x-logPlaintext   PrinterPrint