Control: tag -1 + upstream fixed-upstream Hello,
2016-12-26 1:29 GMT+01:00 Christoph Biedl <debian.a...@manchmal.in-ulm.de>: > Hello everybody, > > looking at this old but nasty bug that must be fixed for stretch: > > * Trying to understand what goes wrong I wrote a small script that > creates a few scenarios and executes logrotate then. Run it in > an arbitrary directory like /tmp/ as regular user, with a single > parameter in the range 0 to 4. Expect a lot of failures. > > * In my understanding logrotate never compresses older logfiles even > if they are not compressed yet, this will lead to the observed > clashes. So I was about to write a patch that similar for Bolesław's > proposal detects if the target file already exists, but would > compress it then. However: > > * github[1] contains a link[2] to a patch gentoo created. At least > for all scenario my test script above creates, it solves the problems. > I'd suggest you all test it as well and report back. The actual upstream fix for it is: https://github.com/logrotate/logrotate/commit/fc1c3eff61edf8e9f0a4bfa980f3a6030a6b271f And it is included in version 3.11.0. The way forward is to update Debian package to 3.11.0. Regards -- Mathieu