RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1814928 - "podman exec -it" will hang with leading keyboard input
Summary: "podman exec -it" will hang with leading keyboard input
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: podman
Version: 8.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.3
Assignee: Jindrich Novy
QA Contact: atomic-bugs@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-19 03:33 UTC by Kirby Zhou
Modified: 2020-11-04 03:06 UTC (History)
10 users (show)

Fixed In Version: conmon-2.0.16 and newer, podman-2.0.0 and newer
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 03:05:13 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Kirby Zhou 2020-03-19 03:33:25 UTC
Description of problem:

"podman exec -it" will hang with leading keyborad input.


Version-Release number of selected component (if applicable):

podman-1.6.4-2.module_el8.1.0+272+3e64ee36.x86_64
runc-1.0.0-64.rc9.module_el8.1.0+272+3e64ee36.x86_64


How reproducible:

100%

Steps to Reproduce:
1. podman run -dt --rm --name alpine docker.io/alpine 
2. (sleep 5; podman exec -it alpine /bin/sh )
3. # quickly hit keyboard to input something before podman begin.


Actual results:

podman exec will hang.

 ~]$ (sleep 5; podman exec -it alpine /bin/sh )
hello # I input before podman running



/ #    # hang here



Expected results:

podman runs normally.

Additional info:

Comment 1 Tom Sweeney 2020-03-19 19:44:25 UTC
I believe this was recently fixed upstream by Matt.  Assigning to him to comment.

Comment 2 Matthew Heon 2020-03-19 20:42:59 UTC
I have reports that we may have regressed upstream. I'll try and verify tomorrow

Comment 3 Honza Horak 2020-04-23 15:41:17 UTC
Looks like this is the upstream issue:
https://github.com/containers/libpod/issues/4397

Comment 10 Alex Jia 2020-07-20 13:31:06 UTC
Verified on podman-2.0.0-0.9.rc7.module+el8.3.0+7084+c16098dd.x86_64
w/ conmon-2.0.16-1.module+el8.3.0+6615+53797f3b.x86_64.

Comment 13 errata-xmlrpc 2020-11-04 03:05:13 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: container-tools:rhel8 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4694


Note You need to log in before you can comment on or make changes to this bug.