Bug 1287469 - let rsyslog & syslog-ng play nice together: sync /etc/logrotate.d/syslog
Summary: let rsyslog & syslog-ng play nice together: sync /etc/logrotate.d/syslog
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: syslog-ng
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jose Pedro Oliveira
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-02 07:44 UTC by Martin Frodl
Modified: 2016-01-16 20:37 UTC (History)
7 users (show)

Fixed In Version: syslog-ng-3.5.6-3.el7
Doc Type: Bug Fix
Doc Text:
Clone Of: 1269245
Environment:
Last Closed: 2016-01-16 20:37:14 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1287470 0 unspecified CLOSED let rsyslog & syslog-ng play nice together: sync /etc/logrotate.d/syslog 2021-02-22 00:41:40 UTC

Internal Links: 1287470

Description Martin Frodl 2015-12-02 07:44:52 UTC
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 #1269245 +++

Description of problem:

syslog-ng and rsyslog both wants to install the file:
  /etc/logrotate.d/syslog

To be able to have both excellent loggers installed at the same time
this file must be identical.

I have sent a request to rsyslog package:

 https://bugzilla.redhat.com/show_bug.cgi?id=1269244

to change their version of /etc/logrotate.d/syslog such that syslog-ng
also can use the file unmodified.

Attached is a patch to change /etc/logrotate.d/syslog in syslog-ng
to the same version, this way users of both packages will be happy.

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.

Comment 1 Fedora Update System 2015-12-30 20:10:26 UTC
syslog-ng-3.5.6-3.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-5b03d8aee0

Comment 2 Jose Pedro Oliveira 2015-12-30 20:20:30 UTC
Commit to the epel7 branch of the syslog-ng package:

----------
commit 3a02359f4c9fdc2f89407cfcf4e3c3747f1e54cf
Author: Jose Pedro Oliveira <jose.p.oliveira.oss>
Date:   Wed Dec 30 20:52:38 2015 +0100

    Sync the logrotate configuration file from rsyslog-7.4.7-12.el7 (#1287469)

----------

syslog-ng-3.5.6-3.el7 koji build:
http://koji.fedoraproject.org/koji/buildinfo?buildID=708078

Comment 3 Fedora Update System 2016-01-01 04:20:41 UTC
syslog-ng-3.5.6-3.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2015-5b03d8aee0

Comment 4 Fedora Update System 2016-01-16 20:37:09 UTC
syslog-ng-3.5.6-3.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.