Bug 1897430

Summary: Prompt is not returned when clicking Reset button in disconnected session in cockpit terminal
Product: Red Hat Enterprise Linux 8 Reporter: Yuki Okada <yuokada>
Component: cockpitAssignee: Matej Marušák <mmarusak>
Status: CLOSED ERRATA QA Contact: Jan Ščotka <jscotka>
Severity: low Docs Contact:
Priority: medium    
Version: 8.3Keywords: Regression, Triaged
Target Milestone: rcFlags: pm-rhel: mirror+
Target Release: 8.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:06:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screencast when the issue reproduces none

Description Yuki Okada 2020-11-13 04:26:04 UTC
Description of problem:
When disconnecting a session by exit command and clicking a Reset button in cockpit (web console) terminal, a prompt is not returned and any input cannot be entered. Attached the screencast.

Version-Release number of selected component (if applicable):
cockpit-224.2-1.el8.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Login to web console (cockpit) and click Terminal tab
2. Run "exit" command
3. Click "Reset" button

Actual results:
Prompt is not returned, and cannot enter anything

Expected results:
Prompt is returned

Additional info:
- This issue is NOT reproducible in cockpit-211.3-1.el8 (RHEL 8.2), so this could be a regression.
- This issue is also reproducible in cockpit-230-1.fc33.x86_64 (Fedora 33).

Comment 1 Yuki Okada 2020-11-13 04:27:19 UTC
Created attachment 1728981 [details]
screencast when the issue reproduces

Comment 2 Martin Pitt 2020-11-17 13:53:52 UTC
Thanks for the report! I confirm that with 2323/current master. So this is indeed a regression.

Comment 3 Matej Marušák 2020-11-19 12:30:21 UTC
Indeed this is regression due to https://github.com/cockpit-project/cockpit/pull/12948/commits/29d74ff61e9d1661e56b18cc8ec8803b1df02de8

Looking into this.

Comment 4 Matej Marušák 2020-11-19 12:50:43 UTC
Upstream PR: https://github.com/cockpit-project/cockpit/pull/14928

Comment 10 errata-xmlrpc 2021-05-18 15:06:39 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 (cockpit 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/RHBA-2021:1684