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 2125647 - podman kill may deadlock [rhel-8.7.0.z]
Summary: podman kill may deadlock [rhel-8.7.0.z]
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: 8.7
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Alex Jia
URL:
Whiteboard:
Depends On: 2122599
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-09-09 14:09 UTC by RHEL Program Management Team
Modified: 2022-11-08 13:01 UTC (History)
11 users (show)

Fixed In Version: podman-4.2.0-2.el8_7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2122599
Environment:
Last Closed: 2022-11-08 11:30:44 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github containers podman pull 15745 0 None Merged [v4.2.0-rhel] libpod: UpdateContainerStatus: do not wait for container 2022-10-13 07:21:27 UTC
Red Hat Issue Tracker RHELPLAN-133676 0 None None None 2022-09-09 14:15:26 UTC
Red Hat Product Errata RHSA-2022:7822 0 None None None 2022-11-08 11:31:28 UTC

Comment 4 Alex Jia 2022-10-19 13:37:07 UTC
There is no deadlock fund until no space left on device, so this bug has been verified
on podman-4.2.0-2.module+el8.7.0+16894+3f997fa3.

[root@test-8-7-0-bz2130236 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.7 (Ootpa)

[root@test-8-7-0-bz2130236 ~]# rpm -q podman runc systemd kernel
podman-4.2.0-2.module+el8.7.0+16894+3f997fa3.x86_64
runc-1.1.4-1.module+el8.7.0+16894+3f997fa3.x86_64
systemd-239-68.el8.x86_64
kernel-4.18.0-425.3.1.el8.x86_64

[root@test-8-7-0-bz2130236 ~]# cat test.sh 
#!/bin/bash

set -o errexit

podman rm -f -i label-for-kill 

while true; do
	podman info > /dev/null
	podman run --rm --init --name label-for-kill registry.redhat.io/rhel8/nginx-120 &
	sleep 6
	echo send kill for `pgrep -f label-for-kill`
	kill `pgrep -f label-for-kill`
	sleep 3
done

[root@test-8-7-0-bz2130236 ~]# ./test.sh 
Trying to pull registry.redhat.io/rhel8/nginx-120:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob bb26f5eeda03 [====================>-----------------] 34.7MiB / 61.4MiB
Copying blob bb26f5eeda03 [=====================>----------------] 35.3MiB / 61.4MiB
Copying blob 7985264c26f7 [================================>-----] 65.5MiB / 75.7MiB
Copying blob 0689084f485b done  
Copying blob 90c453b00547 done  
Trying to pull registry.redhat.io/rhel8/nginx-120:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob bb26f5eeda03 [=======================>--------------] 38.6MiB / 61.4MiB
Copying blob bb26f5eeda03 [==========================>-----------] 42.8MiB / 61.4MiB
Copying blob 7985264c26f7 done  
Copying blob 0689084f485b done  
Copying blob 90c453b00547 done  
WARN[0000] Found incomplete layer "db1385a464bbd6ed45b4ca308807b8494c2d5a0239057840d1d5f96a61aef5ea", deleting it 
XXX
Trying to pull registry.redhat.io/rhel8/nginx-120:latest...
send kill for 30325
Trying to pull registry.redhat.io/rhel8/nginx-120:latest...
send kill for 30352
Trying to pull registry.redhat.io/rhel8/nginx-120:latest...
Getting image source signatures
Checking if image destination supports signatures
Copying blob bb26f5eeda03 [============>-------------------------] 21.7MiB / 61.4MiB
Copying blob 7985264c26f7 [=========================>------------] 52.5MiB / 75.7MiB
Copying blob 0689084f485b done  
Copying blob 90c453b00547 done  
Error: copying system image from manifest list: writing blob: storing blob to file "/var/tmp/storage3032260733/1": write /var/tmp/storage3032260733/1: no space left on device
send kill for
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]

Comment 8 errata-xmlrpc 2022-11-08 11:30: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 (Low: 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-2022:7822


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