This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Testers needed: New passwd/group handling in Cygwin
- From: Andrey Repin <anrdaemon at yandex dot ru>
- To: Corinna Vinschen <cygwin at cygwin dot com>
- Date: Wed, 19 Feb 2014 23:19:16 +0400
- Subject: Re: Testers needed: New passwd/group handling in Cygwin
- Authentication-results: sourceware.org; auth=none
- 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>
- Reply-to: cygwin at cygwin dot com
Greetings, Corinna Vinschen!
>> Setting
>>
>> db_enum: local
>>
>> seems to be really destructive.
>> I'm not good at reading straces, so... Can I make a useful trace for your
>> inspection?
>> So far, I'm unable to start anything with freshly rebuilt Cygwin1.dll
>> if db_enum set to local. Even uname -a crashes.
> The last one is weird since uname doesn't call getpwent.
That's what was my thought, too. Because (un)setting it back cures the crash.
> 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.
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?
Going to play with different settings, I will post if I find anything
unexpected.
[1] http://linux.die.net/man/1/getent
--
WBR,
Andrey Repin (anrdaemon@yandex.ru) 19.02.2014, <23:11>
Sorry for my terrible english...
--
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