-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Blocked keyboard input after entering a container #4397
Comments
Can you also reproduce this problem with @haircommander PTAL - could this be the way we handle sync for |
I could not reproduce with run, but could with exec |
the cause is currently a mystery to me, I'm gonna poke around for a bit |
This now is the case again with Toolbox 0.0.18-1 and podman 1.8.0-2 on FSB31. Can anyone reproduce? |
@fbruetting Yeah, I can reproduce it with both Toolbox container and the steps in the original issue.
|
Can someone reopen then? |
Reopening and I wonder if #5203 at least helps to address this? |
A friendly reminder that this issue had no activity for 30 days. |
@HarryMichal Do you still have this issue? |
Yes, I still do. But on version 1.8.0. I currently don't have 1.8.1 installed on my system. |
I have podman 1.8.1-dev and I still have the issue. |
I have been hitting this too on Fedora 31. I have:
|
I'm hitting this on Fedora 32 with:
|
Do you have a reproducer we could play with? |
@rhatdan Yes, I have a reproducer. Please run this:
then copy and paste these lines (in one go, with the newline) into a shell:
Every time I run this, I get an interactive shell that:
|
Nice, @mheon @haircommander Does this help you guys out? |
if there was any data already received, make sure it is flushed to the tty as soon as it is opened. Closes: containers/podman#4397 Signed-off-by: Giuseppe Scrivano <[email protected]>
if there was any data already received, make sure it is flushed to the tty as soon as it is opened. Closes: containers/podman#4397 Signed-off-by: Giuseppe Scrivano <[email protected]>
if there was any data already received, make sure it is flushed to the tty as soon as it is opened. Closes: containers/podman#4397 Signed-off-by: Giuseppe Scrivano <[email protected]>
if there was any data already received, make sure it is flushed to the tty as soon as it is opened. Closes: containers/podman#4397 Signed-off-by: Giuseppe Scrivano <[email protected]>
if there was any data already received, make sure it is flushed to the tty as soon as it is opened. Closes: containers/podman#4397 Signed-off-by: Giuseppe Scrivano <[email protected]>
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
After entering a container with
podman exec -it containername /bin/sh
the keyboard input can be blocked by typing anything during the time between executing mentioned command and getting shell. By blocked I mean any kind of input in the terminal session from typing classic characters or Ctrl+C or anything else. The only way out is to kill the session and open a new one.Steps to reproduce the issue:
podman pull alpine
podman create alpine sleep 100000
podman start --latest
podman exec -itl --latest /bin/sh
(after executing this, type anything on the keyboard, before entering the container)Describe the results you received:
Unresponsive terminal session with shell prompt
Describe the results you expected:
Responsive terminal session with shell prompt
Additional information you deem important (e.g. issue happens only occasionally):
none
Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Additional environment details (AWS, VirtualBox, physical, etc.):
Running Fedora Silverblue 30
The text was updated successfully, but these errors were encountered: