Comment 0 for bug 310259

Revision history for this message
Steve Dodd (anarchetic) wrote :

Binary package hint: findutils

Using Hardy 8.04.1:

I've just noticed that both locate (GNU locate from findutils) and mlocate run their own copies of updatedb out of cron. The only reason I have GNU locate installed is because dlocate requires it, and dlocate doesn't use the main locate database, so there is no reason to update it.

Could the cron job (/etc/cron.daily/locate) check to see if /usr/bin/updatedb points to the findutils version, and abort if not? Suggested patch attached.