Red Hat Bugzilla – Bug 450344
Confusing error by stunnel if service name unknown
Last modified: 2013-04-12 15:45:30 EDT
Description of problem:
(actually an upstream bug)
If you give an "accept" value to the stunnel server on which it is supposed to
listen (in stunnel.conf) with an unknown "service" port, e.g.:
accept = 220.127.116.11:mysql-SSL
then stunnel-server says:
2008.06.06 21:53:54 LOG3[29997:47517674664128]: Error resolving '18.104.22.168':
servname is not supported for ai_socktype (EAI_SERVICE)
This error message is confusing. It should complain about "unknown service name
mysql-SSL" or something.
Adding a definition for "mysql-SSL" to /etc/services fixes the problem.
Version-Release number of selected component (if applicable):
Thanks for your report.
If you are a RHEL customer and have an active support entitlement, please
contact official Red Hat Support at https://www.redhat.com/apps/support/ to
allow correct prioritization of this issue.
Created attachment 308633 [details]
The patch submitted upstream
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 therefore 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.