Bug 1431896

Summary: Several nagios plugins have file conflicts with an up to date rawhide when trying to upgrade to the latest versions
Product: [Fedora] Fedora Reporter: stan <gryt2>
Component: nagios-pluginsAssignee: Stephen John Smoogen <smooge>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: athmanem, b.heden, gryt2, kmf, mhayden, mjw, ondrejj, smooge, smooge, swilkerson
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-14 00:36:01 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 stan 2017-03-14 00:18:28 UTC
Description of problem:
When doing a dnf upgrade in rawhide, the transaction test fails for 
nagios-plugins-ide_smart
nagios-plugins-icmp
nagios-plugins-fping
nagios-plugins-dhcp
with file conflicts like this:
file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64


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

How reproducible:
Every time.

Steps to Reproduce:
1. Run dnf upgrade in rawhide
2.
3.

Actual results:
The actual output is too large to attach, so here are some samples.
file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-ide_smart-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64
file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-dhcp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64
file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64
file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-core-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-libs-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-tools-4.11.0-0.rc1.git3.1.fc27.x86_64
  file /usr/lib/.build-id from install of nagios-plugins-icmp-2.2.0-6.fc27.x86_64 conflicts with file from package kernel-devel-4.11.0-0.rc1.git3.1.fc27.x86_64

Some look like this:

file /usr/lib/.build-id/9c from install of nagios-plugins-fping-2.2.0-6.fc27.x86_64 conflicts with file from package qwt-6.1.3-2.fc27.x86_64

Expected results:
Updates successfully.

Additional info:

Comment 1 Stephen John Smoogen 2017-03-14 00:31:20 UTC
OK that is not a file I expect to have been packaged so something slipped into the builds. I am asking release engineering on what I could have done to add these.

Comment 2 Stephen John Smoogen 2017-03-14 00:36:01 UTC
OK it looks like this is a known bug in rpm that needs to be fixed. I am closing this as a duplicate of 1431296

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

Comment 3 stan 2017-03-14 01:22:58 UTC
Thank you for the fast response, and the information.

Comment 4 Mark Wielaard 2017-03-17 09:15:42 UTC
This is indeed a duplicate, but of a slightly different bug #1432372.
It is caused by a bug in an older rawhide rpm parsing the last %attr in the nagios.spec files list (and then using that to producing a bad mode for a different directory). It should go away when rebuilding nagios against a newer rpm (>= 4.13.0.1-8.fc27). Apologies for the trouble.

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

Comment 5 stan 2017-03-17 21:49:35 UTC
Thank you for the update.

Comment 6 Stephen John Smoogen 2017-03-22 15:09:27 UTC
Building -8 now that upstream rpm bug is fixed in rawhide. Should show up soon.

Comment 7 stan 2017-03-26 16:44:42 UTC
Yes, this seems to have solved the problem.  I updated the kernel and rpm to pick up any fixes they had applied to them.  Then a general dnf upgrade successfully updated the nagios plugins.

Thank you.