Bug 1405989

Summary: Attempt to install latest docker fails due to /libexecdir/docker/sh dependency
Product: Red Hat Enterprise Linux 7 Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: dockerAssignee: Lokesh Mandvekar <lsm5>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: amurdaca, dwalsh, jiajliu, jpazdziora, lfriedma, lsm5, lsu, rcyriac, santiago
Target Milestone: rcKeywords: Extras, Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: docker-2:1.12.5-4.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-17 20:45:07 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 Jan Pazdziora (Red Hat) 2016-12-19 12:45:19 UTC
Description of problem:

Attempt to install latest docker fails because of /libexecdir/docker/sh rpm dependency.

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

docker-common-1.12.5-3.el7.x86_64

How reproducible:

Deterministic.

Steps to Reproduce:
1. Enable latest Extras.
2. yum install -y docker

Actual results:

# yum install -y docker
Loaded plugins: product-id, search-disabled-repos, subscription-manager
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Resolving Dependencies
--> Running transaction check
---> Package docker.x86_64 2:1.12.5-3.el7 will be installed
--> Processing Dependency: docker-client = 2:1.12.5-3.el7 for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: docker-common = 2:1.12.5-3.el7 for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: docker-rhel-push-plugin = 2:1.12.5-3.el7 for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: container-selinux >= 2:1.12.5-3.el7 for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: oci-register-machine >= 1:0-1.8 for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: oci-systemd-hook >= 1:0.1.4-5 for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: skopeo-containers for package: 2:docker-1.12.5-3.el7.x86_64
--> Processing Dependency: libseccomp.so.2()(64bit) for package: 2:docker-1.12.5-3.el7.x86_64
--> Running transaction check
---> Package container-selinux.x86_64 2:1.12.5-3.el7 will be installed
--> Processing Dependency: policycoreutils-python for package: 2:container-selinux-1.12.5-3.el7.x86_64
---> Package docker-client.x86_64 2:1.12.5-3.el7 will be installed
---> Package docker-common.x86_64 2:1.12.5-3.el7 will be installed
--> Processing Dependency: /libexecdir/docker/sh for package: 2:docker-common-1.12.5-3.el7.x86_64
---> Package docker-rhel-push-plugin.x86_64 2:1.12.5-3.el7 will be installed
---> Package libseccomp.x86_64 0:2.3.1-2.el7 will be installed
---> Package oci-register-machine.x86_64 1:0-1.11.gitdd0daef.el7 will be installed
---> Package oci-systemd-hook.x86_64 1:0.1.4-7.gita9c551a.el7 will be installed
--> Processing Dependency: libyajl.so.2()(64bit) for package: 1:oci-systemd-hook-0.1.4-7.gita9c551a.el7.x86_64
---> Package skopeo-containers.x86_64 1:0.1.17-1.el7 will be installed
--> Running transaction check
---> Package docker-common.x86_64 2:1.12.5-3.el7 will be installed
--> Processing Dependency: /libexecdir/docker/sh for package: 2:docker-common-1.12.5-3.el7.x86_64
---> Package policycoreutils-python.x86_64 0:2.5-9.el7 will be installed
--> Processing Dependency: audit-libs-python >= 2.1.3-4 for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libsemanage-python >= 2.5-4 for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: setools-libs >= 3.3.8-1 for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: checkpolicy for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libapol.so.4(VERS_4.0)(64bit) for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libcgroup for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.2)(64bit) for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libqpol.so.1(VERS_1.4)(64bit) for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: python-IPy for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libapol.so.4()(64bit) for package: policycoreutils-python-2.5-9.el7.x86_64
--> Processing Dependency: libqpol.so.1()(64bit) for package: policycoreutils-python-2.5-9.el7.x86_64
---> Package yajl.x86_64 0:2.0.4-4.el7 will be installed
--> Running transaction check
---> Package audit-libs-python.x86_64 0:2.6.5-3.el7 will be installed
---> Package checkpolicy.x86_64 0:2.5-4.el7 will be installed
---> Package docker-common.x86_64 2:1.12.5-3.el7 will be installed
--> Processing Dependency: /libexecdir/docker/sh for package: 2:docker-common-1.12.5-3.el7.x86_64
---> Package libcgroup.x86_64 0:0.41-11.el7 will be installed
---> Package libsemanage-python.x86_64 0:2.5-4.el7 will be installed
---> Package python-IPy.noarch 0:0.75-6.el7 will be installed
---> Package setools-libs.x86_64 0:3.3.8-1.1.el7 will be installed
--> Processing Dependency: /libexecdir/docker/sh for package: 2:docker-common-1.12.5-3.el7.x86_64
--> Finished Dependency Resolution
Error: Package: 2:docker-common-1.12.5-3.el7.x86_64 (extras)
           Requires: /libexecdir/docker/sh
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

Expected results:

No error, docker package installed.

Additional info:

Comment 6 Antonio Murdaca 2016-12-19 13:42:32 UTC
*** Bug 1405968 has been marked as a duplicate of this bug. ***

Comment 9 Lokesh Mandvekar 2017-01-04 21:18:27 UTC
Jan, does the current build look good to you? Or do you still see this? 1.12.5-4 should've taken care of this

Comment 10 Luwen Su 2017-01-10 03:26:07 UTC
The installation of docker-1.12.5-9.el7.x86_64 is fine for me, both via rpm and yum, so i'd like to move to verified.

Comment 12 errata-xmlrpc 2017-01-17 20:45:07 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2017-0116.html