Paul Holzinger
f0ef791808
podman exec: correctly support detaching
...
podman exec support detaching early via the detach key sequence. In that
case the podman process should exit successfully but the container exec
process keeps running.
Now I wrote automated test for both podman run and exec detach but this
uncovered several larger issues:
- detach sequence parsing is broken[1]
- podman-remote exec detach is broken[2]
- detach in general seems to be buggy/racy, seeing lot of flakes that
fail to restore the terminal and get an EIO instead, i.e.
"Unable to restore terminal: input/output error"
Thus I cannot add tests for now but this commit should at least fix the
obvoius case as reported by the user so I like to get this in regardless
and I will work through the other issues once I have more time.
Fixes #24895
[1] https://github.com/containers/common/pull/2302
[2] https://github.com/containers/podman/issues/25089
Signed-off-by: Paul Holzinger <pholzing@redhat.com >
2025-01-31 13:29:04 +01:00
..
2025-01-15 06:51:32 -05:00
2024-02-08 09:35:39 -05:00
2025-01-07 15:48:53 +01:00
2024-01-04 11:53:38 +02:00
2024-08-12 11:38:02 -04:00
2024-09-03 15:14:15 +02:00
2024-04-19 09:52:14 +02:00
2024-11-27 08:09:50 -05:00
2024-07-11 09:39:56 -04:00
2024-04-19 09:52:14 +02:00
2024-02-08 09:35:39 -05:00
2024-11-19 19:44:14 +01:00
2024-11-28 14:01:45 +03:00
2025-01-20 13:43:51 -05:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2025-01-31 13:29:04 +01:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-09-02 11:21:35 +01:00
2024-10-01 12:52:18 -07:00
2025-01-15 06:51:32 -05:00
2025-01-15 06:51:32 -05:00
2025-01-15 06:51:32 -05:00
2024-01-04 11:53:38 +02:00
2025-01-15 06:51:32 -05:00
2025-01-15 07:08:27 -05:00
2025-01-29 13:34:26 +01:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-11-01 18:53:08 +01:00
2024-01-04 11:53:38 +02:00
2024-11-27 08:09:50 -05:00
2024-11-27 08:09:50 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-06-27 10:50:17 +02:00
2024-08-19 11:41:28 +02:00
2024-01-04 11:53:38 +02:00
2024-10-01 07:54:52 -04:00
2025-01-06 07:09:12 -07:00
2024-02-08 09:35:39 -05:00
2022-03-23 19:05:29 +01:00
2024-11-06 18:33:18 +00:00
2024-11-19 19:44:14 +01:00
2024-10-25 15:27:05 +02:00
2024-06-04 18:03:46 +02:00
2024-06-04 18:03:46 +02:00
2024-11-19 19:44:14 +01:00
2024-02-08 09:35:39 -05:00
2024-04-10 11:55:35 +02:00
2024-02-08 09:35:39 -05:00
2024-12-03 14:15:08 +00:00
2024-12-18 09:07:57 -05:00
2024-01-04 11:53:38 +02:00
2025-01-20 15:55:26 +01:00
2024-03-19 12:09:31 +01:00
2024-09-03 15:14:15 +02:00
2024-09-20 15:19:22 +02:00
2024-01-04 11:53:38 +02:00
2024-10-30 13:35:56 +01:00
2024-02-08 09:35:39 -05:00
2024-07-12 15:11:34 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-10-04 16:17:04 +02:00
2024-02-12 09:13:39 -05:00
2024-02-02 11:02:43 -05:00
2024-02-02 11:02:43 -05:00
2024-06-21 18:01:26 +02:00
2024-06-21 18:01:26 +02:00
2024-01-04 11:53:38 +02:00
2024-08-16 15:34:16 +02:00
2024-07-30 14:39:08 +02:00
2024-08-16 15:34:16 +02:00
2025-01-15 06:51:32 -05:00
2025-01-15 06:51:32 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-07-22 10:30:42 +02:00
2024-05-29 11:10:55 +02:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-09-27 15:15:23 +02:00
2024-04-05 10:07:42 -04:00
2024-11-18 12:41:47 +01:00
2024-04-05 10:07:42 -04:00
2024-02-08 09:35:39 -05:00
2024-01-12 09:19:34 -05:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-04-23 11:16:40 +02:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-10-22 08:49:56 -04:00
2024-08-15 11:07:27 +02:00
2024-07-09 11:15:29 +02:00
2025-01-27 14:21:27 +01:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-08-27 13:38:40 -04:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-02-08 09:35:39 -05:00
2024-04-13 15:20:19 +08:00
2024-10-29 11:16:57 +01:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-09-04 05:30:35 +00:00
2025-01-31 13:29:04 +01:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2024-01-04 11:53:38 +02:00
2024-01-04 11:53:38 +02:00
2024-05-22 17:47:01 -04:00
2024-05-22 17:47:01 -04:00