Bug 1317367

Summary: Respin of 7.2.3 rhel-tools-docker
Product: Red Hat Enterprise Linux 7 Reporter: Frantisek Kluknavsky <fkluknav>
Component: rhel-tools-containerAssignee: Eliska Slobodova <eslobodo>
Status: CLOSED ERRATA QA Contact: atomic-bugs <atomic-bugs>
Severity: unspecified Docs Contact: Vikram Goyal <vigoyal>
Priority: unspecified    
Version: 7.2CC: ajia, dwalsh, eslobodo, jeder, walters
Target Milestone: rcFlags: ajia: needinfo? (walters)
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1313030
: 1357094 (view as bug list) Environment:
Last Closed: 2016-03-31 23:26:54 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:
Bug Depends On:    
Bug Blocks: 1357094    

Description Frantisek Kluknavsky 2016-03-14 06:41:34 UTC
Tracking the respin of rhel-tools-docker

Comment 6 Daniel Walsh 2016-03-22 15:42:47 UTC
Looks like you are trying to install an rpm package onto an atomic host?

Comment 7 Colin Walters 2016-03-22 15:50:40 UTC
This is an incompatiblity with atomic-pkglayer and the docker `%post` - it's unaware that we're running inside a container.

https://github.com/GNOME/ostree/pull/212

will address this by allowing use of `rpm -Uvh docker.rpm` outside of a container.

Comment 8 Colin Walters 2016-03-22 15:52:16 UTC
Currently though in order to test the new Docker you'd need an updated tree.

We can probably fix this in docker though by having its %post detect if it's inside a container and not try to load the policy?  Something like `if test ${container} = "docker"` ?

Comment 9 Daniel Walsh 2016-03-22 15:54:43 UTC
It is actually blowing up when trying to compile policy.

Comment 10 Alex Jia 2016-03-22 16:05:40 UTC
(In reply to Daniel Walsh from comment #6)
> Looks like you are trying to install an rpm package onto an atomic host?

Yes, using atomic-pkglayer to update docker RPM pacakges onto an      Atomic Host.

Comment 11 Alex Jia 2016-03-24 09:06:22 UTC
(In reply to Colin Walters from comment #8)
> We can probably fix this in docker though by having its %post detect if it's
> inside a container and not try to load the policy?  Something like `if test
> ${container} = "docker"` ?

Colin, do we plan to fix this on 7.2.4? if so, I will close the bug as VERIFIED, because except this failure, the atomic-pkglayer works well.

Comment 13 errata-xmlrpc 2016-03-31 23:26:54 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/RHBA-2016-0578.html