Bug 1244467

Summary: dnf upgrade produces conflict messages relating to rsyslogd/syslog-ng
Product: [Fedora] Fedora Reporter: George R. Goffe <grgoffe>
Component: syslog-ngAssignee: Jose Pedro Oliveira <jose.p.oliveira.oss>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 22CC: bruno, jose.p.oliveira.oss, jsilhan, jzeleny, mluscon, mrunge, packaging-team-maint, peter, rayvd, silfreed, terje.rosten, tim.lauridsen, vmukhame
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-19 19:15:13 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:

Description George R. Goffe 2015-07-19 01:48:32 UTC
Description of problem:

Running "dnf -y upgrade" to pick up the latest updates to Fedora 22 generated error messages "Error: Transaction check error:
  file /etc/logrotate.d/syslog from install of rsyslog-8.8.0-3.fc22.x86_64 conflicts with file from package syslog-ng-3.6.2-2.fc22.x86_64'

I'm not sure if this a UFU (user foul up). This system has both rsyslog and syslog-ng installed. I'm not sure how that happened, might have come out of the box that way. Is there a recommended version to use?


Version-Release number of selected component (if applicable):
syslog-ng-3.6.2-2.fc22.x86_64
rsyslog-8.8.0-2.fc22.x86_64


How reproducible:
For now, always.

Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Radek Holy 2015-07-21 13:20:27 UTC
This seems to be a recurring issue.
As far as I know, it is not allowed to have file conflicts between packages. It seems that rsyslog and syslog-ng packages have an exception. Either way, there is nothing DNF can do.

Comment 2 George R. Goffe 2015-07-21 17:22:58 UTC
Radek

The workaround I picked was to remove rsyslogd... there seems to be some small controversy about which one to use. The syntax for config for syslog-ng appears to be superior.

Somehow I got both installed. NOT any more!

George...

Comment 3 Bruno Wolff III 2015-07-24 17:05:15 UTC
It isn't permitted for there just to be file conflicts between two packages as this breaks updates at a point too late to fix the transaction set. If the file conflict is intentional, then the packages should be marked as conflicting in their spec files.

Comment 4 Radek Holy 2015-07-27 12:51:19 UTC
What I understood from the referenced bugs, it seems that the goal is to allow installation of both rsyslog and syslog-ng at the same time. That's why they didn't add the explicit conflicts there, I guess.

Comment 5 Terje Røsten 2015-12-06 15:17:49 UTC
Please see: https://bugzilla.redhat.com/show_bug.cgi?id=1269245

Comment 6 Fedora End Of Life 2016-07-19 19:15:13 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.