Bug 1269244

Summary: let rsyslog & syslog-ng play nice together: sync /etc/logrotate.d/syslog
Product: [Fedora] Fedora Reporter: Terje Røsten <terje.rosten>
Component: rsyslogAssignee: Jiří Vymazal <jvymazal>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: jakespain1, jlieskov, jvymazal, lkundrak, mah.darade, pvrabec
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rsyslog-8.24.0-1.fc25 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1287470 (view as bug list) Environment:
Last Closed: 2017-01-16 19:51:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1287470    
Attachments:
Description Flags
Patch to sync /etc/logrotate.d/syslog
none
proposed patch none

Description Terje Røsten 2015-10-06 19:07:36 UTC
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.

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.

Comment 1 Terje Røsten 2015-10-06 19:10:43 UTC
Created attachment 1080353 [details]
Patch to sync /etc/logrotate.d/syslog

Comment 2 Terje Røsten 2015-10-06 19:16:54 UTC
For syslog-ng part see: 
 https://bugzilla.redhat.com/show_bug.cgi?id=1269245

Comment 3 Terje Røsten 2015-11-17 19:19:48 UTC
Would be nice to get fix included.

Comment 4 Terje Røsten 2015-12-02 19:56:38 UTC
Is this package maintained or should it be ophaned? 

Two months to apply a simple fix?

More fun added: this issue now crashes Fedora 23 installer:

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

Comment 5 Fedora End Of Life 2016-07-19 18:07:26 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

Comment 6 Tomas Heinrich 2016-08-09 13:20:42 UTC
This should be resolved in some way but syncing the files is not a good solution. They should be split (renamed).

Comment 8 Jiří Vymazal 2016-12-21 09:49:17 UTC
created and linked upstream bug

Comment 9 Jiří Vymazal 2016-12-21 12:50:51 UTC
Created attachment 1234388 [details]
proposed patch

Comment 10 Jiří Vymazal 2016-12-21 12:55:48 UTC
renamed 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

Comment 11 Fedora Update System 2017-01-13 14:05:21 UTC
rsyslog-8.24.0-1.fc25 has been submitted as an update to Fedora 25. https://bodhi.fedoraproject.org/updates/FEDORA-2017-f1200343ac

Comment 12 Fedora Update System 2017-01-14 06:21:28 UTC
rsyslog-8.24.0-1.fc25 has been pushed to the Fedora 25 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-2017-f1200343ac

Comment 13 Fedora Update System 2017-01-16 19:51:55 UTC
rsyslog-8.24.0-1.fc25 has been pushed to the Fedora 25 stable repository. If problems still persist, please make note of it in this bug report.