On Fri, Jun 10, 2022 at 01:00:17PM +0100, Ian Jackson wrote: > The updatedb cron job reads /etc/updatedb.conf. > > I have a package (chiark-backup) which sometimes mounts snapshot volumes in a > predicteable location, and which should not be scanned by updatedb. > I don't want to edit /etc/updatedb.conf in my package's maintscripts. > > Rather, I would like to be able to droo a file into some .d directory, > containing > PRUNEPATHS+=' /var/lib/chiark-backup ' > or some such.
Hi Ian, I understand the desire, but what you're asking for is basically making updatedb.conf into a multi-file language (there's no += at the moment, for instance), and I think this is too niche to spend resources and complexity on. I can tag this as wontfix or something, but I'm not sure if it would make much difference? > I'm filing this as "normal" rather than "wishlist" because although > it's a feature request here in mlocate, it's a *bug* in chiark-utils > (#1012617). I assume you mean plocate now, not mlocate, but no big change (they share config file parsers). /* Steinar */ -- Homepage: https://www.sesse.net/