← Back to team overview

registry team mailing list archive

[Bug 189462] Re: slocate cron job fails if /etc/updatedb.conf not found

 

My apologies that the Ubuntu team has taken so long to get around to
dealing with this bug.

Matt LaPlante: Thanks for your patch!  My feeling is that causing
slocate to own /etc/updatedb.conf is probably not actually the best
approach here.  Doing that introduces questions of upgrade handling (as
is often the case when files move between packages) which aren't easy to
answer quickly.  It might be the case that it all works out, but we'd
have to consider dapper->hardy-updates, hardy->hardy-updates, hardy-
updates->lucid, etc., and ideally for a stable update I'd prefer that we
could say confidently that no such issues will arise.

Can I suggest using something like /etc/updatedb.conf.slocate instead,
passing the appropriate -c parameter to slocate?  This should be safer.
I know it's a bit of a pain for the configuration file not to be the
same as in other releases, but since its contents and package ownership
vary anyway, and since this was already broken for hardy users who
haven't followed our move to mlocate, I think this should be OK.

-- 
slocate cron job fails if /etc/updatedb.conf not found
https://bugs.launchpad.net/bugs/189462
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for Debian.