Project

General

Profile

Actions

Bug #3922

closed

Logrotate should use 'delaycompress' option

Bug #3922: Logrotate should use 'delaycompress' option

Added by François ARMAND over 12 years ago. Updated about 11 years ago.

Status:
Released
Priority:
3
Assignee:
Jonathan CLARKE
Category:
Packaging
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Updated by Nicolas PERRON over 12 years ago Actions #1

  • 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 over 12 years ago Actions #2

  • 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 over 12 years ago Actions #3

  • Status changed from 8 to In progress

Acknowledged. Task started.

Updated by Matthieu CERDA over 12 years ago Actions #4

  • 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 over 12 years ago Actions #5

  • Target version changed from 2.4.9 to 2.4.10

Updated by Nicolas PERRON over 12 years ago Actions #6

  • Target version changed from 2.4.10 to 2.4.11

Updated by Nicolas PERRON over 12 years ago Actions #7

  • 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:

Updated by Nicolas PERRON over 12 years ago Actions #8

  • Subject changed from We don't use delaycompress in logrotate when we should to Logrotate should use 'delaycompress' option

Updated by Benoît PECCATTE about 11 years ago Actions #9

  • Project changed from 34 to Rudder
  • Category set to Packaging
Actions

Also available in: PDF Atom