Files
podman/pkg
Paul Holzinger 9e2e7f2a77 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-02-03 01:50:55 +00:00
..
2024-08-30 16:13:54 +02:00
2022-12-15 13:39:56 +01:00
2024-10-21 17:37:20 +01:00
2024-02-08 09:35:39 -05:00
2024-09-03 15:14:15 +02:00
2024-09-03 15:14:15 +02:00
2024-02-08 09:35:39 -05:00
2024-02-08 09:35:39 -05:00
2025-01-21 12:47:30 -06:00
2024-02-08 09:35:39 -05:00