Project

General

Profile

Actions

Bug #3922

closed

Logrotate should use 'delaycompress' option

Added by François ARMAND over 10 years ago. Updated about 9 years ago.

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

Actions #1

Updated by Nicolas PERRON over 10 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 ?

Actions #2

Updated by Jonathan CLARKE over 10 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.

Actions #3

Updated by Matthieu CERDA over 10 years ago

  • Status changed from 8 to In progress

Acknowledged. Task started.

Actions #4

Updated by Matthieu CERDA over 10 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.

Actions #5

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.4.9 to 2.4.10
Actions #6

Updated by Nicolas PERRON over 10 years ago

  • Target version changed from 2.4.10 to 2.4.11
Actions #7

Updated by Nicolas PERRON over 10 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:

Actions #8

Updated by Nicolas PERRON over 10 years ago

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

Updated by Benoît PECCATTE about 9 years ago

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

Also available in: Atom PDF