| Summary: | Respin of 7.2.3 rhel-tools-docker | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Frantisek Kluknavsky <fkluknav> | |
| Component: | rhel-tools-container | Assignee: | Eliska Slobodova <eslobodo> | |
| Status: | CLOSED ERRATA | QA Contact: | atomic-bugs <atomic-bugs> | |
| Severity: | unspecified | Docs Contact: | Vikram Goyal <vigoyal> | |
| Priority: | unspecified | |||
| Version: | 7.2 | CC: | ajia, dwalsh, eslobodo, jeder, walters | |
| Target Milestone: | rc | Flags: | 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
Looks like you are trying to install an rpm package onto an atomic host? 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. 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"` ?
It is actually blowing up when trying to compile policy. (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. (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. 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 |