Bug#816458: copy first before compressing to avoid interference from other programs

2018-08-22 Thread Christian Göttsche
Control: severity -1 wishlist Hi, what advantage does your proposal offer? logrotate intentionally renames the file in order to not break any still to this file writing process. If the issue is a program still writing to the logfile, I suggest re(loading|starting) the process via the postrotate

Bug#816458: copy first before compressing to avoid interference from other programs

2016-03-01 Thread 積丹尼 Dan Jacobson
Package: logrotate Version: 3.9.1-1~exp1 Maybe you should first copy the files to tmp files, then compress them, then move them back. I recall copying is an indivisible operation that would be safe to run when other processes like apt are also running. > "A" == Anacron