Comment 2 for bug 1045704

Revision history for this message
Julian Andres Klode (juliank) wrote :

So, what should we do about this? Revert to non-atomic replacements, use a fixed filename (pkgcache.bin.tmp, brings a race condition), or add a signal handler that cleans up those files on SIGINT -- which I assume is the reason there are so many files, as we rename the temporaries to the final name if the code is not interrupted.