Your message dated Tue, 27 Jan 2009 20:01:54 GMT
with message-id <[email protected]>
and subject line slocate has been removed from Debian, closing #454119
has caused the Debian Bug report #454119,
regarding [patch] option to use nice/ionice
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
454119: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=454119
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: slocate
Version: 3.1-1.1
Severity: wishlist
Tags: patch
User: [email protected]
Usertags: origin-ubuntu hardy ubuntu-patch
In Ubuntu, we've applied the attached patch to achieve the following:
* Use ionice. It looks for settings from
/etc/updatedb.conf and uses "best effort" class by default.
Quite the same for "nice", defaulting to "10".
(LP: #134692)
Cheers,
Michael
-- System Information:
Debian Release: lenny/sid
APT prefers hardy-updates
APT policy: (500, 'hardy-updates'), (500, 'hardy')
Architecture: i386 (i686)
Kernel: Linux 2.6.22-14-generic (SMP w/2 CPU cores)
Locale: LANG=en_DK.UTF-8, LC_CTYPE=en_DK.UTF-8 (charmap=UTF-8)
diff -u slocate-3.1/debian/cron.daily slocate-3.1/debian/cron.daily
--- slocate-3.1/debian/cron.daily
+++ slocate-3.1/debian/cron.daily
@@ -4,9 +4,17 @@
then
if [ -f /etc/updatedb.conf ]
then
- /usr/bin/updatedb
+ . /etc/updatedb.conf
+ fi
+
+ # Adjust I/O priority of current process (default: best effort)
+ ionice -c ${IONICE_CLASS:-2} -n ${IONICE_PRIORITY:-7} -p $$
+
+ if [ -f /etc/updatedb.conf ]
+ then
+ nice -n ${NICE:-10} /usr/bin/updatedb
else
- /usr/bin/updatedb -f proc
+ nice -n ${NICE:-10} /usr/bin/updatedb -f proc
fi
chown root.slocate /var/lib/slocate/slocate.db
fi
--- End Message ---
--- Begin Message ---
Version: 3.1-1.1+rm
The slocate package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.
For more information about this package's removal, read
http://bugs.debian.org/457565 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.
Don't hesitate to reply to this mail if you have any question.
Thank you for your contribution to Debian.
Kind regards,
--
Marco Rodrigues
--- End Message ---