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

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=vMgMBqLcU8wMlPxnT8jZrYQK+l5iko0RtcB0E24dTRiePvpUci62P
zAOMPrhJdA67hISTgBW87jg8tWJZBlFPomnz3p9wY6UF5HC3cQfe2m3PlQ4EZeVu
RqzoiSldXNaPf1KYfBLRwFUk4OO8obaHMJAYRUWrAke6PWp52TeewY=
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=3asyn6pCpCErLuXsfWOHgw0gz/8=; b=snatl4zjv9fABdxeTWYkr4XRo5SA
kbobakyD8CCUlyi9xjF1IlYS8lds0nCpdZm+nOG92x9JWvXHDNmXjpyoh4dYTV63
yPbw2Rccq5RA4/nQoMtLx7+KinNYQ3lm+gIb2slKvcYZllZJOXfMPfLWPdo2rRMG
MCS7Toa8zUwUsR8=
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=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Mon, 23 Feb 2015 21:11:57 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: bug in csih?
Message-ID: <20150223201157.GY437@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
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> <87mw44wihr DOT fsf AT Rainer DOT invalid>
MIME-Version: 1.0
In-Reply-To: <87mw44wihr.fsf@Rainer.invalid>
User-Agent: Mutt/1.5.23 (2014-03-12)

--QILrdhYozogw5Vly
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Feb 23 20:11, Achim Gratz wrote:
> Len Giambrone writes:
> > If that is the case, then there is a bug in csih_old_cygwin:
>=20
> No, not there.
>=20
> > 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
>=20
> It returns false, that is, not an old Cygwin.  That is correct.
>=20
> > 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 tr=
ee.
> > #    To pick up changes, restart all Cygwin processes.  For a descripti=
on
> > #    see https://cygwin.com/cygwin-ug-net/ntsec.html#ntsec-mapping-nssw=
itch
> > #
> > # Defaults:
> > # passwd:   files db
> > # group:    files db
> > # db_home:  cygwin desc
> > # db_shell: cygwin desc
> > # db_gecos: cygwin desc
>=20
> 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.

I uploaded csih-0.9.8-6 with this patch.


Thanks,
Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--QILrdhYozogw5Vly
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBAgAGBQJU64mNAAoJEPU2Bp2uRE+gSqkP/A0e9qRwvDRXQvCRiTiLKlJb
ZxeyDDsUy9TER37F3OroYO0Rr4c73zUMBIi0W0uWbYeb3Ldt/9JuLvvK40wabWss
pO7bn05CXf6sI7djzxQ1gTMXyZ0uDD1JpuIwauTh8RQ8Qe2hYlVTiAK4rH/g7e1T
CkX1SJFpUMUthelweidk8R9aiSIYaRkshw/vx1z8j3bD42A4vbsVdX9rN1QBbd16
FX9hkYi1sdbmPNmzHikmQWfSz4Hew748aspHfhNelMnQT/M2GZ12s1XRoCDOe7v/
oC8OgOTXnwCaNPz1aO+65WGaF77/Zeuv7A0pOMOgxQcnqlOJSRMfZigWIVGnX9Bw
IeYUbMXXuI1A+K56rRbxeEUa/gkKuMdULpoh2550XsnZ2k3A2JdEaW9mnIhONUte
NgJXuQqcxrl5DpWpAgwSVnBITNHgEaslbddt9uxVMJ7qVZ3JfZgoIBvbQuBnF7zH
106/v/dMORkXw+bCtPbSW9cBtB8i+m7EqDAmu0qFQac0Up+V7diryEmjn+397IRy
/l+LrRlxDHGDz6LjsEqdSOLAOEHP7TbBJIoJ5mlZXfqlKlnTxCdnvECRLzTeWHP8
q/0cbi9KepOwOQPrMZlBk6PLyTwLDBG9QSCzBglgApCMogpdhNfNH9vCteFS5TGH
mtgwKN+w6iHoaSoHTNbx
=6ha8
-----END PGP SIGNATURE-----

--QILrdhYozogw5Vly--

- Raw text -


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