Activity log for bug #310259

Date Who What changed Old value New value Message
2008-12-21 16:46:03 Steve Dodd bug added bug
2008-12-21 16:46:03 Steve Dodd bug added attachment 'p' (cron.daily/locate: check if we are selected alternative and abort if not)
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.