Actions
Bug #6526
closedLog rotation of reports and slapd is not correctly functionnal on redhat, as the server continues to write to the move file
Status:
Released
Priority:
N/A
Assignee:
Category:
System integration
Target version:
Pull Request:
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
Actions