Bug 782867 - file conflict with rsyslog on centos6
Summary: file conflict with rsyslog on centos6
Keywords:
Status: CLOSED DUPLICATE of bug 767761
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: syslog-ng
Version: el6
Hardware: i686
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Jose Pedro Oliveira
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-18 18:12 UTC by Christopher Wood
Modified: 2012-01-18 18:20 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-01-18 18:20:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Christopher Wood 2012-01-18 18:12:45 UTC
Description of problem:

The syslog-ng (from EPEL) and rsyslog (from CentOS 6) packages both install /etc/logrotate.d/syslog.

I'm filing this here since it's a packaging file conflict, or at least some kind of conflict. If there's no conflicts/replaces so the packages can be installed on the same host (as they can), they at least should install separate files.



Error Summary
-------------


This causes problems for puppet 2.6.2, for one:

debug: Package[syslog-ng](provider=yum): Ensuring => present
debug: Puppet::Type::Package::ProviderYum: Executing '/usr/bin/yum -d 0 -e 0 -y install syslog-ng'
err: /Stage[main]/Syslogng::Hera/Syslogng::Ng[ng]/Package[syslog-ng]/ensure: change from absent to present failed: Execution of '/usr/bin/yum -d 0 -e 0 -y install syslog-ng' returned 1: 

Transaction Check Error:
  file /etc/logrotate.d/syslog from install of syslog-ng-3.2.5-2.el6.i686 conflicts with file from package rsyslog-4.6.2-2.el6.i686


But when I 'yum install syslog-ng' from the console, I get:

# yum install syslog-ng
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package syslog-ng.i686 0:3.2.5-2.el6 set to be updated
--> Processing Dependency: libevtlog.so.0 for package: syslog-ng-3.2.5-2.el6.i686
--> Processing Dependency: libnet.so.1 for package: syslog-ng-3.2.5-2.el6.i686
--> Running transaction check
---> Package eventlog.i686 0:0.2.12-1.el6 set to be updated
---> Package libnet.i686 0:1.1.5-1.el6 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================================================================================================================================================================================================
 Package                                                              Arch                                                            Version                                                                 Repository                                                       Size
====================================================================================================================================================================================================================================================================================
Installing:
 syslog-ng                                                            i686                                                            3.2.5-2.el6                                                             epel                                                            441 k
Installing for dependencies:
 eventlog                                                             i686                                                            0.2.12-1.el6                                                            epel                                                             17 k
 libnet                                                               i686                                                            1.1.5-1.el6                                                             epel                                                             55 k

Transaction Summary
====================================================================================================================================================================================================================================================================================
Install       3 Package(s)
Upgrade       0 Package(s)

Total size: 513 k
Installed size: 1.6 M
Is this ok [y/N]: 




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

syslog-ng-3.2.5-2.el6.i686
rsyslog-4.6.2-2.el6.i686


How reproducible:

Every time.


Steps to Reproduce:
1. On a fresh CentOS 6 installation, install this EPEL repo in /etc/yum.repos.d:

[epel]
name=Extra Packages for Enterprise Linux $releasever - $basearch
baseurl=http://repos.pvt.primus.ca/epel/$releasever/$basearch
enabled=1
gpgcheck=0

2. install puppet (from epel)

3) copy this manifest into somewhere useful, like /tmp/x.pp:

#----------
package { 'syslog-ng': }
#----------

3. run puppet:

puppet /tmp/x.pp
  


Actual results:

Can't install due to the file conflict.




Expected results:

One of two scenarios:

a) installing syslog-ng works fine because there is no file conflict
b) installing syslog-ng works fine because it replaces rsyslog on the system


Additional info:

Comment 1 Jose Pedro Oliveira 2012-01-18 18:20:29 UTC

*** This bug has been marked as a duplicate of bug 767761 ***


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