delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/02/19/14:38:22

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=g5yEC/Ja4QKsRdqOeKz4zBj8ivCb8Hq8q67o6cLCm3onta9kWUkyJ
sPyJjqwEY5ruUx9voD3RAKVNy7f4AyFQpI2tLe+GJwbXbJafN+DkGs7o5MBHEVaX
fUMjuIHcQM+2VZxeiuUHbEDU488710Hvrb4EU8xDODNY/Q7RoB0hMY=
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=ZRGFq4blGynB10mA+gwsNHN5ZU0=; b=IVVY9Z1zvjQG+KqGtC1lz4kKbhmt
01cYRz0lkUqLEYyZ/4JXR5gcpODN4yJ97FHHYyYK6w9XNMlY0Wf0mx92SdNBv5Vb
QXFjjmOHjHGJm2ORyL+xvsfpQW1x8xDiM4nH8IXcOEG32BhdIzXmnGPD2IRU1xFd
PBVsvdxhfIGemAU=
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.0 required=5.0 tests=AWL,BAYES_20 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Wed, 19 Feb 2014 20:38:00 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Testers needed: New passwd/group handling in Cygwin
Message-ID: <20140219193800.GA2246@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20140213143849 DOT GH2246 AT calimero DOT vinschen DOT de> <20140217162152 DOT GA17278 AT calimero DOT vinschen DOT de> <1574274407 DOT 20140219185602 AT yandex DOT ru> <20140219184830 DOT GX2246 AT calimero DOT vinschen DOT de> <1268935237 DOT 20140219231916 AT yandex DOT ru>
MIME-Version: 1.0
In-Reply-To: <1268935237.20140219231916@yandex.ru>
User-Agent: Mutt/1.5.21 (2010-09-15)

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

On Feb 19 23:19, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
>=20
> >> Setting
> >>=20
> >> db_enum: local
> >>=20
> >> seems to be really destructive.
> >> I'm not good at reading straces, so... Can I make a useful trace for y=
our
> >> inspection?
> >> So far, I'm unable to start anything with freshly rebuilt Cygwin1.dll
> >> if db_enum set to local. Even uname -a crashes.
>=20
> > The last one is weird since uname doesn't call getpwent.
>=20
> That's what was my thought, too. Because (un)setting it back cures the cr=
ash.
>=20
> > Anyway, with more help from Denis Excoffier I think I got it.  I'm
> > just building a new snapshot which should be up in half an hour or so.
> > Please give it a try.
>=20
> Looking into it now.
> Doesn't crash or anything so far. (With `db_enum: local' set.)
> Tried a few utilities, as well as your example get*ent code.
> BTW, can we have it as one "getent"[1] tool for the next release?
>=20
> Going to play with different settings, I will post if I find anything
> unexpected.
>=20
> [1] http://linux.die.net/man/1/getent

That sounds pretty much like the tool we need to be able to get rid of
the `grep /etc/passwd' stuff we have in some of the service configuration
helper scripts.  Unfortunately it's a glibc tool so we probably have to
create our own.  For a start it would suffice to support only passwd
and group databases.


Corinna

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

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

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJTBQgYAAoJEPU2Bp2uRE+gm1MP/jBHEfMiMW5Qk0HrDUgvgt65
O9AHGc1AA3BErZFGFUxSc3+5NSzppDTimF9r++hZEUQEXKkRoOA3K38g1OGLu1EY
DGXnBKxZgAphVhEfTepi+e+pW5qsPIrbynrYHUre5exK4Pnj8wngMbiAvGN/JxHx
EDUdSzbpv1kNZX07xCFMl9EHubq6abdC7whAe2L9NePUZZC8PteQfnkVCNi+CNjv
O5y8743yUbLPyJcudnsOAAEfI2EP2RCenFDMOfhx5qpaLEBbgTGE/kRzaVPrgtoC
innKM2PmH0qic/2qY7PoYIZdimDnwlDXng0eVP8EtpQDSITx3TONnpDe23vCTFqn
P6UIphfK4vrn0FvDwzYzArnkozl+JqaBHeNPP5Lv96+4e2sERa9tNzGamjomdtIT
WBBUTcAi64hu08oRVp85PtoPQTlh1QSdcumlkuiiz2ar7hzQ9LrLYm0nXt9s6HjU
gULj+Kwq9JVk9OqU/D5sek3NMsB9IV6slbfPgcD3dUQ9VE2N+N4nhR2FxA6FO62A
h+H4aQGKIFxXVX2EZhiHlrRh6tbqAjV7RV1BMhzZ4Kd0CPqiXZvdwcDQyX8AFaHs
1NOcXNAswulLAOC4ZXGK+QIBYJyMqGXN9MvjsKshF8yVID2klB9Y4rsLXofq+5ZL
mDF112g7I+cKK6bac7wZ
=95hC
-----END PGP SIGNATURE-----

--Y8YhpITADfETs1ua--

- Raw text -


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