Bug 1536129
Summary: | rh-python36 base image violates the certified container rpm_verify_successful test | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Software Collections | Reporter: | Paul Christensen <pchriste> | ||||
Component: | rh-python36-container | Assignee: | Tomas Orsava <torsava> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | BaseOS QE - Apps <qe-baseos-apps> | ||||
Severity: | medium | Docs Contact: | Lenka Špačková <lkuprova> | ||||
Priority: | high | ||||||
Version: | rh-python36 | CC: | bcook, cstratak, hhorak, jorton, mcyprian, pchriste, python-maint, torsava | ||||
Target Milestone: | alpha | ||||||
Target Release: | 3.1 | ||||||
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: | 2018-04-12 09:26:34 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: | |||||||
Attachments: |
|
Description
Paul Christensen
2018-01-18 16:48:15 UTC
I am looking into this, I still don't know what might be the origin of the issue. An virtual environment is created under APP_ROOT (/opt/app-root/), so /opt/app-root/lib64/python3.6/codecs.py is a symlink to /opt/rh/rh-python36/root/usr/lib64/python3.6/codecs.py. fix-permissions script [0] is executed during docker build and it applies chmod to symlinked python libraries under APP_ROOT. This is the reason why are permissions of scl files changed. [0] https://github.com/sclorg/s2i-base-container/blob/master/core/root/usr/bin/fix-permissions Fixes were pushed to GitHub repositories: - base-container https://github.com/sclorg/s2i-base-container/pull/154 - python-container https://github.com/sclorg/s2i-python-container/pull/245#issuecomment-364867925 rh-python36 component (and other versions) should have the right permission values after next rebuild. There are no files from rh-python36-python-* in output of rpm -Va command in the current images. Closing this. |