Bug 1767663
Summary: | Regression: rootless: podman run --rm hangs | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Ed Santiago <santiago> | ||||
Component: | podman | Assignee: | Giuseppe Scrivano <gscrivan> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Yuhui Jiang <yujiang> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 8.2 | CC: | bbaude, ddarrah, dwalsh, gscrivan, jligon, jnovy, lsm5, mheon, pehunt, pthomas, tsweeney, weshen, ypu, yujiang | ||||
Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||
Target Release: | 8.0 | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2021-04-14 19:44:05 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: | |||||||
Attachments: |
|
Description
Ed Santiago
2019-10-31 23:23:17 UTC
These hangs almost always are something to do with conmon interaction or a leaked Notify-socket? I think it is solved by https://github.com/containers/conmon/commit/067c0a5ca47aa261e99521b32d6c74a8588b918c To be sure it is the same issue, Ed could you try the reproducer specified in the commit message above (podman --runtime /bin/false run --rm alpine true)? > Ed could you try the reproducer specified in the commit message above
With `--runtime /bin/false`, the above command hangs both as root and rootless. ^C behavior is different: it just shows ^C, without the 'Error forwarding signal'.
Unfortunately I don't have a rhel8 build environment and can't easily build a patched conmon to test with.
Thank you for recognizing this and for the pointer.
Created attachment 1633253 [details]
conmon-002da2522941fde456f5213c8a5a96c9836c2592
I've attached a binary build of conmon based on 002da2522941fde456f5213c8a5a96c9836c2592
Could you verify if it solves the issue you are seeing?
Giuseppe, that build gives me: $ podman run --rm alpine sh -c true Error: could not get runtime: please update to v1.0.0 or later: outdated conmon version I tried copying it into /usr/libexec/podman/conmon and also /usr/bin/conmon; both with 'conmon' package installed and uninstalled. SELinux file context is correct. I will leave my virt running for a little while so I can retest more quickly. I cannot reproduce the hang with podman-1.6.2-5.module+el8.2.0+4584+0d586e68 (all other rpms being equal). I cannot explain this. (Oh, and followup to comment 6: that was PEBKAC: I had not chmod'ed the new conmon. Still, that conmon did not fix the hang). The hang is back in podman-1.6.2-6.module+el8.2.0+4602+797a8543 : https://baseos-jenkins.rhev-ci-vms.eng.rdu2.redhat.com/job/ci-openstack-mbs-sti/858/artifact/work-tests.ymlWadWBJ/tests-emJR3l/test.podman-nonroot.bats.log I think the new hang is fixed with https://github.com/containers/libpod/pull/4461 Can we try a build with that fix included? |