podman: podman-remote exec -i, with stdin redirection, hangs
In window 1:
$ ./bin/podman system service --timeout=0
In window 2:
$ ./bin/podman-remote run -d --name foo alpine sleep 20
60a88de15c87d44872b20f2716cd529de4ca0471527151456049dbc3dfeaa927
$ ./bin/podman-remote exec -i foo cat <<<"hi there"
hi there
<<<--- hangs here (no prompt, no nothing) until container sleep finishes. ^D does nothing.
Without -i there is no hang, but there is no output either.
Regular (non-remote) podman works fine: output is as expected, and the exec returns immediately.
master @ 748e8829d, root & rootless
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 27 (14 by maintainers)
Commits related to this issue
- system tests: enable more remote tests; cleanup info, images, run, networking tests: remove some skip_if_remote()s that were added in the varlink days. All of these tests now seem to work with APIv2.... — committed to edsantiago/libpod by edsantiago 4 years ago
- system tests: enable more remote tests; cleanup info, images, run, networking tests: remove some skip_if_remote()s that were added in the varlink days. All of these tests now seem to work with APIv2.... — committed to edsantiago/libpod by edsantiago 4 years ago
- system tests: enable more remote tests; cleanup info, images, run, networking tests: remove some skip_if_remote()s that were added in the varlink days. All of these tests now seem to work with APIv2.... — committed to edsantiago/libpod by edsantiago 4 years ago
- Perform a one-sided close of HTTP attach conn on EOF On EOF of STDIN, we need to perform a one-sided close of the attach connection on the client side, to ensure that STDIN finishing will also cause ... — committed to mheon/libpod by mheon 3 years ago
- Perform a one-sided close of HTTP attach conn on EOF On EOF of STDIN, we need to perform a one-sided close of the attach connection on the client side, to ensure that STDIN finishing will also cause ... — committed to mheon/libpod by mheon 3 years ago
- Perform a one-sided close of HTTP attach conn on EOF On EOF of STDIN, we need to perform a one-sided close of the attach connection on the client side, to ensure that STDIN finishing will also cause ... — committed to mheon/libpod by mheon 3 years ago
Apparently it was a very simple fix. PR in progress.