Matt Heon
8f1e58d9f8
[v4.4.1-rhel] Ensure that containers do not get stuck in stopping
...
The scenario for inducing this is as follows:
1. Start a container with a long stop timeout and a PID1 that
ignores SIGTERM
2. Use `podman stop` to stop that container
3. Simultaneously, in another terminal, kill -9 `pidof podman`
(the container is now in ContainerStateStopping)
4. Now kill that container's Conmon with SIGKILL.
5. No commands are able to move the container from Stopping to
Stopped now.
The cause is a logic bug in our exit-file handling logic. Conmon
being dead without an exit file causes no change to the state.
Add handling for this case that tries to clean up, including
stopping the container if it still seems to be running.
Fixes #19629
Addresses: https://issues.redhat.com/browse/ACCELFIX-250
Signed-off-by: Matt Heon <mheon@redhat.com>
Signed-off-by: tomsweeneyredhat <tsweeney@redhat.com>
2024-06-24 18:37:06 -04:00
..
2023-01-11 14:38:51 -05:00
2022-01-18 12:47:07 +01:00
2023-01-27 19:27:02 +00:00
2017-11-01 11:24:59 -04:00
2022-03-18 09:11:53 +01:00
2022-12-01 16:05:13 +01:00
2022-12-15 13:39:56 +01:00
2022-10-17 09:19:41 +02:00
2022-07-05 16:06:32 +02:00
2023-01-27 09:14:12 +00:00
2022-08-23 15:31:00 +01:00
2023-01-27 09:14:12 +00:00
2022-01-18 12:47:07 +01:00
2023-01-27 09:14:12 +00:00
2023-01-16 16:28:11 +01:00
2022-12-16 14:20:14 +01:00
2022-09-20 08:36:23 +01:00
2022-09-20 08:36:23 +01:00
2022-09-20 08:36:23 +01:00
2022-09-20 08:36:23 +01:00
2022-09-20 15:34:27 -04:00
2022-12-16 18:30:12 +01:00
2022-01-18 12:47:07 +01:00
2022-09-14 13:44:48 -04:00
2022-09-15 08:10:34 +01:00
2023-01-24 12:18:39 -05:00
2023-01-03 13:21:24 -05:00
2023-06-12 13:31:39 -04:00
2022-12-16 18:30:12 +01:00
2022-05-05 21:09:41 +08:00
2022-12-16 18:30:12 +01:00
2023-04-13 08:44:36 -04:00
2022-09-05 10:12:12 +01:00
2024-06-24 18:37:06 -04:00
2022-12-16 18:30:12 +01:00
2023-01-27 19:27:02 +00:00
2022-07-05 16:06:32 +02:00
2023-01-06 15:19:23 +01:00
2022-09-14 17:09:04 +02:00
2022-10-17 09:19:41 +02:00
2022-09-20 08:36:23 +01:00
2022-09-20 08:36:23 +01:00
2022-09-20 08:36:23 +01:00
2022-09-20 08:36:23 +01:00
2022-10-17 16:43:53 +01:00
2022-09-10 07:52:00 -04:00
2022-10-17 16:43:53 +01:00
2022-08-23 15:31:00 +01:00
2022-12-16 14:20:14 +01:00
2023-01-03 13:21:24 -05:00
2022-07-05 16:06:32 +02:00
2022-03-23 19:05:29 +01:00
2022-11-29 10:40:24 +01:00
2022-12-08 15:01:57 +01:00
2022-12-05 20:58:30 +01:00
2022-12-02 16:41:21 +00:00
2023-03-21 09:18:42 +01:00
2022-09-10 07:52:00 -04:00
2022-09-10 07:52:00 -04:00
2022-11-13 10:56:15 +00:00
2022-08-24 10:55:52 +01:00
2022-12-05 18:09:21 +01:00
2023-01-27 19:48:26 +00:00
2022-03-18 09:11:53 +01:00
2023-01-22 12:48:49 +05:30
2022-12-16 18:30:12 +01:00
2022-04-25 13:23:20 +02:00
2023-01-27 09:14:12 +00:00
2022-09-20 15:34:27 -04:00
2022-12-16 18:30:12 +01:00
2022-12-16 18:30:12 +01:00
2022-12-16 14:20:14 +01:00
2022-10-17 09:19:41 +02:00
2022-08-18 08:07:30 +01:00
2022-08-18 08:05:42 +01:00
2023-01-19 12:31:37 +01:00
2022-09-20 15:34:27 -04:00
2022-09-07 07:58:37 +01:00
2022-09-07 07:58:37 +01:00
2022-08-29 13:04:04 +01:00
2024-02-02 09:25:17 -05:00
2022-08-18 08:07:30 +01:00
2020-06-25 17:16:12 +02:00
2022-09-01 13:02:01 -04:00
2022-07-05 16:06:32 +02:00
2022-10-17 09:19:41 +02:00
2023-01-12 18:33:38 -05:00
2022-12-15 20:19:53 -05:00
2022-10-07 08:26:10 +01:00
2022-10-07 08:26:10 +01:00
2022-12-15 13:39:56 +01:00
2022-01-18 12:47:07 +01:00
2022-05-25 12:30:19 +02:00
2022-08-17 11:45:07 +01:00
2022-07-21 14:50:01 -04:00
2022-12-01 16:05:13 +01:00
2022-09-22 13:07:40 -04:00
2022-09-05 10:20:50 +01:00
2022-09-05 10:20:50 +01:00
2024-03-15 16:13:29 -04:00
2023-01-27 09:14:12 +00:00
2022-08-17 11:45:07 +01:00
2023-01-27 09:14:12 +00:00
2022-10-07 08:27:27 +01:00
2022-10-07 08:27:27 +01:00
2024-02-02 09:26:40 -05:00
2022-10-07 08:27:27 +01:00
2022-07-04 15:39:00 +02:00
2023-01-27 09:14:12 +00:00
2022-09-01 10:27:04 +01:00
2023-06-12 13:31:39 -04:00
2022-09-27 16:31:40 +01:00
2022-07-04 15:39:00 +02:00
2022-05-25 10:17:46 +02:00
2023-01-27 09:14:12 +00:00
2023-01-12 14:09:23 +01:00
2023-01-27 09:14:12 +00:00
2023-01-27 09:14:12 +00:00
2022-09-14 08:29:26 +01:00
2022-11-28 12:26:41 +01:00
2022-11-28 12:26:41 +01:00
2022-09-14 08:29:26 +01:00
2022-07-05 16:06:32 +02:00
2022-10-07 08:27:27 +01:00
2020-09-13 23:24:15 -04:00
2022-09-10 07:52:00 -04:00
2022-01-18 12:47:07 +01:00
2022-09-27 16:31:40 +01:00
2022-12-15 23:18:50 +01:00
2022-09-22 13:07:40 -04:00
2022-09-27 16:31:40 +01:00
2022-09-27 16:31:40 +01:00
2022-09-27 16:31:40 +01:00
2022-09-27 16:31:40 +01:00
2022-09-22 13:07:40 -04:00
2023-06-12 13:31:39 -04:00