delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT 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=XHtcIQQgeALAj5IDXbk8NJZhBi52ByjEMt65zjgy93+E1BeEC/FbV | |
X47Eiw0dzlaECMs0yyc1Loom5dzxoP9G63pn62+ICEZzshWObNlD2VWeMIv4PCGK | |
X/iUYE9luyfR4WoYES1R8dFNLYPEjdeOcA56Qr3cFze4dSEdsgeTvU= | |
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=PE4V8aDr0FBy+oRm6NoE9tAS0rg=; b=Xx/+pkJ++N8ccMetsmBskiFZ4/Tb | |
LXXTACGMMubZY9QbqQDauYVuaxEuhTuBIIDqe9EgyuLaLEGdsRPKXRi4Mk56Csdb | |
KC9UlpFbTtCnjbGx+In61uAlosg2Bm/8Z37UmrbSFPoeIk99jNwjGH46CJM2ZOq/ | |
vu2eQzGQOdO29sA= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Authentication-Results: | sourceware.org; auth=none |
X-Virus-Found: | No |
X-Spam-SWARE-Status: | No, score=-99.9 required=5.0 tests=AWL,BAYES_40,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=ahosts, straces, lightly, svr |
X-HELO: | drew.franken.de |
Date: | Wed, 8 Mar 2017 10:39:47 +0100 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: getent hosts exit code 2 for all names in /etc/hosts |
Message-ID: | <20170308093947.GA17817@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <ec897d8c-9b17-98af-3471-187d3bf6a9f1 AT SystematicSw DOT ab DOT ca> |
MIME-Version: | 1.0 |
In-Reply-To: | <ec897d8c-9b17-98af-3471-187d3bf6a9f1@SystematicSw.ab.ca> |
User-Agent: | Mutt/1.7.1 (2016-10-04) |
--jRHKVT23PllUwdXP Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mar 7 14:05, Brian Inglis wrote: > With current Cygwin 64 getent hosts returns exit code 2=20 > for all names in /etc/hosts, addresses still work fine,=20 > while getent ahosts returns the expected results for all=20 > names in /etc/hosts. > In previous releases getent hosts and getent ahosts both=20 > returned equivalent results. >=20 > Attached cygcheck -svr output [lightly redacted]. > I have other Unix like bins and Windows equivalents,=20 > and a load of tools in my path following Cygwin 64,=20 > plus its absolute patch so everything interoperates > in Windows, so cygcheck is huge. >=20 > I have straces of good and bad commands available.=20 I can not repoduce this. I have no entries in /etc/hosts and added a few for testing. In my case getent hosts/ahosts always returns 0 if an entry in /etc/hosts is chosen. There's also no good reason that this would change. Getent hasn't been updated for quite some time and there's no change in that area in Cygwin. Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --jRHKVT23PllUwdXP Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJYv9FjAAoJEPU2Bp2uRE+gZxkP/jMPj4DJKcXPMXBZ3HW6Ac/y Wr3tHIyFSbUQUa5xnWiZbKgkwSz3KUJ1AhAE8JpWiE6CWp4h8s6YHBRhAHNPlHJY ZW0+5gZ220TBTggBhNqyfcwQKYtYlGHAm6X/mdc4D8PpiJnExuEsvO44l3uZwmFK N09S74sjoEzCBV8UDuiSElIAFY3NyqVzI/MvPGEraeak9+zZ7n0I1gzMBfRM5Jra 60DrGY3jfKFmn914Jg2a/RgZhvO2HO9kwA7MrdSIqfiuazsw9fodLU9IMA/E27Gb qYjL2JiILiL32+8NERZ6IBXVtzsiHlhEK5EebZmOSlOhQsO2J0gf7Tady0XAclYn TtvthEDKOwyXdixyBtBIcB6wOs57oyd4CWdBeC9ic938svJlm93lYJQu46MkkiuX Sg8mbDRs+3mk3qoiBb7DsQaW4gKSv5ETF+LhoVjTl9qSH08WPQZCLh2XiE0AB6dH pftQIt1Deo1MM5G8+TRyg827z3evbRf4wLS9tcWC7Wz8LUw2y0bU9hl1E2i2lzN3 APgJ928I4OOq1sSTy6uVI/B5K6gW+8IAPhzHwQgOc7tYJZrLYScBP3TRUDVIz/M4 Oc4N4YxkFlZvANNAb8hBTqTDVDjsTAG3oINfiVm/+nCE4CbaT9vIVzok58QqubC+ sYmHQHB/cdidoCboiY+N =2HiR -----END PGP SIGNATURE----- --jRHKVT23PllUwdXP--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |