Bug 1303582

Summary: websocket: incomplete read breaks authentication, login not possible
Product: Red Hat Enterprise Linux 7 Reporter: Dominik Perpeet <dperpeet>
Component: cockpitAssignee: Dominik Perpeet <dperpeet>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: unspecified    
Version: 7.2CC: jscotka, lfriedma, stefw
Target Milestone: rcKeywords: Extras
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: cockpit-0.93-2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-16 16:20:14 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:
Bug Depends On:    
Bug Blocks: 1292918, 1303605    

Description Dominik Perpeet 2016-02-01 11:18:55 UTC
Description of problem:
The cockpit websocket (ws) component reads from /dev/urandom during authentication initialization. If this read is interrupted or incomplete, the initialization will fail and Cockpit will not be able to initiate a user session.

Version-Release number of selected component (if applicable):
Affects current upstream (0.93) and all previous versions.

How reproducible:
Rarely to never on most configurations.

Steps to Reproduce:
1. Interrupt read during Cockpit authentication initialization

Actual results:
No login possible.

Expected results:
Login possible.


Additional info:
Tracked upstream https://github.com/cockpit-project/cockpit/issues/3632

Comment 4 errata-xmlrpc 2016-02-16 16:20:14 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, 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://rhn.redhat.com/errata/RHBA-2016-0227.html