delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/02/23/12:55:47

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: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 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=-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 DOT Giambrone AT intersystems DOT 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 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>
In-Reply-To: <20150223173428.GA26549@calimero.vinschen.de>
X-IsSubscribed: yes

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

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

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019