Bug 2152027
Summary: | podman: ubi8 sticky bit removed from /tmp [rhel-8.7.0.z] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | RHEL Program Management Team <pgm-rhel-tools> |
Component: | podman | Assignee: | Jindrich Novy <jnovy> |
Status: | CLOSED ERRATA | QA Contact: | Joy Pu <ypu> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 8.6 | CC: | alex.wayfer, bbaude, dornelas, dwalsh, fryguy9, jligon, jnovy, jwboyer, lfriedma, lsm5, mbasti, mboddu, mheon, nalin, pthomas, tsweeney, umohnani, yorgos.saslis, ypu |
Target Milestone: | rc | Keywords: | Triaged, ZStream |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | podman-4.2.0-6.el8_7 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | 2138434 | Environment: | |
Last Closed: | 2023-01-12 09:24:07 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2138434 | ||
Bug Blocks: |
Comment 2
Tom Sweeney
2022-12-09 22:21:26 UTC
Test with podman-4.2.0-6.module+el8.7.0+17498+a7f63b89.x86_64, the t flag is still exist after build, so it fit the request of the bug. [root@ibm-x3650m4-02-vm-05 test]# podman build -t test . STEP 1/23: FROM scratch STEP 2/23: ADD rhel-base-fs-container-8.6-2480.x86_64.tar.gz / --> d2bb304d262 STEP 3/23: ADD tls-ca-bundle.pem /tmp/tls-ca-bundle.pem --> a1a18d2e2d7 STEP 4/23: ADD atomic-reactor-repos/* /etc/yum.repos.d/ --> 2026ec4f0d6 STEP 5/23: LABEL maintainer="Red Hat, Inc." --> f986ee0fe25 STEP 6/23: LABEL com.redhat.component="ubi8-container" name="ubi8" version="8.6" --> 70a8c4285a5 STEP 7/23: LABEL com.redhat.license_terms="https://www.redhat.com/en/about/red-hat-end-user-license-agreements#UBI" --> b9010f34e89 STEP 8/23: LABEL summary="Provides the latest release of Red Hat Universal Base Image 8." --> 869861546a2 STEP 9/23: LABEL description="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." --> 4a48bb2ffbb STEP 10/23: LABEL io.k8s.display-name="Red Hat Universal Base Image 8" --> 22a017ae426 STEP 11/23: LABEL io.openshift.expose-services="" --> bdadcd6ed84 STEP 12/23: LABEL io.openshift.tags="base rhel8" --> 3662aff515c STEP 13/23: ENV container oci --> 7b87d10576f STEP 14/23: ENV PATH /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin --> 7b49f792f58 STEP 15/23: CMD ["/bin/bash"] --> 43b3498bdbd STEP 16/23: RUN rm -rf /var/log/* --> 61ea8d5cf32 STEP 17/23: RUN mkdir -p /var/log/rhsm --> 9ddd9734a2a STEP 18/23: LABEL release=1054 --> 7d5956b534a STEP 19/23: ADD ubi8-container-8.6-1054.json /root/buildinfo/content_manifests/ubi8-container-8.6-1054.json --> 7d07c47ee99 STEP 20/23: ADD Dockerfile-ubi8-8.6-1054 /root/buildinfo/Dockerfile-ubi8-8.6-1054 --> 1a6c074b098 STEP 21/23: LABEL "distribution-scope"="public" "vendor"="Red Hat, Inc." "build-date"="2022-12-19T02:04:53" "architecture"="x86_64" "vcs-type"="git" "vcs-ref"="f1ee6e37554363ec55e0035aba1a693d3627fdeb" "io.k8s.description"="The Universal Base Image is designed and engineered to be the base layer for all of your containerized applications, middleware and utilities. This base image is freely redistributable, but Red Hat only supports Red Hat technologies through subscriptions for Red Hat products. This image is maintained by Red Hat and updated regularly." "url"="https://access.redhat.com/containers/#/registry.access.redhat.com/ubi8/images/8.6-1054" --> 54608cabf99 STEP 22/23: RUN rm -f '/etc/yum.repos.d/beaker-AppStream.repo' --> ee6250a2da7 STEP 23/23: RUN rm -f /tmp/tls-ca-bundle.pem COMMIT test --> 0762c39e3c7 Successfully tagged localhost/test:latest 0762c39e3c77ba1b0090f6d28acba4827a0956da5e37bdb994e9505c9dc3ccc2 [root@ibm-x3650m4-02-vm-05 test]# podman run test ls -ld /tmp/ drwxrwxrwt. 1 root root 31 Dec 19 06:58 /tmp/ 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 (container-tools:rhel8 bug fix and enhancement update), 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://access.redhat.com/errata/RHBA-2023:0115 |