Project

General

Profile

Actions

Bug #4026

closed

The logrotate configuration file from Debian/Ubuntu rudder-server-root is duplicate between the old (rudder-server-root) and the new one (rudder)

Added by Nicolas PERRON about 11 years ago. Updated over 9 years ago.

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

Description

After an upgrade to Rudder 2.4.9, 2.6.6, 2.7.3 or later the configuration file (managed by Debian packaging) /etc/logrotate.d/rudder-server-root will continue to be managed even if the new one is installed /etc/logrotate.d/rudder-server-root. In fact, this is a renaming but the both of them still present.

An error will be display during the use of logrotate:


reading config file rudder
[...]
reading config file rudder-server-root
error: rudder-server-root:1 duplicate log entry for /var/log/rudder/apache2/access.log
error: found error in /var/log/rudder/apache2/*.log , skipping
removing last 1 log configs
error: rudder-server-root:20 duplicate log entry for /var/log/rudder/ldap/slapd.log
error: found error in /var/log/rudder/ldap/slapd.log , skipping
removing last 1 log configs
error: rudder-server-root:36 duplicate log entry for /var/log/rudder/reports/all.log
error: found error in /var/log/rudder/reports/*.log , skipping
removing last 1 log configs
error: rudder-server-root:53 duplicate log entry for /var/log/rudder/core/rudder-webapp.log
error: found error in /var/log/rudder/core/*.log , skipping
[...]

Actions

Also available in: Atom PDF