[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Opinions sought: mlocate appropriate for Priority: standard?



Adeodato Simó <dato@net.com.org.es> wrote:
> * Andreas Metzler [Sun, 11 Nov 2007 14:08:50 +0100]:
>> we probably need to switch to alternatives. (Currently slocate uses
>> dpkg-divert.)

> Yes, though the slocate maintainer scripts scare the hell out of me, and
> ISTR that the maintainer is somewhat MIA. Shall we make coordinated
> uploads of your locate and mine, and propose a patch to slocate? (I can
> prepare it, my fears notwithstanding.)

I guess it would need happen like this:

1. upload findutils with splitoff locate to experimental. The locate
package (Is this name ok?) ships /usr/bin/locate.findutils and
/usr/bin/updatedb.findutils. It installs low-priority alterntives for
these. The package conflicts with slocate (<< the next version, i.e.
3.1-1.2). It conflicts/replaces findutils (<=4.3.8-1, which is the
last vesion living in experimental.)

> I guess dlocate would need an
> upload as well.

> How to handle the cron.daily script, though?

--- find-cron.daily     (Revision 220)
+++ find-cron.daily     (Arbeitskopie)
@@ -5,6 +5,7 @@
 # Written by Ian A. Murdock <imurdock@debian.org> and
 #            Kevin Dalley <kevin@aimnet.com>

+[ -e /usr/bin/updatedb.findutils ] || exit 0
 LOCALUSER="nobody"
 export LOCALUSER
 if [ -f /etc/updatedb.conf ]; then
@@ -12,7 +13,7 @@
 fi

 if getent passwd $LOCALUSER > /dev/null ; then
-  cd / && nice -n ${NICE:-10} updatedb 2>/dev/null
+  cd / && nice -n ${NICE:-10} updatedb.findutils 2>/dev/null

cu andreas

-- 
`What a good friend you are to him, Dr. Maturin. His other friends are
so grateful to you.'
`I sew his ears on from time to time, sure'



Reply to: