Red Hat Bugzilla – Bug 1287470
let rsyslog & syslog-ng play nice together: sync /etc/logrotate.d/syslog
Last modified: 2017-02-03 04:51:34 EST
Same issue encountered when upgrading to rsyslog-7.4.7-12.el7.x86_64 with syslog-ng-3.5.6-1.el7.x86_64 installed.
+++ This bug was initially created as a clone of Bug #1269244 +++
Description of problem:
syslog-ng and rsyslog both wants to install the file:
To be able to have both excellent loggers installed at the same time
this file must be identical.
Attached is a patch to change /etc/logrotate.d/syslog such that syslog-ng
also can use the file unmodified.
A followup report is sent to syslog-ng package to sync with the new version of the file.
Setup has been tested, install both rsyslog and syslog-ng is now possible, make
it very easy to switch between loggers as users may want.
Logrotate works as before.
Please apply attached patch.
Created attachment 1239116 [details]
attached patch renames conflicting file (in the end name is not significant as main logrotate conf includes all files in /etc/logrotate.d/ ) this way concurrent existence with other syslog packages possible