Public bug reported:

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 ([EMAIL PROTECTED]) (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

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

-- 
/etc/cron.daily/find should be deleted when upgrading or it should use ionice 
-n instead of -p
https://bugs.launchpad.net/bugs/299838
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