RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2030032 - [RFE] Backport GH#12294 PR to Podman - secret: honor custom target= for secrets with type=mount [rhel-8.5.0.z]
Summary: [RFE] Backport GH#12294 PR to Podman - secret: honor custom target= for secre...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: 8.5
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Alex Jia
URL:
Whiteboard:
Depends On: 2025336
Blocks: 1934612
TreeView+ depends on / blocked
 
Reported: 2021-12-07 20:10 UTC by RHEL Program Management Team
Modified: 2022-04-26 23:17 UTC (History)
14 users (show)

Fixed In Version: podman-3.4.2-7.el8
Doc Type: Enhancement
Doc Text:
Clone Of: 2025336
Environment:
Last Closed: 2022-02-01 21:15:44 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-105041 0 None None None 2021-12-07 20:11:07 UTC
Red Hat Product Errata RHEA-2022:0352 0 None None None 2022-02-01 21:15:48 UTC

Comment 1 Jindrich Novy 2022-01-06 09:22:49 UTC
Can we get qa ack?

Comment 5 Alex Jia 2022-01-13 11:44:43 UTC
This bug has been verified on podman-3.4.2-7.module+el8.5.0+13754+8c69af67.

[root@ibm-x3650m4-01-vm-01 ~]# rpm -q podman runc systemd kernel
podman-3.4.2-7.module+el8.5.0+13754+8c69af67.x86_64
runc-1.0.3-1.module+el8.5.0+13754+8c69af67.x86_64
systemd-239-51.el8.x86_64
kernel-4.18.0-326.el8.kpq1.x86_64

[root@ibm-x3650m4-01-vm-01 ~]# podman secret ls
ID                         NAME        DRIVER      CREATED        UPDATED
cd5995d12cb4857de3e5800ef  token       file        2 seconds ago  2 seconds ago
[root@ibm-x3650m4-01-vm-01 ~]# podman run -it --secret token,type=env,target=TOKEN ubi8/ubi:latest
Resolved "ubi8/ubi" as an alias (/etc/containers/registries.conf.d/001-rhel-shortnames.conf)
Trying to pull registry.access.redhat.com/ubi8/ubi:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob 26f1167feaf7 done
Copying blob adffa6963146 done
Copying config fca12da1dc done
Writing manifest to image destination
Storing signatures
[root@f024a3b17907 /]# pwd
/
[root@f024a3b17907 /]# exit
exit
[root@ibm-x3650m4-01-vm-01 ~]# podman run -it --secret token,type=env,target=TOKEN ubi8/ubi:latest bash
[root@5fba9ca4e626 /]# pwd
/
[root@5fba9ca4e626 /]# exit
exit

Comment 9 errata-xmlrpc 2022-02-01 21:15:44 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 (container-tools:rhel8 security, 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/RHEA-2022:0352


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