Bug 1274002 - Missing chown causes Permission denied errors
Summary: Missing chown causes Permission denied errors
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Developer Toolset
Classification: Red Hat
Component: devtoolset-4-toolchain-container
Version: DTS 4.0 RHEL 7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 4.0
Assignee: Marek Polacek
QA Contact: Miloš Prchlík
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-21 17:22 UTC by Marek Polacek
Modified: 2015-11-16 15:57 UTC (History)
7 users (show)

Fixed In Version: devtoolset-4-toolchain-docker-4-4
Doc Type: Bug Fix
Doc Text:
No description necessary
Clone Of:
Environment:
Last Closed: 2015-11-16 15:57:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:2049 0 normal SHIPPED_LIVE new container image: rhscl/devtoolset-4-toolchain-rhel7 2016-04-21 17:15:49 UTC

Comment 3 Radek Zima 2015-10-27 10:05:09 UTC
Hi,

there is conflict between packages in buildroot rhel-7.2 vs. rhel-7.1. It is caused by wrong specification in FROM directive in your Docker configuration file. You should use there:

FROM rhel:7.1

More information can be found here: https://mojo.redhat.com/docs/DOC-1023066#jive_content_id_Base_image

Regards,
Radek

Comment 4 Marek Polacek 2015-10-27 10:13:34 UTC
Thanks, that seems to help, but now I'm getting another error :(

2015-10-27 06:09:45,522 - atomic_reactor.plugin - INFO - running plugin instance with args: '{'parent_registry_insecure': True, 'parent_registry': u'rcm-img-docker01.build.eng.bos.redhat.com:5001'}'
2015-10-27 06:09:45,522 - atomic_reactor.plugins.pull_base_image - INFO - pulling base image 'rhel7:1' from registry 'rcm-img-docker01.build.eng.bos.redhat.com:5001'
2015-10-27 06:09:45,522 - atomic_reactor.core - INFO - pulling image 'rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7:1' from registry
2015-10-27 06:09:45,522 - atomic_reactor.core - DEBUG - image = 'rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7:1', insecure = 'True'
2015-10-27 06:09:50,638 - atomic_reactor.util - INFO - wait_for_command
2015-10-27 06:09:50,639 - atomic_reactor.util - DEBUG - Trying to pull repository rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7 ...
2015-10-27 06:09:50,666 - atomic_reactor.util - ERROR - {"errorDetail":{"message":"Tag 1 not found in repository rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7"},"error":"Tag 1 not found in repository rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7"}

Before, that worked:

2015-10-26 11:40:59,808 - atomic_reactor.plugins.pull_base_image - INFO - pulling base image 'rhel7:latest' from registry 'rcm-img-docker01.build.eng.bos.redhat.com:5001'
2015-10-26 11:40:59,808 - atomic_reactor.core - INFO - pulling image 'rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7:latest' from registry
2015-10-26 11:40:59,808 - atomic_reactor.core - DEBUG - image = 'rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7:latest', insecure = 'True'
2015-10-26 11:40:59,909 - atomic_reactor.util - INFO - wait_for_command
2015-10-26 11:40:59,910 - atomic_reactor.util - DEBUG - Trying to pull repository rcm-img-docker01.build.eng.bos.redhat.com:5001/rhel7 ...

Any hints?

Comment 5 Marek Polacek 2015-10-27 11:29:18 UTC
Strike that, I think I've made a mistake of using ":" instead of "."; oh well.  Trying again...

Comment 6 Marek Polacek 2015-10-27 14:39:58 UTC
All right, I believe fixed now:

$ docker run -ti 35adb1256afe /bin/bash
bash-4.2$ whoami
default
bash-4.2$ pwd
/opt/app-root/src
bash-4.2$ touch foo
bash-4.2$ ls
foo

Comment 8 Miloš Prchlík 2015-11-02 11:14:55 UTC
Verified for docker image devtoolset-4-toolchain-docker-4-5 (devtoolset-4.0-rhel-7-docker-candidate-20151027121210 tag).

Comment 10 errata-xmlrpc 2015-11-16 15:57:31 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/RHEA-2015-2049.html


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