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:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; q=dns; s=default; b=vaxlN2wPEaSjCWR4ttckgLwdiRNwZKR5nrRTbjvBhYg 6wVklWQExe8KrHcNOSf3h+TYkZSsndsCqIPwuQhX9JVFc81WcUZZxPz//8vC7Mei Dsfh/EPgBqZ0g/tO/STlUdN0bOEx9Cuv4EfQI9Bzd7uV/90CUO5OmJ/VNdShOmsU = 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:from:to:references:in-reply-to:subject:date :message-id:mime-version:content-type:content-transfer-encoding; s=default; bh=lFl5T5uRnE1eyXG2S0tr337S4zM=; b=e85WteoqK3gKih+mg buIhs60gZhE1XYSMI2tJLfl2eN8/6UmJYu7E0KEb425m9+THBUl8zv8O90Ff7O3p KrzMg8Nd3AcOXJi++eD3h1rLVTg/B6sBxXu5mEFSh1eH+ZFaFpEhAnHPIcML5MAC ASS/EULbScMlU7+qATDHXU7lVQ= 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=1.5 required=5.0 tests=AWL,BAYES_20,RCVD_IN_DNSWL_NONE,SPF_SOFTFAIL autolearn=no version=3.3.2 X-HELO: vms173017pub.verizon.net X-CMAE-Score: 0 X-CMAE-Analysis: v=2.1 cv=CoYIqc8G c=1 sm=1 tr=0 a=++QE0vWJ+/OcbE0B+pKMCw==:117 a=qpBMU8TwT7QA:10 a=IkcTkHD0fZMA:10 a=o83nqyVRAAAA:8 a=oR5dmqMzAAAA:8 a=-9mUelKeXuEA:10 a=YNv0rlydsVwA:10 a=w_pzkKWiAAAA:8 a=rixMiJxrW572QRIi9LMA:9 a=QEXdDO2ut3YA:10 From: "Pierre A. Humblet" To: 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> In-reply-to: <20150113103706.GT15791@calimero.vinschen.de> Subject: RE: Resolving localhost on Windows 7 (for exim) Date: Wed, 14 Jan 2015 09:47:03 -0500 Message-id: <017201d03008$f61fdfa0$e25f9ee0$@ieee.org> MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id t0EElf9Y009335 > -----Original Message----- > From: Corinna Vinschen > Sent: Tuesday, January 13, 2015 05:37 > > 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. > > Done. I uploaded a snapshot with this change to > https://cygwin.com/snapshots/ Please give it a try. Works fine, thanks a lot. Also earlier in this thread I reported that DnsQuery was sometime 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. Pierre -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple