Bug 1913294

Summary: podman exec is fragile in the presence of signals [rhel-8.3.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: podmanAssignee: Jindrich Novy <jnovy>
Status: CLOSED ERRATA QA Contact: Alex Jia <ajia>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 8.2CC: ajia, bbaude, dornelas, dwalsh, imcleod, jligon, jnovy, lfriedma, lmiccini, lsm5, mburns, mheon, mvalsecc, pthomas, rhayakaw, smccarty, tsweeney, umohnani, ypu
Target Milestone: rcKeywords: Reopened, Triaged, ZStream
Target Release: 8.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: podman-1.6.4-24.el8_3 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1841485 Environment:
Last Closed: 2021-02-16 14:30:28 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: 1841485    
Bug Blocks:    

Comment 10 Alex Jia 2021-01-20 16:24:27 UTC
Verified on podman-1.6.4-24.module+el8.3.0+9348+d780f094.x86_64.

[root@kvm-06-guest24 ~]# rpm -q podman runc
podman-1.6.4-24.module+el8.3.0+9348+d780f094.x86_64
runc-1.0.0-64.rc10.module+el8.3.0+9348+d780f094.x86_64

[root@kvm-06-guest24 ~]# sh -x run.sh
+ IMAGE=quay.io/libpod/alpine
+ podman run --name myctr1 -td quay.io/libpod/alpine
Trying to pull quay.io/libpod/alpine...
Getting image source signatures
Copying blob 9d16cba9fb96 done
Copying config 9617696764 done
Writing manifest to image destination
Storing signatures
865b070c451d05ff84b687b034c88816d00f0fe9004e8a1fdc6fef51a2247e41
+ podman run --name myctr2 -td quay.io/libpod/alpine
42773677ee04297952566331e2e4790561149e12cc5a6f0ea9467846966fc184
+ timeout 5 podman exec myctr1 sleep 10
+ podman kill myctr1
865b070c451d05ff84b687b034c88816d00f0fe9004e8a1fdc6fef51a2247e41
+ podman inspect myctr1
+ grep Exec -A3
        "ExecIDs": [
            "ab49f1bb1d170f24f4993b353761bba581424115b1d2b4d7b8b4d8db663cc2c9"
        ],
        "GraphDriver": {
+ podman rm myctr1
865b070c451d05ff84b687b034c88816d00f0fe9004e8a1fdc6fef51a2247e41
+ timeout 5 podman exec myctr2 sleep 10
+ podman stop myctr2
42773677ee04297952566331e2e4790561149e12cc5a6f0ea9467846966fc184
+ podman inspect myctr2
+ grep Exec -A3
        "ExecIDs": [],
        "GraphDriver": {
            "Name": "overlay",
            "Data": {
+ podman rm myctr2
42773677ee04297952566331e2e4790561149e12cc5a6f0ea9467846966fc184

Comment 14 errata-xmlrpc 2021-02-16 14:30:28 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:2.0 bug fix 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-2021:0546