2008-12-21 16:47:08 |
Steve Dodd |
description |
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. |
Binary package hint: locate
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. |
|