updatedb disabled?

Graydon graydon at epiphyte.net
Sat Apr 16 20:18:07 UTC 2005


On Sat, Apr 16, 2005 at 08:31:58PM +0200, Miloslav Trmac scripsit:
> On Sat, Apr 16, 2005 at 02:27:58PM -0400, Graydon wrote:
> > "yum install slocate" or "rpm -Uvh slocate" strike me as way simpler
> > than figuring out what has been done to /etc/cron.daily/slocate.cron in
> > the 'there by not actually on' case.
> 
> | # mv /var/lib/slocate/slocate.db{,_}
> | # locate /
> | warning: locate: could not open database: /var/lib/slocate/slocate.db: No such file or directory
> | warning: You need to run the 'updatedb' command (as root) to create the database.
> | Please edit /etc/updatedb.conf to enable the daily cron job.

Well, that's at least polite about it. :)

I will still argue that this is broken, since the laptop case, rather
than the 'everything that isn't a laptop' case, is the special case.




More information about the fedora-test-list mailing list