Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Warren Young
d: With a 4-processor XP VM, I can’t tell the difference between 1.7.28-2 and 1.7.29s (20140213) in terms of build time. +/- a second or two over about 4.3 CPU-minutes of build time. Configure time doesn’t change much, either. My nsswitch.conf: passwd: db group: db I’ve tried it with /etc/f

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Andrey Repin
Greetings, Warren Young! > On 2/13/2014 09:07, Andrey Repin wrote: >> Greetings, Steven Penny! >> >>> - Do you have any benchmarks available? Or instructions on how we could >>> test the >>>speed of the new system? >> >> In the end of the day, this should affect program startup times. But in

Re: Child PID

2014-02-13 Thread Brian . Inglis
Todd Poole mail.com> writes: > > I am in process of trying to process dumper on a pid. The pid I need to > dump is a child of another program. If I use ps -W from command line and > use the pid associated with the child all is well. I need it to be > executed from a script. I have tried the f

batch script execution failing with 255 exit code in cygwin 1.7.28

2014-02-13 Thread Prakash Babu
Hi , I use Cygwin to execute batch scripts on remote windows hosts using ssh. The batch script execution started failing with the latest cygwin version 1.7.28. The exit code thrown is 255 and batch script is not able to process the command line arguments. When I try to print the command line a

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Warren Young
On 2/13/2014 07:38, Corinna Vinschen wrote: The new mechanism will never read the entire file into memory, but only scan for the requested entry and cache this one in memory[2]. Does this feature avoid the stale cache problem? For instance, do you check the mtime on /etc/{passwd,group} before

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Warren Young
On 2/13/2014 09:07, Andrey Repin wrote: Greetings, Steven Penny! - Do you have any benchmarks available? Or instructions on how we could test the speed of the new system? In the end of the day, this should affect program startup times. But in home environment, the difference will be neglig

New passwd/group handling in Cygwin - test results and observations

2014-02-13 Thread Andrey Repin
Oooky... What to say about it?... First impression is "oh my god, did I bought a new rig?" $ uname -a CYGWIN_NT-5.1 daemon2 1.7.29s(0.271/5/3) 20140213 14:06:26 i686 Cygwin mintty startup is almost instant. Same with diff in native console. I have no idea, what you did, I don'

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread David Stacey
On 13/02/2014 19:36, m0viefreak wrote: Grepping through /bin I found at least one other package that makes use of /etc/passwd as a file directly (cvsbug), but since I don't have everything installed I can only assume there are more cygwin-packages and other programs someone might build from sourc

Re: get rid of getpwent?

2014-02-13 Thread Achim Gratz
Corinna Vinschen writes: > Oh, hmm. Well, it might be possible, but somehow I'm not excited by the > idea. While it looks like getpwent is mostly used for this purpose, you > don't really know it. I think I'll try to implement it fully and then > let the admin decide what to allow. Configurable

Re: get rid of getpwent?

2014-02-13 Thread Corinna Vinschen
On Feb 13 18:50, Achim Gratz wrote: > Corinna Vinschen writes: > > Caching is wonderful for the usual requests for single entries from the > > DB, and for this we have already two caches, the LSA cache and Cygwin's > > own cache. But caching doesn't help at all when enumerating. > > Would it be p

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Corinna Vinschen
On Feb 13 20:36, m0viefreak wrote: > Hello, > > I have a a question about how this change is going to affect > third-party utilities. Especially in the case once chooses to > use the PAM method and get rid of any /etc/{passwd,group} > files completely. > > There seem to be programs (mostly script

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Andrey Repin
Greetings, Lord Laraby! > This would be a nice mechanism for typical windows home systems except for > the format of the cygwin tag that goes in the comment field. ???... > Home users that utilize 'net user USERNAME "/comment:yadda yadda"' command > cannot use equal signs on the command line, T

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Corinna Vinschen
On Feb 13 22:59, Andrey Repin wrote: > Greetings, Corinna Vinschen! > > > The group attributes utilized by Cygwin are: > > > cn If set, will be used as Cygwin group name. > > sambaPrimaryGroupSID Apples/Oranges. "cn" is used as the Cygwin group name for an existing Window

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread m0viefreak
Hello, I have a a question about how this change is going to affect third-party utilities. Especially in the case once chooses to use the PAM method and get rid of any /etc/{passwd,group} files completely. There seem to be programs (mostly scripts) that make use of /etc/passwd as a file directly.

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Corinna Vinschen
On Feb 13 13:40, Larry Hall (Cygwin) wrote: > On 2/13/2014 1:33 PM, Lord Laraby wrote: > >Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header > >declaration changes ?) > > > >This would be a nice mechanism for typical windows home systems except for > >the format of the cygwin tag

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Andrey Repin
Greetings, Corinna Vinschen! > The group attributes utilized by Cygwin are: > cn If set, will be used as Cygwin group name. sambaPrimaryGroupSID ? (Yeah, I have Samba3/LDAP domain...) > The string can start at any point in the comment, but > you have to follow the ru

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Lord Laraby
Yes, thank you. That form of the syntax seems to work (at least on windows 8.1). Thanks again. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#un

Child PID

2014-02-13 Thread Todd Poole
I am in process of trying to process dumper on a pid. The pid I need to dump is a child of another program. If I use ps -W from command line and use the pid associated with the child all is well. I need it to be executed from a script. I have tried the following: Firefox & set plugin-container

Re: get rid of getpwent?

2014-02-13 Thread Andrey Repin
Greetings, Achim Gratz! > Corinna Vinschen writes: >> Caching is wonderful for the usual requests for single entries from the >> DB, and for this we have already two caches, the LSA cache and Cygwin's >> own cache. But caching doesn't help at all when enumerating. > Would it be possible to only

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Larry Hall (Cygwin)
On 2/13/2014 1:33 PM, Lord Laraby wrote: Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?) This would be a nice mechanism for typical windows home systems except for the format of the cygwin tag that goes in the comment field. Home users that utilize 'n

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Lord Laraby
Subject: Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?) This would be a nice mechanism for typical windows home systems except for the format of the cygwin tag that goes in the comment field. Home users that utilize 'net user USERNAME "/comment:yadda yadda"' co

Re: get rid of getpwent?

2014-02-13 Thread Achim Gratz
Corinna Vinschen writes: > Caching is wonderful for the usual requests for single entries from the > DB, and for this we have already two caches, the LSA cache and Cygwin's > own cache. But caching doesn't help at all when enumerating. Would it be possible to only look (for user name completion p

patch for (clang) problem on Cygwin 1.7.28(0.271/5/3) i686

2014-02-13 Thread Urs Janßen
Here's a log-entry from a configure (autoconf) script (when looking for ncursesw): configure:9503: clang -c -g -I/usr/lib/gcc/i686-pc-cygwin/4.8.2/include -O0 -std=c99 -pedantic -W -Wall -Wextra -Wcast-align -D_XOPEN_SOURCE=600 --I/usr/include/ncursesw conftest.c 1>&5 In file included from confi

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Andrey Repin
Greetings, Steven Penny! >> For as long as Cygwin has existed, it has stored user and group >> information in /etc/passwd and /etc/group files. Under the assumption >> that these files would never be too large, the first process in a >> process tree, as well as every execing process within the tr

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Corinna Vinschen
On Feb 13 17:09, Corinna Vinschen wrote: > On Feb 13 09:48, Steven Penny wrote: > > On Thu, Feb 13, 2014 at 8:38 AM, Corinna Vinschen wrote: > > > For as long as Cygwin has existed, it has stored user and group > > > information in /etc/passwd and /etc/group files. Under the assumption > > > that

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Corinna Vinschen
On Feb 13 09:48, Steven Penny wrote: > On Thu, Feb 13, 2014 at 8:38 AM, Corinna Vinschen wrote: > > For as long as Cygwin has existed, it has stored user and group > > information in /etc/passwd and /etc/group files. Under the assumption > > that these files would never be too large, the first pro

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-13 Thread Corinna Vinschen
On Feb 13 10:43, Christopher Faylor wrote: > On Thu, Feb 13, 2014 at 03:44:19PM +0100, Corinna Vinschen wrote: > >Yes, I think so too. I have some preliminary code (actually, just > >empty function shells right now) which are supposed to implement > >full enumerating. > > > >However, system admins

Re: Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Steven Penny
On Thu, Feb 13, 2014 at 8:38 AM, Corinna Vinschen wrote: > For as long as Cygwin has existed, it has stored user and group > information in /etc/passwd and /etc/group files. Under the assumption > that these files would never be too large, the first process in a > process tree, as well as every ex

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2014 at 03:44:19PM +0100, Corinna Vinschen wrote: >On Feb 13 09:35, Christopher Faylor wrote: >> On Thu, Feb 13, 2014 at 11:00:25AM +0100, Corinna Vinschen wrote: >> >On Feb 12 16:37, Christopher Faylor wrote: >> >> On Wed, Feb 12, 2014 at 08:59:31PM +0100, Corinna Vinschen wrote: >

[ANNOUNCEMENT] Updated: weechat-0.4.3-1

2014-02-13 Thread Sébastien Helleu
Version 0.4.3-1 of "weechat" has been uploaded. ChangeLog and release notes: http://weechat.org/files/changelog/ChangeLog-0.4.3.html http://weechat.org/files/releasenotes/ReleaseNotes-0.4.3.html DESCRIPTION WeeChat is a fast, light and extensible chat client. It runs on many platforms like Linux

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-13 Thread Corinna Vinschen
On Feb 13 09:35, Christopher Faylor wrote: > On Thu, Feb 13, 2014 at 11:00:25AM +0100, Corinna Vinschen wrote: > >On Feb 12 16:37, Christopher Faylor wrote: > >> On Wed, Feb 12, 2014 at 08:59:31PM +0100, Corinna Vinschen wrote: > >> >There's only one tiny problem. Whatever I think about the full >

Testers needed: New passwd/group handling in Cygwin

2014-02-13 Thread Corinna Vinschen
Hi folks, this week I applied the first incarnation of the new passwd/group handling code to the Cygwin repository and after fixing a crash which manifested in Denis Excoffier's network, I think we're at a point which allows to push this forward. This is a pretty intrusive change, in need of som

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2014 at 11:00:25AM +0100, Corinna Vinschen wrote: >On Feb 12 16:37, Christopher Faylor wrote: >> On Wed, Feb 12, 2014 at 08:59:31PM +0100, Corinna Vinschen wrote: >> >There's only one tiny problem. Whatever I think about the full >> >enumerate being right or wrong, I have this vagu

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-13 Thread Andrey Repin
Greetings, Corinna Vinschen! >> >There's only one tiny problem. Whatever I think about the full >> >enumerate being right or wrong, I have this vague feeling that I'd like >> >to have this implemented fully at one point. My cat disapproves, but we >> >can't agree on everything, I guess. Another

Re: Status of Xemacs on cygwin64. Is help needed?

2014-02-13 Thread Dr. Volker Zell
> Henry S Thompson writes: > Anibal Morales writes: >> I don't have a lot of free time but I miss my Xemacs. If I can make >> a difference I would like to volunteer and help release this >> package but I am a total cygwin package noob. > Unfortunately it isn't (just) a

Re: get rid of getpwent? (Was: cygwin-1.7.28 getpwent header declaration changes ?)

2014-02-13 Thread Corinna Vinschen
On Feb 12 16:37, Christopher Faylor wrote: > On Wed, Feb 12, 2014 at 08:59:31PM +0100, Corinna Vinschen wrote: > >There's only one tiny problem. Whatever I think about the full > >enumerate being right or wrong, I have this vague feeling that I'd like > >to have this implemented fully at one point

Re: Status of Xemacs on cygwin64. Is help needed?

2014-02-13 Thread Henry S. Thompson
Anibal Morales writes: > I don't have a lot of free time but I miss my Xemacs. If I can make > a difference I would like to volunteer and help release this > package but I am a total cygwin package noob. Unfortunately it isn't (just) a packaging matter. Getting xemacs to compile for 64-bit c

[ANNOUNCEMENT] Updated: sqlite3-3.8.3.1-1 for Cygwin/Cygwin64

2014-02-13 Thread Jan Nijtmans
SQLite is a software library that implements a self-contained, serverless, zero-configuration, transactional SQL database engine Changes since 3.8.3-2 = * Updated to upstream 3.8.3.1 release. See: * One additional bug-fix in