in the /etc/cron.daily/slocate nice is used, but it's full path is not. a PATH either needs to be specified in the file or nice needs to be referred to as /bin/nice https://www.redhat.com/archives/fedora-list/2004-January/msg06598.html I've noticed this problem with vcron. not sure if it's vcron only (since vcron has an empty PATH variable, meaning no /bin) Reproducible: Always Steps to Reproduce: Actual Results: if left in it's current condition, whoever gets root's mail wil get an email saying the following: fatal error: updatedb: create_db(): rename: No such file or directory
Whoops- shoulda tested to make sure that woulda fixed the bug- I guess that's what I get for getting help from a mandrake user :) We're trying to isolate the cause of the email now- it seems sporatic at best, so it might take a while to track down. so I guess it's not nice that's the problem.
or it could be that trixy path again: <K_F> just add an additional comment, problem is a missing PATH, can't find "rename" whereas nice is found at /bin/nice, rename is found at /usr/bin/rename that's probably the cause, so a path should be added for rename I guess. pretty silly I guess.
The path to nice should be there anyway, AFAIK. But I can
The path to nice should be there anyway, AFAIK. But I can´t see any reference to rename in that cron job.
hmm... if you have an empty PATH variable then you are not using the system crontab installed by vixie-cron. you didn't explicitly say you were using vixie-cron, so please do tell us what cron daemon you are using (and the version). Also attaching your /etc/crontab would be nice.
Reopen when you provide the information I talked about in comment #4.