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:subject:references:date:in-reply-to :message-id:mime-version:content-type; q=dns; s=default; b=OIU8l WimNjrEkC1/21w9Qu3cMAXO2eQtPET1dCGA2gNFqXPwKPE/tyXCQT9BTSTF9IrAz lqcXzdmxc4bELS6q/iPYxyzK09n2AfXclCm/5FUhtxX+/l8wgJREkkSgBsFp0CN7 fUcPOe+efVkpVgLzVC7YvFsjR3y4bXkarS+0pk= 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:subject:references:date:in-reply-to :message-id:mime-version:content-type; s=default; bh=9tvRUt1wxCA afIHUC/lMqK+30UU=; b=qzwyLGGY39nVF1b7zPMWvWT3CopYxZfqbwP8WfPPwVM WPZHlfyUU8f4ssVD2NpZ7KQLOI9QRGv5A9Zxzv0V7dJcT4Q+RpnzPPn1wZgj7dFQ LjIgG2SXLNqmNn9jQ6dHuqH/Qzke2DoGXzYLrJ1Ly/tTEWfDjSUy6H+8TzWsC3lA = 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.6 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-in-06.arcor-online.net X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-02.arcor-online.net 3krY0J5l4wz1TKB From: Achim Gratz To: cygwin AT cygwin DOT com Subject: Re: bug in csih? References: <54E7C402 DOT 80306 AT intersystems DOT com> <20150223120522 DOT GI437 AT calimero DOT vinschen DOT de> <20150223144715 DOT GS437 AT calimero DOT vinschen DOT de> <54EB5208 DOT 8050009 AT intersystems DOT com> <54EB59E5 DOT 7050304 AT intersystems DOT com> <20150223173428 DOT GA26549 AT calimero DOT vinschen DOT de> <54EB698A DOT 7080700 AT intersystems DOT com> Date: Mon, 23 Feb 2015 20:11:28 +0100 In-Reply-To: <54EB698A.7080700@intersystems.com> (Len Giambrone's message of "Mon, 23 Feb 2015 12:55:22 -0500") Message-ID: <87mw44wihr.fsf@Rainer.invalid> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Len Giambrone writes: > If that is the case, then there is a bug in csih_old_cygwin: No, not there. > build AT wx64lg /usr/share/csih > $ uname -a > CYGWIN_NT-6.1 wx64lg 1.7.34(0.285/5/3) 2015-02-04 12:14 x86_64 Cygwin > > build AT wx64lg /usr/share/csih > $ less cygwin-service-installation-helper.sh > > build AT wx64lg /usr/share/csih > $ . cygwin-service-installation-helper.sh > > build AT wx64lg /usr/share/csih > $ csih_old_cygwin > > build AT wx64lg /usr/share/csih > $ echo $? > 1 It returns false, that is, not an old Cygwin. That is correct. > My nsswitch.conf is the default: > > $ cat /etc/nsswitch.conf > # /etc/nsswitch.conf > # > # This file is read once by the first process in a Cygwin process tree. > # To pick up changes, restart all Cygwin processes. For a description > # see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nsswitch > # > # Defaults: > # passwd: files db > # group: files db > # db_home: cygwin desc > # db_shell: cygwin desc > # db_gecos: cygwin desc So, in csih_use_file_etc use_file is 1 (false) at that point and /etc/nsswitch.conf exists. The first grep will return false and there's the bug: since the default is "files db", it should keep use_file as is. I'll check in a fix. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf Blofeld V1.15B11: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada -- 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