Project

General

Profile

Actions

Bug #6526

closed

Log rotation of reports and slapd is not correctly functionnal on redhat, as the server continues to write to the move file

Added by Nicolas CHARLES almost 9 years ago. Updated almost 9 years ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Rotation on redhat (and possibly Ubuntu) is not correctly working. The postrotate command is "service rsyslogd reload"
However, rsyslogd reload simply exit 3, without reloading anything, so it still write in all.log.1 rather than all.log

The correct solution seems to be

 /bin/kill -HUP `cat /var/run/syslogd.pid

(or the correct path of kill according to the systems)

see https://www.redhat.com/archives/rhelv6-list/2012-June/msg00068.html


Subtasks 3 (0 open3 closed)

Bug #6585: Wrong initial promise file modified breaking tests in tehcniquesReleasedBenoît PECCATTE2015-05-13Actions
Bug #6586: Fix initial promises to have correct logrotate on 2.11ReleasedNicolas CHARLES2015-05-13Actions
Bug #6676: rudder-agent is stuck, waiting for user input during log compression (on 2.10)ReleasedMatthieu CERDA2015-05-27Actions

Related issues 1 (0 open1 closed)

Has duplicate Rudder - Bug #4433: Log rotation problems due to bad post-rotate scriptRejectedBenoît PECCATTE2014-01-31Actions
Actions

Also available in: Atom PDF