On Sun, Mar 01, 2015 at 10:22:05PM +0100, Niels Thykier wrote: > Excellent, thanks. > > I am taking the liberty of adding the patch tag for this one. If > nothing else, I would greatly appreciate having ldconfig not seg. fault. :)
That makes sense to me. > Sounds like the aux-cache could do with a checksum or something to catch > obvious corruptions. I very much agree, although that would of course be a format change and then you would have to throw away the old file on upgrades. Perfectly reasonable and probably the best way to deal with all the corner cases that I noticed for having it do the wrong thing when corrupted. I wonder what upstream thinks of it. > Or ldconfig needs some method to (fairly) reliably detect corruptions. > If it spits out errors about directories not being links, then something > notices a problem. Perhaps this could be extended to discarding the > cache (even if "just" a """if (!ignore_cache) execve(argv, "-i", null);"""). I thought that could work too. It sounded rather ugly to do that though. I rather like the checksum idea instead since it sounds more reliable and simpler. -- Len Sorensen -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org