cron complains /etc/cron.daily/find exited with return code 127
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: findutils
On a machine upgraded from gutsy to hardy I get this error:
run-parts: /etc/cron.
because the script is installed, but updatedb is not:
mbp@grace% sudo sh -x /etc/cron.
+ LOCALUSER=nobody
+ export LOCALUSER
+ [ -f /etc/updatedb.conf ]
+ . /etc/updatedb.conf
+ FINDOPTIONS=
+ export FINDOPTIONS
+ PRUNEFS=NFS nfs nfs4 afs binfmt_misc proc smbfs autofs iso9660 ncpfs coda devpts ftpfs devfs mfs shfs sysfs cifs lustre_lite tmpfs usbfs udf
+ export PRUNEFS
+ PRUNEPATHS=/tmp /usr/tmp /var/tmp /afs /amd /alex /var/spool /sfs /media
+ export PRUNEPATHS
+ NETPATHS=
+ export NETPATHS
+ LOCALUSER=nobody
+ export LOCALUSER
+ NICE=10
+ export NICE
+ IONICE_CLASS=2
+ export IONICE_CLASS
+ IONICE_PRIORITY=7
+ export IONICE_PRIORITY
+ getent passwd nobody
+ cd /
+ nice -n 10 updatedb
zsh: exit 127 sudo sh -x /etc/cron.
This script is provided by findutils, but that package does not provide an updatedb command. The two packages that do use an updatedb, locate and slocate, install their own cron jobs. So it seems this should just be removed from the package.
findutils in hardy only contains find and xargs. It should not ship an cron.daily script anymore.
Therefore I can confirm this bug.