Project

General

Profile

Bug #5486

The Rudder logrotate configuration uses the wrong argument to reload rsyslog on Debian Wheezy

Added by Matthieu CERDA over 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
2
Assignee:
Matthieu CERDA
Category:
Techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

Description

The rsyslog init.d script on Debian Wheezy does not support the "reload" argument, expecting "rotate" instead.

We need to use this instead.


Related issues

Related to Rudder - Bug #5544: The Rudder logrotate configuration is not in sync between regular and initial promisesReleased2014-09-17Jonathan CLARKEActions
#1

Updated by Matthieu CERDA over 5 years ago

Since the logrotate management on 2.6 / 2.10 is completely different from the 2.11 one, I will have to use a not-so-DRY approach for it on old versions... duplicating the debian logrotate.

#2

Updated by Matthieu CERDA over 5 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/482

BE CAREFUL: Manual merging will be required to propagate the change to Rudder 2.11 (not the same way of handling logrotate anymore).

Since squeeze is not supported anymore on this version, we can just replace reload with rotate in rsyslog template. :)

#3

Updated by Jonathan CLARKE over 5 years ago

  • Assignee changed from Jonathan CLARKE to Matthieu CERDA
#4

Updated by Matthieu CERDA over 5 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:08b5f771e340005993f82dc2deb16106c600aa3f.

#5

Updated by Matthieu CERDA over 5 years ago

Applied in changeset commit:6ce05c382dbcc9ccfbf33a17a2bb681e0ad2f90e.

#6

Updated by Matthieu CERDA over 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.6.18, which was released today.
Check out:

#7

Updated by Benoît PECCATTE about 5 years ago

  • Project changed from Techniques to Rudder
  • Category changed from Techniques to Techniques

Also available in: Atom PDF