Bug #3922
closedLogrotate should use 'delaycompress' option
Description
We need to use delaycompress option in logrotate for files with sharedscripts.
http://serverfault.com/questions/292513/when-to-use-delaycompress-option-in-logrotate
Impacted files are:
- https://github.com/Normation/rudder-techniques/blob/master/techniques/system/distributePolicy/1.0/logrotate.debian.st
- https://github.com/Normation/rudder-techniques/blob/master/techniques/system/distributePolicy/1.0/logrotate.rhel.st
- https://github.com/Normation/rudder-techniques/blob/master/techniques/system/distributePolicy/1.0/logrotate.suse.st
Updated by Nicolas PERRON about 11 years ago
- Status changed from 8 to Discussion
- Assignee changed from Nicolas PERRON to François ARMAND
Hmmm...it remind me that delaycompress was a problem before. See #2962, François Bayard had a problem with huge log files.
Do you plan to change something in jetty in order to stop writing in the file ?
Updated by Jonathan CLARKE about 11 years ago
- Status changed from Discussion to 8
- Assignee changed from François ARMAND to Matthieu CERDA
Nicolas PERRON wrote:
Hmmm...it remind me that delaycompress was a problem before. See #2962, François Bayard had a problem with huge log files.
Do you plan to change something in jetty in order to stop writing in the file ?
The point of this ticket is that it is necessary to use delaycompress for any logrotate configs that have a sharedscripts section. Bug #2962 was about the uncompressed logs taking up extra space - but it is clearly preferable to not drop logs than to save space: correctness comes before optimisation.
Please fix this ASAP.
Updated by Matthieu CERDA about 11 years ago
- Status changed from 8 to In progress
Acknowledged. Task started.
Updated by Matthieu CERDA about 11 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- % Done changed from 0 to 100
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/194
Completed, PR available.
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.9 to 2.4.10
Updated by Nicolas PERRON about 11 years ago
- Target version changed from 2.4.10 to 2.4.11
Updated by Nicolas PERRON about 11 years ago
- Status changed from Pending technical review to Released
- Target version changed from 2.4.11 to 2.4.9
This bug has been fixed in Rudder 2.4.9 (but the issue has not been automatically updated), which was released today.
Check out:
- The release announcement: http://www.rudder-project.org/pipermail/rudder-announce/2013-October/000049.html
- The full ChangeLog: http://www.rudder-project.org/foswiki/bin/view/System/Documentation:ChangeLog24
- Download information: http://www.rudder-project.org/foswiki/Download/
Updated by Nicolas PERRON about 11 years ago
- Subject changed from We don't use delaycompress in logrotate when we should to Logrotate should use 'delaycompress' option
Updated by Benoît PECCATTE almost 10 years ago
- Project changed from 34 to Rudder
- Category set to Packaging