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 2158635 - podman rm leaves running container behind [rhel-8.7.0.z]
Summary: podman rm leaves running container behind [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
urgent
high
Target Milestone: rc
: ---
Assignee: Jindrich Novy
QA Contact: Alex Jia
URL:
Whiteboard:
Depends On: 2155828
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-05 22:14 UTC by RHEL Program Management Team
Modified: 2023-02-21 09:32 UTC (History)
14 users (show)

Fixed In Version: podman-4.2.0-8.el8_7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 2155828
Environment:
Last Closed: 2023-02-21 09:31:37 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github containers podman pull 17052 0 None open [v4.2.0-rhel] podman: podman rm -f doesn't leave processes 2023-01-10 14:08:20 UTC
Red Hat Issue Tracker RHELPLAN-144067 0 None None None 2023-01-05 22:31:30 UTC
Red Hat Product Errata RHBA-2023:0849 0 None None None 2023-02-21 09:31:42 UTC

Comment 2 Tom Sweeney 2023-01-09 19:33:41 UTC
Assigning to Giuseppe so that we can get the additional fix for https://bugzilla.redhat.com/show_bug.cgi?id=2155828 backported into the Podman v4.2-rhel branch

Comment 4 Alex Jia 2023-01-30 09:48:42 UTC
I can reproduce this bug on podman-4.2.0-6.module+el8.7.0+17498+a7f63b89
and verified it on podman-4.2.0-8.module+el8.7.0+17824+66a0202b.

[root@kvm-01-guest28 ~]# rpm -q podman runc systemd kernel
podman-4.2.0-8.module+el8.7.0+17824+66a0202b.x86_64
runc-1.1.4-1.module+el8.7.0+17498+a7f63b89.x86_64
systemd-239-68.el8_7.2.x86_64
kernel-4.18.0-425.12.1.el8_7.x86_64

[root@kvm-01-guest28 ~]# podman run -d --name test_remove --health-cmd /bin/false --health-interval 5s --health-retries 1 --health-time
out 1s --health-on-failure=stop --health-start-period 5s --stop-signal SIGTERM ubi8 sleep infinity; sleep 8;(ps -ef|grep sleep); podman
 rm test_remove --force
085bcd776ad689e70303a6838dd4d009e387d5658a524b211fc18f8be090280b
root       29582   29573  0 04:43 ?        00:00:00 /usr/bin/coreutils --coreutils-prog-shebang=sleep /usr/bin/sleep infinity
root       29652   11808  0 04:43 ?        00:00:00 sleep 5
root       29655   29653  0 04:43 pts/0    00:00:00 grep --color=auto sleep
085bcd776ad689e70303a6838dd4d009e387d5658a524b211fc18f8be090280b
[root@kvm-01-guest28 ~]# podman ps -a
CONTAINER ID  IMAGE       COMMAND     CREATED     STATUS      PORTS       NAMES
[root@kvm-01-guest28 ~]# ps -fww 29582
UID          PID    PPID  C STIME TTY      STAT   TIME CMD

Comment 10 Alex Jia 2023-02-08 13:33:41 UTC
Closing this bug as verified per Comment 4.

Comment 14 errata-xmlrpc 2023-02-21 09:31:37 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:rhel8 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/RHBA-2023:0849


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