Package: locate
Version: 4.4.2-4
Severity: normal
File: /etc/cron.daily/locate
X-Debbugs-CC: [email protected]
User: [email protected]
Usertags: needed-by-DSA-Team

Recently we got this error message from cron on sibelius.d.o:

run-parts: /etc/cron.daily/locate exited with return code 1

The only explanation for this appears to be that the updatedb.findutils
command failed for some reason. Unfortunately the script hides output:

  cd / && nice -n ${NICE:-10} updatedb.findutils 2>/dev/null

In addition it doesn't hide the exit code, which means that sysadmins
get mails that have no useful information. I expect the reason for
hiding output is that updatedb.findutils runs find which complains when
it finds directories it can't enter. Probably the solution here is to
show the updatedb.findutils output and grep -v ': Permission denied$'
the find output in the updatedb.findutils script.

-- 
bye,
pabs

https://wiki.debian.org/PaulWise

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to