X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=FhXuAm63eKwGWH3H2SPi11Q27HxGukxvJXfaqGak38kIC+7hzBZ/r
	8JhIomPPuF5XuEPBMe+tVyfUNYx+fGkVVd/Abcux/a1l1pDFfrm5XFUX+j7RL6Yt
	y/NCmnjyKJvU7Kk+GCET5lmGGV3v2NL19cB1sZ+lJVjd8UgWgpmI3c=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=jCx+gj8ubwOyRbrOS3spTUC8Qyc=; b=PuNZEH4XRP/iI+WbJZ3PMN2scPY9
	NahKJuInbwwUNWTt1T7uMveYp3DZEQLXLew2WwUQWztDuMuO2/mN8pEArCjZtrDp
	7lXVhCvQmVZU90d/VPOdx1rghyiIFRPcCAvZnzR9zRkTMu7azq/q9EjSQa0Vxa17
	nXPBF/zQp6cGWFk=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-6.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Sat, 1 Feb 2014 13:54:18 +0100
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: openssh-6.5p1-1 don't use address in /etc/hosts
Message-ID: <20140201125418.GJ2821@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <52ECAC51.5020606@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;	protocol="application/pgp-signature"; boundary="wnBGVoaGQwxWUIo6"
Content-Disposition: inline
In-Reply-To: <52ECAC51.5020606@gmail.com>
User-Agent: Mutt/1.5.21 (2010-09-15)

--wnBGVoaGQwxWUIo6
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb  1 09:12, Ola Str=C3=B6mfors wrote:
> Hi,
>=20
> After upgrading openssh from 6.4p1-1 to 6.5p1-1, ssh to host names
> listed in /etc/hosts fails. /etc/hosts is actually a symlink to
> /cygdriv/c/Windows/system32/drivers/etc/hosts.

Not sure that's the actual reason.  getaddrinfo is a WinSock call
which, probably, never ignores its hosts file.

> % ssh centaur
> getaddrinfo: (null): Name or service not known
> ssh: connect to host centaur port 22: No such file or directory

(null) is the replacement string when printf'ing a NULL pointer as
string.  So it seems ssh called getaddrinfo with a NULL pointer for
node and service.

Can you call `ssh -vvv centaur' and see if the debug output gives
some clue as to what happens?


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--wnBGVoaGQwxWUIo6
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJS7O56AAoJEPU2Bp2uRE+gyuMP/jrX9t5fjASzXMwBBeEarjNi
7olAiMed53VRShdlNwzz9HXhBRzbmZpa01U+zkGY9pgS2J/qTqiDMwPtlFCETNk1
wNcYLnTqKl5SEJ1nfJQApB2Kpj1q5oTgfJiO4o7i4SBQp827a5mapYAWl9YFHNJE
drOZ2AcUCX+ATwd4qdTwPFKEa9Ftf/vCEfgweT1f02pof5OP++QNHmdFqOmb1Azc
YOomqBId80+Y62Jr+Ydw8v+clea5Acc2APnOEWmJsE44keICJsodQSjqVkxCLDsp
zcpHpB3WqCkVAfGSYbZ3yas0+hPbyV+BlQD8p8621ADbyi7YDMmOQgLyGq/wldVH
Tky0tdFXEkCxBZ5WITflu7FwqnrN2cPi0JA52RYRDcMuJabvkjmtOzoODLm33lDk
Ox9pFZO8VrBoLzWeh8ihPArCj+IjH0+W55gDKab4FliqnqzWaPS/1y9mKWYjJFmn
lXw+sjIP0iVicVKtgK3VNWWYckaiykZwsUfAClYVmZ+J40kkCqEZ1/L7uILnshSh
H7VvbIQ62WH+YxrZmJzFmK6gvW9HqNxpYhRd8OsAY9hIBSO08PCauRcMBH18grF3
KF4zp5nmBCYBZ1AE6pPGp0ZUAFtavtZaAyoMXhes/Va835mETCXF4eT83JzbRsYv
D2eKjMRqz+Mk3BxnXBAN
=VEWN
-----END PGP SIGNATURE-----

--wnBGVoaGQwxWUIo6--
