No subject

Bill Thorsteinson bill at
Mon Nov 26 00:34:26 UTC 2007

Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bill Thorsteinson <bill at>
To: Ubuntu Bug Tracking System <ubuntu-users at>
Subject: slocate: Incorrect ionice parameter in ionice for daily crontab run.
Message-ID: <20071126002801.8136.28658.reportbug at>
X-Mailer: reportbug 3.38ubuntu2
Date: Sun, 25 Nov 2007 19:28:01 -0500

Package: slocate
Version: 3.1-1ubuntu3
Severity: normal
Tags: patch

ionice priority flag appears to be -n not -p
patch as follows 

--- find.notslocate.orig        2007-10-03 14:36:53.000000000 -0400
+++ find.notslocate     2007-11-25 19:14:27.000000000 -0500
@@ -12,7 +12,7 @@

 if getent passwd $LOCALUSER > /dev/null ; then
-  cd / && nice -n ${NICE:-10} ionice -c ${IONICE_CLASS:-2} -p ${IONICE_PRIORITY:-7} updatedb 2>/dev/null
+  cd / && nice -n ${NICE:-10} ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} updatedb 2>/dev/null
   echo "User $LOCALUSER does not exist."
   exit 1

-- System Information:
Debian Release: lenny/sid
  APT prefers gutsy-updates
  APT policy: (500, 'gutsy-updates'), (500, 'gutsy-security'), (500, 'gutsy')
Architecture: i386 (i686)

Kernel: Linux 2.6.20-16-generic (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages slocate depends on:
ii  adduser                  3.103ubuntu1    Add and remove users and groups
ii  dpkg                     1.14.5ubuntu16  package maintenance system for Deb
ii  libc6                    2.6.1-1ubuntu10 GNU C Library: Shared libraries

slocate recommends no packages.

-- debconf-show failed

More information about the ubuntu-users mailing list