Public bug reported:

Binary package hint: findutils

/etc/cron.daily/find from the findutils package has a syntax error, so
it never runs.

The line is
  cd / && nice -n ${NICE:-10} ionice -c ${IONICE_CLASS:-2} -p 
${IONICE_PRIORITY:-7} updatedb
 
The above line should be -n not -p according to the man page, which says -p is 
for effecting a running process, and -n is for 'schedule class data' which is 
what the variable looks like.
The above line will always fail with an error like :
  ionice: cannot parse number 'updatedb'

#152692 appears to be a report from two years ago, closed as invalid,
though the bug still persists.

Personally, I think that above cron job should be removed from this
package, as updatedb and locate are really in another package
(locate/mlocate) and they provide their own cron jobs.

If that's no OK for some reason, we should definitely fix the syntax
error to stop root mail spam, and also add the dependency to the
package.

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: findutils 4.4.2-1ubuntu1
ProcVersionSignature: Ubuntu 2.6.32-21.32-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-21-generic i686
Architecture: i386
Date: Tue Apr 27 21:22:03 2010
ProcEnviron:
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: findutils

** Affects: findutils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
findutils installs broken cron job
https://bugs.launchpad.net/bugs/570935
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to