RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1287470 - 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 WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rsyslog
Version: 7.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Jiří Vymazal
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On: 1269244
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-02 07:46 UTC by Martin Frodl
Modified: 2017-02-03 09:51 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1269244
Environment:
Last Closed: 2017-02-03 09:51:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
proposed patch (655 bytes, patch)
2017-01-10 13:56 UTC, Jiří Vymazal
no flags Details | Diff


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

Internal Links: 1287469 1773494

Description Martin Frodl 2015-12-02 07:46:45 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 #1269244 +++

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 2 Jiří Vymazal 2017-01-10 13:56:23 UTC
Created attachment 1239116 [details]
proposed patch

Comment 3 Jiří Vymazal 2017-01-10 13:57:31 UTC
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


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