findutils installs broken cron job
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: findutils
/etc/cron.
The line is
cd / && nice -n ${NICE:-10} ionice -c ${IONICE_CLASS:-2} -p ${IONICE_
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
ProcVersionSign
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