Bug 1329061

Summary: 389-ds-base-1.3.4.0-29.el7_2 "hang"
Product: Red Hat Enterprise Linux 7 Reporter: Marc Sauton <msauton>
Component: 389-ds-baseAssignee: Noriko Hosoi <nhosoi>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 7.2CC: afarley, clasohm, dpathak, ekeck, gparente, jasons, lkrispen, mreynolds, msauton, nhosoi, nkinder, pasik, rmeggins, sramling, tbordaz
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.5.10-6.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1370121 (view as bug list) Environment:
Last Closed: 2016-11-03 20:41:20 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: 1370121    

Comment 20 Ludwig 2016-06-09 14:35:53 UTC
I did test on F22 with current master and openssl 1:1.01k-12

When I do the echo "" I get some cert output and theb

---
DONE

If I just run the openssl command I get again the same initial text and then 

----


and it is waiting. If I now type anything it hangs

Comment 22 Rich Megginson 2016-06-09 14:47:10 UTC
Ok.  I was using the `-quiet` option, which alters the EOF behavior.  If you don't use `-quiet`, s_client will send the request and not wait for a reply, it will just close the connection and exit.

The only way to reproduce the problem is to use

echo "" | openssl s_client -quiet -connect localhost:636

or

openssl s_client -connect localhost:636

and then type in some text and hit Enter

That is, you have to tell s_client to send some data to DS and wait for a reply.

Comment 60 Sankar Ramalingam 2016-09-09 06:05:34 UTC
Build tested:
[root@ratangad MMR_WINSYNC]# rpm -qa |grep -i 389-ds-base
389-ds-base-1.3.5.10-10.el7.x86_64
389-ds-base-debuginfo-1.3.5.10-6.el7.x86_64
389-ds-base-libs-1.3.5.10-10.el7.x86_64
389-ds-base-devel-1.3.5.10-10.el7.x86_64

Comment 64 errata-xmlrpc 2016-11-03 20:41:20 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/RHSA-2016-2594.html