/etc/cron.daily/find has wrong ionice parameter
Bug #159472 reported by
Armin Schindler
This bug report is a duplicate of:
Bug #152692: updatedb cron job re-nices wrong process (pid 7 by default)!.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
findutils (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
In /etc/cron.
... ionice -c ${IONICE_CLASS:-2} -p ${IONICE_
So the option -p is used to set the priority. But ionice uses -p to set a specific process ID and to
set the priority the -n parameter must be used.
On some installation (I cannot tell what the difference is), this produces an error. On others the -p
seems to be ignored.
This seems to be introduced by Bug #134692.
To post a comment you must log in.
I forgot to tell that I talk about gutsy here.