Page MenuHomeVyOS Platform

Organize logrotate settings to avoid duplicates
Closed, ResolvedPublicBUG

Description

There are multiple places from where config may be placed to the /etc/logrotate.d/ directory, and some of them conflict. This leads to the logrotate daemon errors and improper rotation.

Known conflicts:

  • /var/log/messages configured via /etc/logrotate.d/rsyslog (from rsyslog deb package), system-syslog.py, and system-logs.py.
  • /var/log/auth.log configured via /etc/logrotate.d/rsyslog (from rsyslog deb package), /etc/logrotate.d/auth (from vyatta-cfg deb package).

Conflicts should be resolved and checks added, if possible, to avoid this in the future.

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202202150317
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)