Am 12.01.12 00:13, schrieb Philip Guenther:
On Wed, Jan 11, 2012 at 3:02 PM, Marian Hettwer<m...@kernel32.de>  wrote:
...
([foobar@bistromath]<~>)$ time sudo /usr/libexec/locate.updatedb
Password:

Ah, but that's *not* how locate.updatedb is invoked by the cronjob!
There's a reason I called out the need to mimic that when trying to
replicate the problem while walking through locate.updatedb
manually...


[root@bistromath] <~> # /bin/sh /etc/weekly

Rebuilding locate database:

Rebuilding whatis databases:
[root@bistromath] <~> # echo $?
0


still on OpenBSD 4.0.
And /etc/weekly looks like a reasonable easy straight forward shell script. (I would expect nothing else in OpenBSD).

./Marian

Reply via email to