[no subject]



Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Bill Thorsteinson <bill@xxxxxxxxxxxxxx>
To: Ubuntu Bug Tracking System <ubuntu-users@xxxxxxxxxxxxxxxx>
Subject: slocate: Incorrect ionice parameter in ionice for daily crontab run.
Message-ID: <20071126002801.8136.28658.reportbug@xxxxxxxxxxxxxxxxxxxx>
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 @@
fi

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
else
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

--
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



Relevant Pages


  • ... Subject: slocate: Incorrect ionice parameter in ionice for daily crontab run. ... Tags: patch ... Versions of packages slocate depends on: ...
    (Ubuntu)
  • [FLSA-2004:1232] Updated slocate resolves security vulnerabilites
    ... Updated slocate packages are now available that fix security ... Vulnerabilities and Exposures project has assigned the ... These packages also fix a buffer overflow that affected unpatched versions ...
    (Bugtraq)
  • [Full-Disclosure] [RHSA-2004:040-01] Updated slocate packages fix vulnerability
    ... Updated slocate packages are now available that fix a heap overflow ... Slocate is a security-enhanced version of locate, ... where is a list of the RPMs you wish to upgrade. ... Please note that this update is also available via Red Hat Network. ...
    (Full-Disclosure)
  • [CLA-2003:643] Conectiva Security Announcement - slocate
    ... It has been reportedthat slocate contains a buffer overflow ... vulnerability which could be used by a local attacker to obtain the ... It is recommended that all slocate users upgrade their packages. ... Detailed instructions reagarding the use of apt and upgrade examples ...
    (Bugtraq)