Bug 1913295

Summary: podman exec is fragile in the presence of signals [rhel-8.2.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, marjones, 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-17.el8_2 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1841485 Environment:
Last Closed: 2021-01-26 11:13:57 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 8 Alex Jia 2021-01-18 03:35:30 UTC
Verified on podman-1.6.4-17.module+el8.2.0+9347+d4fa9cbb.x86_64
w/ runc-1.0.0-64.rc10.module+el8.2.0+9347+d4fa9cbb.x86_64.

# 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
f52306261fbe06236ba966baba3c0df26a0a2f89627270207c0b4c4f4ef80e64
+ podman run --name myctr2 -td quay.io/libpod/alpine
3ee90be4e0d0ad7951d0686a2269b3cf83391e78d3a300e4f6562a0c992de39b
+ timeout 5 podman exec myctr1 sleep 10
+ podman kill myctr1
f52306261fbe06236ba966baba3c0df26a0a2f89627270207c0b4c4f4ef80e64
+ grep Exec -A3
+ podman inspect myctr1
        "ExecIDs": [
            "82cb031f7804bc8e70a73a9b2ccbb24dcf5fec5d3fc24fa8262d89027b2466fd"
        ],
        "GraphDriver": {
+ podman rm myctr1
f52306261fbe06236ba966baba3c0df26a0a2f89627270207c0b4c4f4ef80e64
+ timeout 5 podman exec myctr2 sleep 10
+ podman stop myctr2
3ee90be4e0d0ad7951d0686a2269b3cf83391e78d3a300e4f6562a0c992de39b
+ grep Exec -A3
+ podman inspect myctr2
        "ExecIDs": [],
        "GraphDriver": {
            "Name": "overlay",
            "Data": {
+ podman rm myctr2
3ee90be4e0d0ad7951d0686a2269b3cf83391e78d3a300e4f6562a0c992de39b

Comment 12 errata-xmlrpc 2021-01-26 11:13:57 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:0269