Gentoo users have reported problems when 'rlocate -u' is run by two independent cron jobs at the same time.
While this is not supposed to happen to the cron daemon, I believe it should still also be prevented by rlocate itself.
When trying to reproduce this behavior, I came across this error:
updatedb: rlocate_end_updatedb: unlink: can't unlink /var/lib/rlocate/rlocate.db.diff.tmp: No such file or directory
updatedb: fatal error: create_db(): rename(): Could not rename '/var/lib/rlocate/rlocate.db.stf' to '/var/lib/rlocate/rlocate.db': No such file or directory
This is different to the description at
but might still be a problem.
Log in to post a comment.