Bug 400671 - The syslog-ng an rsyslog packages should conflict
Summary: The syslog-ng an rsyslog packages should conflict
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rsyslog
Version: 8
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Vrabec
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 400661
Blocks: 375781
TreeView+ depends on / blocked
 
Reported: 2007-11-27 10:16 UTC by Tomas Smetana
Modified: 2015-07-21 13:20 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-29 12:58:37 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1244467 0 unspecified CLOSED dnf upgrade produces conflict messages relating to rsyslogd/syslog-ng 2021-02-22 00:41:40 UTC

Internal Links: 1244467

Description Tomas Smetana 2007-11-27 10:16:32 UTC
+++ This bug was initially created as a clone of Bug #400661 +++

Description of problem:

Both the syslog-ng and rsyslog packages have the same logrotate configuration
file, which causes logrotate to find duplicties for the system logs and refuses
to rotate them.  This may lead to a disk space exhaustion.

Version-Release number of selected component (if applicable):

syslog-ng-2.0.5-1.fc8
rsyslog-1.19.6-3.fc8

How reproducible:
Always


Steps to Reproduce:
1. Install both the loggers and watch the emails sent by logwatch -- you'll see
something like this:

/etc/cron.daily/logrotate:

error: syslog:1 duplicate log entry for /var/log/messages
error: found error in /var/log/messages /var/log/secure /var/log/maillog
/var/log/spooler /var/log/boot.log /var/log/cron , skipping
  
Actual results:
Logs are not rotated due to duplicite configurations.

Expected results:
Logs are rotated.

Additional info:

Comment 1 Peter Vrabec 2007-11-27 11:14:06 UTC
Jose, do you agree to use "conflict: syslog-ng/rsyslog"? I'm fine with this 
solution.


Comment 2 Peter Vrabec 2007-11-29 12:58:37 UTC
fixed in rsyslog-1.19.11-1.fc8

Comment 3 Michal Jaegermann 2007-12-11 21:52:21 UTC
Well, it should possibly add also obsoletes for syslog-ng.
Otherwise if both packages are installed then an update to
rsyslog-1.19.11-1.fc8 fails.

Comment 4 Michal Jaegermann 2007-12-11 21:56:15 UTC
Oh, and this "conflict" makes syslog-ng package practically useless.
Tons of packages depends on rsyslog so removing it is not feasible.
It appear that a better coordination between these packages would
be needed.


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