Bug 1841485
Summary: | podman exec is fragile in the presence of signals | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Michele Baldessari <michele> | |
Component: | podman | Assignee: | Jindrich Novy <jnovy> | |
Status: | CLOSED ERRATA | QA Contact: | Alex Jia <ajia> | |
Severity: | medium | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 8.2 | CC: | bbaude, dornelas, dwalsh, imcleod, jligon, jnovy, lfriedma, lmiccini, lsm5, mburns, mheon, mvalsecc, rhayakaw, smccarty, tsweeney, ypu | |
Target Milestone: | rc | Keywords: | Reopened, ZStream | |
Target Release: | --- | |||
Hardware: | Unspecified | |||
OS: | Unspecified | |||
Whiteboard: | ||||
Fixed In Version: | podman-2.1.1-4.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1913294 1913295 (view as bug list) | Environment: | ||
Last Closed: | 2021-05-18 15:32:55 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 1186913, 1823899, 1913294, 1913295 |
Description
Michele Baldessari
2020-05-29 09:28:19 UTC
This is already fixed on master via https://github.com/containers/libpod/pull/4692/files Fixed in podman 2.0 which will be released in 8.3 release. Closing as this is fixed in an upcoming release. Assigning to Jindrich so he can handle any packaging needs. Mike Burns - Please confirm that we have agreement from OSP to delay 1841485 until RHEL 8.4, Apr-2021. It is not clear from the recent comments that everyone on OSP has agreed that is OK. I can't find fixed version podman-2.1.1-4 in brew system, please update fixed version if it indeed doesn't exist. I can reproduce this bug on podman-1.6.4-11.module+el8.2.0+6369+1f4293b4 and verify it on podman-2.1.1-5.module+el8.3.1+8448+932c72cf. 1. can reproduce this bug on podman-1.6.4-11.module+el8.2.0+6369+1f4293b4 [root@kvm-06-guest10 ~]# rpm -q podman runc podman-1.6.4-11.module+el8.2.0+6369+1f4293b4.x86_64 runc-1.0.0-64.rc10.module+el8.2.0+6369+1f4293b4.x86_64 [root@kvm-06-guest10 ~]# 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 1c5e2b019aa2e01be333ecfe895164a6f57dbc4a4fab04e1d03120b499201b32 + podman run --name myctr2 -td quay.io/libpod/alpine 74ee0ea7f6de64ca0dc53b674fe1ac033fed7ea1501fed833de36d61a143c096 + timeout 5 podman exec myctr1 sleep 10 + podman kill myctr1 1c5e2b019aa2e01be333ecfe895164a6f57dbc4a4fab04e1d03120b499201b32 + grep Exec -A3 + podman inspect myctr1 "ExecIDs": [ "dcdbd910bf7563bd1f931c994aa519a3e0d3dd8e21dcd8c9be388f46dc254953" ], "GraphDriver": { + podman rm myctr1 Error: cannot remove container 1c5e2b019aa2e01be333ecfe895164a6f57dbc4a4fab04e1d03120b499201b32 as it has active exec sessions: container state improper + timeout 5 podman exec myctr2 sleep 10 + podman stop myctr2 74ee0ea7f6de64ca0dc53b674fe1ac033fed7ea1501fed833de36d61a143c096 + podman inspect myctr2 + grep Exec -A3 "ExecIDs": [ "9f7d3657dd03e858396e2ff74edab32c6d243b0b6ec8340492e867768a5063e2" ], "GraphDriver": { + podman rm myctr2 Error: cannot remove container 74ee0ea7f6de64ca0dc53b674fe1ac033fed7ea1501fed833de36d61a143c096 as it has active exec sessions: container state improper 2. and verify this bug on podman-2.1.1-5.module+el8.3.1+8448+932c72cf [root@kvm-06-guest10 ~]# rpm -q podman runc podman-2.1.1-5.module+el8.3.1+8448+932c72cf.x86_64 runc-1.0.0-68.rc92.module+el8.3.1+8448+932c72cf.x86_64 [root@kvm-06-guest10 ~]# 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 0d4dd3f61276db9132214a854a2c50616b899c67f94147bf683afa2bee9bb98f + podman run --name myctr2 -td quay.io/libpod/alpine c76f12ffd6a07f190f1f4389bd41b5905d4be1d70e2abb8f1a993a1252f21f25 + timeout 5 podman exec myctr1 sleep 10 + podman kill myctr1 0d4dd3f61276db9132214a854a2c50616b899c67f94147bf683afa2bee9bb98f + grep Exec -A3 + podman inspect myctr1 "ExecIDs": [ "0c2c8116c20ea5ef90ebddbd3caff3c8e4648c28dab8357fd65fdd2e463d74e4" ], "GraphDriver": { + podman rm myctr1 0d4dd3f61276db9132214a854a2c50616b899c67f94147bf683afa2bee9bb98f + timeout 5 podman exec myctr2 sleep 10 + podman stop myctr2 c76f12ffd6a07f190f1f4389bd41b5905d4be1d70e2abb8f1a993a1252f21f25 + podman inspect myctr2 + grep Exec -A3 "ExecIDs": [ "8594724a29d5ef1e4d93ec3c8c5824ab003b0ae20ea2e5afeaa437b8863fde35" ], "GraphDriver": { + podman rm myctr2 c76f12ffd6a07f190f1f4389bd41b5905d4be1d70e2abb8f1a993a1252f21f25 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 (Moderate: 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/RHSA-2021:1796 |