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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=sOiOAQEiVwO0eJEY8hu6ZwhwRkdd/MDKtkoaJAbP3vQ
	x845QGBnFd1SWqppGNdjVhU4gjeHzvUUyxg9uZ2MWNJw//hGZfwTOngH90cUtwF4
	/tjDu8P+FRsF2lizUw2s4eFD7cbLh9OtgoHiG9bPc59FLx5euPbrYQ63+ziNSmBE
	=
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:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=kuyFdX2wR4NnjtrLuhXDWNQ648U=; b=TPMAFsE19Lnab3Z/J
	edi/9B5yB/fGI/sZaKNlvATE14eO6OywXzeIOxXsD05zP8KOcLpSuxFtfAikE7Wu
	W9UWZTHk+ZyKyJejLjxdaLil2nOSarGC6D/1bw6gC5UbISotYiDy5BDvineYmv1P
	Sy8MGVf/+MK2WX68N3jKtvbrjQ=
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=-2.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mail2.intersystems.com
X-InterSystems: Sent from InterSystems
X-InterSystems: Sent from InterSystems
Message-ID: <54EB698A.7080700@intersystems.com>
Date: Mon, 23 Feb 2015 12:55:22 -0500
From: Len Giambrone <Leonard.Giambrone@intersystems.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0
MIME-Version: 1.0
To: <cygwin@cygwin.com>
Subject: Re: bug in csih?
References: <54E7C402.80306@intersystems.com> <20150223120522.GI437@calimero.vinschen.de> <20150223144715.GS437@calimero.vinschen.de> <54EB5208.8050009@intersystems.com> <54EB59E5.7050304@intersystems.com> <20150223173428.GA26549@calimero.vinschen.de>
In-Reply-To: <20150223173428.GA26549@calimero.vinschen.de>
Content-Type: text/plain; charset="UTF-8"; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes

If that is the case, then there is a bug in csih_old_cygwin:

build@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@wx64lg /usr/share/csih
$ less cygwin-service-installation-helper.sh

build@wx64lg /usr/share/csih
$ . cygwin-service-installation-helper.sh

build@wx64lg /usr/share/csih
$ csih_old_cygwin

build@wx64lg /usr/share/csih
$ echo $?
1

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


On 02/23/2015 12:34 PM, Corinna Vinschen wrote:
> On Feb 23 11:48, Len Giambrone wrote:
>> csih_use_file_etc returns 0 on my system (as it should with no passwd file,
>> right?)
> Uhm, no.  It should return 0 if you *use* the files (0 == true in the
> shell), That should be only the case if you're running Cygwin 1.7.33
> or if your nsswitch.conf file says so.  What's the content of your
> /etc/nsswitch.conf?
>
>
> Corinna
>

-- 
-Len

--
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

