touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #18963
[Bug 299838] Re: /etc/cron.daily/find should be deleted when upgrading or it should use ionice -n instead of -p
Wheee this bug manifested on my server after I upgraded Ubuntu 10.04 to
12.04 to 14.04.
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to findutils in Ubuntu.
https://bugs.launchpad.net/bugs/299838
Title:
/etc/cron.daily/find should be deleted when upgrading or it should use
ionice -n instead of -p
Status in GNU Find Utilities:
New
Status in “findutils” package in Ubuntu:
Confirmed
Bug description:
Binary package hint: findutils
In a fresh install of Intrepid there is no '/etc/cron.daily/find'
file. However, when upgrading from Hardy to Intrepid, a previously
existing '/etc/cron.daily/find' is retained (and even included in
/var/lib/dpkg/info/findutils.list which I find strange).
The problem with the retained '/etc/cron.daily/find' file is that it
uses the 'ionice' command with a wrong argument '-p', supplying a
scheduling-class specific priority value as an argument of '-p' which
takes actually a PID value. The correct option would be '-n', and
this is correct in the Intrepid '/etc/cron.daily/locate' coming from
the locate package.
The use of '-p' makes '/etc/cron.daily/find' fail with 'exit 1'
randomly, depending on if there is a process with a PID equal to a
priority value running in the system.
If you purge 'findutils' from an upgraded Intrepid system and then
reinstall it, the '/etc/cron.daily/find' file disappears and all is
well. However, this should probably happen automatically when
findutils is upgraded.
Description: Ubuntu 8.10
Release: 8.10
Linux version 2.6.27-7-generic (buildd@palmer) (gcc version 4.3.2 (Ubuntu 4.3.2-1ubuntu11) ) #1 SMP Tue Nov 4 19:33:20 UTC 2008
findutils: 4.4.0-2ubuntu3
locate: 4.4.0-2ubuntu3
both come from source package findutils
To manage notifications about this bug go to:
https://bugs.launchpad.net/findutils/+bug/299838/+subscriptions