Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 165481 - setting socket defalt timeout error causes uncaught SSL.WantReadErrror/SSL.WantWriteError
setting socket defalt timeout error causes uncaught SSL.WantReadErrror/SSL.Wa...
Product: Red Hat Enterprise Linux 4
Classification: Red Hat
Component: rhnlib (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mihai Ibanescu
Beth Nackashi
Depends On:
Blocks: 156323 165360
  Show dependency treegraph
Reported: 2005-08-09 14:28 EDT by Adrian Likins
Modified: 2007-11-30 17:07 EST (History)
0 users

See Also:
Fixed In Version: RHBA-2005-742
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-10-05 07:20:37 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2005:742 qe-ready SHIPPED_LIVE rhnlib bug fix update 2005-10-05 00:00:00 EDT

  None (edit)
Description Adrian Likins 2005-08-09 14:28:27 EDT
Description of problem:

see also https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=144704

If you set a socket timeout (say, socket.setdefaulttimeout(5)) and
make the socket non-blocking, openssl will raise a WANT_READ_ERROR
that pyopenssl raises as an exception, but rhnlib never catches,
causing stuff to break. 

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

How reproducible:

Steps to Reproduce:
1. add a socket.setdefaulttimeout(1) to any app that uses pyopenssl/rhnlib
Comment 2 Mihai Ibanescu 2005-08-10 09:41:35 EDT
Should be fixed by rhnlib-1.8-6.p23.1
Comment 4 Beth Nackashi 2005-08-11 13:18:21 EDT
works fine now

[root@fmoquete-64 ~]# rpm -q up2date
[root@fmoquete-64 ~]# rpm -q redhat-release
[root@fmoquete-64 ~]# cat /etc/redhat-release
Red Hat Desktop release 4 (Nahant Update 1)
[root@fmoquete-64 ~]# rpm -q firstboot
[root@fmoquete-64 ~]# rpm -q rhnlib
Comment 5 Todd Warner 2005-09-23 16:33:37 EDT
Comment 6 Red Hat Bugzilla 2005-10-05 07:20:37 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on the solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.


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