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=D9LjuCrE7N9TQia9Od3quYuA2EQMVkNlIHS1boqNJOaYUPuH9ZFwP g6lW0tcpXFLYi1IVVUCgcJw5y84S6L/psHatHyAABxfWvc38K88gDb9m/F+eifYt z5PlFO/OLUzatCmk0GXZ6MgCipFYvQ00HXGqw4PfkMgS9KzxEZ321w= 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=xXzQi7byIEVbzl6OYSOu4XVbxfE=; b=xjLiLDCi8UW/9PmHm7tHF+mpr1uu YHjfojRQTxWu52ZbfSLYyRcGP6TejmoexZGLP5IRd3m2GamtgIx8R9Qw7kr6mvzt 4RKYVqZxuzDfjq+q/hX2u3D8uJ6YK678+dhRspZixUHSIjg0Me0JkBifeGSbhYDH jAvNuSaEDsfKggo= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , 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=-5.0 required=5.0 tests=AWL,BAYES_40 autolearn=ham version=3.3.2 X-HELO: calimero.vinschen.de Date: Wed, 14 Jan 2015 16:28:48 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Resolving localhost on Windows 7 (for exim) Message-ID: <20150114152848.GH15791@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <0NHP009ITJ361TD0 AT vms173009 DOT mailsrvcs DOT net> <20150108132353 DOT GN4190 AT calimero DOT vinschen DOT de> <003d01d02e83$1aaaf7b0$5000e710$@ieee.org> <20150112165130 DOT GP15791 AT calimero DOT vinschen DOT de> <20150112171413 DOT GQ15791 AT calimero DOT vinschen DOT de> <20150113103706 DOT GT15791 AT calimero DOT vinschen DOT de> <017201d03008$f61fdfa0$e25f9ee0$@ieee.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="NYEXl3WhqsXurSTm" Content-Disposition: inline In-Reply-To: <017201d03008$f61fdfa0$e25f9ee0$@ieee.org> User-Agent: Mutt/1.5.23 (2014-03-12) --NYEXl3WhqsXurSTm Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Jan 14 09:47, Pierre A. Humblet wrote: > > -----Original Message----- > > From: Corinna Vinschen > > Sent: Tuesday, January 13, 2015 05:37 > >=20 > > On Jan 12 18:14, Corinna Vinschen wrote: > > > On Jan 12 17:51, Corinna Vinschen wrote: > > > > On Jan 12 11:16, Pierre A. Humblet wrote: > > > > > Now the bad news: the exim daemon crashes. > > > > > > > > > > The reason is this: > > > > > $ getent passwd exim > > > > > NT SERVICE+exim:*:376394:376394:U-NT > > > > > SERVICE\exim,S-1-5-80-3213360373-4072665756-2198108471- > > 1641386292- > > > > > 839958090:/:/sbin/nologin > > > > > > > > > > So even though I am requesting just "exim" I am getting an entry = for "NT > > SERVICE+exim" > > > > > > > > That's definitely a bug and I can easily reproduce it. I'm not sure > > > > yet how this happens, but this is really not ok. I'll have a look = ASAP. > > > > > > Oh darn, I especially *implemented* this behaviour, for the sake of > > > being able to fetch the "TrustedInstaller" account by name. > > > > > > And then TrustedInstaller gets the account name "NT > > SERVICE+TrustedInstaller" > > > anyway, so I'm rather puzzled what I was thinking back in November. > > > > > > Fitting: getent passwd "NT SERVICE+servicename" does *not* work, > > > except for "NT SERVICE+TrustedInstaller". Oh well. > > > > > > I'll prepare a fix today or (more likely) tomorrow. > >=20 > > Done. I uploaded a snapshot with this change to > > https://cygwin.com/snapshots/ Please give it a try. >=20 > Works fine, thanks a lot. >=20 > Also earlier in this thread I reported that DnsQuery was sometime=20 > failing to resolve localhost with an error (not the question/answer snafu= ). > What happens is that if you ask e.g. to resolve localhost for a MX record, > DnsQuery answers that localhost does not exist and it repeats that answer > even for A and AAAA record for the next 15-20 min (surely the TTL). > That's a bug I can live with (it may depend partially on the upstream > nameservers). It will be mitigated when I add functionality to > gethostbyname2 as discussed previously. Excellent, thank you! Corinna --=20 Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat --NYEXl3WhqsXurSTm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBAgAGBQJUtoswAAoJEPU2Bp2uRE+gnP8P/AgTkqRvZjgdGcPxLIIHR54s OWt2pWGX7EC77mVO3mCVuq2QbR1Q4c0NUD+37n5Nxc6+SCU5/58g9nMOZe+ynWQE 6u2/7/AehNz9gT4WtmLngKMu5ZhszK/E/RAQGPYrkTEWXk44dOZ0AALuzvknePlv QkxU4Q8Wi6FEunJFIXgceS6pOKViBpK9FTQiLdffjpoE77ocbESkC4vGfO6wHFSB Ous1xpBGi1EJ/gSzDTO9qy3I9b9ZhXA7kBeEjkM3d97Ecl86LJlinJoCfKLj+HKP 4lB75jQ955NOSaldpz7YnRWnb+Di5XfH7ntSCSpnUpQNTFXlpwVuOjH2oSCSorJk lOmPhjOD8E6CNh402Xt6UvR+dk7jrQBsh1MBh0Py0D854NjbHnuQ1hJfVUNy3Hql ChLOOV+CExtO84ll1E0yxPI4IGOChv3Z40dUcgyCCbnb4av8X62hXPU113USjcEI aSes943Z/oLLPoqAb4d/6MvgaPP/vcmpISsM6iBJiTfwHAbzX/gncNl5NSfTNWJp tEzmyrocKTxP5E3PcD7ipaYSolC1vCVvWr0JhdagQXh1TwVlwFdiuR69Q9ZaE2Sb TJI5X8CByz+Y/0keqHlBe3TimVu2/VSO9FWlqmx/b3ZESzefI0ThvW6RDqbMtOwj 3df10kt1kr69Z6gXs8og =8ZuG -----END PGP SIGNATURE----- --NYEXl3WhqsXurSTm--