[Bug 759574] Re: mlocate.updatedb does not call ionice

David Fraser davidf at sjsoft.com
Fri May 23 08:41:09 UTC 2014


My mlocate script installed with the latest version in 14.04 in
/etc/cron.daily calls ionice, so this can be marked done

# See ionice(1)
if [ -x /usr/bin/ionice ] &&
    /usr/bin/ionice -c3 true 2>/dev/null; then
    IONICE="/usr/bin/ionice -c3"
fi

flock --nonblock /run/mlocate.daily.lock $IONICE
/usr/bin/updatedb.mlocate


** Changed in: mlocate (Ubuntu)
       Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to mlocate in Ubuntu.
https://bugs.launchpad.net/bugs/759574

Title:
  mlocate.updatedb does not call ionice

Status in “mlocate” package in Ubuntu:
  Fix Released

Bug description:
  Binary package hint: mlocate

  updatedb.mlocate can cause a lot of disk activity, and it is not a
  time-critical process.    Therefore, it should call nice and ionice so
  that it does not steal cycles or disk activity from foreground
  processes.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.10
  Package: mlocate 0.22.2-1ubuntu1
  ProcVersionSignature: Ubuntu 2.6.35-28.50-generic 2.6.35.11
  Uname: Linux 2.6.35-28-generic x86_64
  Architecture: amd64
  Date: Wed Apr 13 09:31:01 2011
  InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1)
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SourcePackage: mlocate

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mlocate/+bug/759574/+subscriptions



More information about the foundations-bugs mailing list