psql "setsid" error

2010-04-27 Thread Gary .
I just thought I would report this, although it only happens occasionally. When trying to start psql I've had the result that it refused to start with the message "psql: FATAL: setsid() failed: Operation not permitted". I can't reproduce it on demand, and it only happens maybe 1 time in 20, maybe

Signal support under Cygwin

2010-04-27 Thread Nicholas Sherlock
Hi everybody, I've got some code on Linux which attempts to take periodic samples of my multi- threaded program to find out what task each thread is working on. For this I am installing a signal handler for each thread, and periodically sending SIGUSR1 to each thread I want to check with pthrea

RE: Cygwin Maximum Memory Documentation

2010-04-27 Thread Jay K
On 64bit systems, /largeaddressaware gives 32bit processes 4GB of address space, and no need to boot with a special option (well, other than using a 64bit OS!). search for "largeaddressaware": http://blogs.msdn.com/oldnewthing/archive/2005/06/01/423817.aspx - Jay ---

[ANNOUNCEMENT] Updated: findutils-4.5.8-1

2010-04-27 Thread Eric Blake (cygwin)
A new release of findutils, 4.5.8-1, is available, leaving 4.5.5-1 as previous. NEWS: = This is a new upstream release. Upstream news is attached. See also /usr/share/doc/findutils/. DESCRIPTION: The findutils package contains programs which will help you locate files on your s

Re: exec*() bug

2010-04-27 Thread Christopher Faylor
On Tue, Apr 27, 2010 at 02:44:14PM -0600, Eric Blake wrote: >On Linux, 'env ./.' triggers an exec() that fails with EACCES, and exits >with status 126 (file was located, but cannot be executed). But on >Cygwin, the exec() fails with ENOENT, and env exits with status 127 >(file could not be located

Re: Python 2.6 ?

2010-04-27 Thread Jason Tishler
Yaakov, On Tue, Jan 26, 2010 at 02:47:13PM -0600, Yaakov (Cygwin/X) wrote: > So if we keep with only one 2.x version at a time, then 2.6.4 as > experimental is probably the best bet, with a clear schedule to > maintainers of when 2.6 will go stable so the transition has a chance > of being smooth.

exec*() bug

2010-04-27 Thread Eric Blake
On Linux, 'env ./.' triggers an exec() that fails with EACCES, and exits with status 126 (file was located, but cannot be executed). But on Cygwin, the exec() fails with ENOENT, and env exits with status 127 (file could not be located). This is particularly insidious, because some programs depend

Cygwin Maximum Memory Documentation

2010-04-27 Thread Rob Donovan
I've found the following to be true on my system and feel these details could usefully be added to the Changing Cygwin's Maximum Memory page in the User's Guide. My system is a Dell Inspiron 1520 laptop with 4GB of physical RAM running Windows XP Home Edition with SP3. Uname -v reports the Cy

Re: Updated: clamav-0.96-1

2010-04-27 Thread Reini Urban
Yaakov (Cygwin/X) schrieb: On 2010-04-26 16:53, Reini Urban wrote: * Huge package size: cygclamav-6.dll went from 720KB to 10MB stripped, because llvm is linked statically. clamav includes its own copy of llvm or you built it with your own llvm package? The former of course. If my llvm packa

[ANNOUNCEMENT] Updated: cygport-0.9.83-1

2010-04-27 Thread Yaakov (Cygwin/X)
The following package has been updated for the Cygwin distribution: *** cygport-0.9.83-1 cygport is a tool for building Cygwin packages. This release fixes a regex for a change in Cygwin 1.7.2, without which split binary packages would be incorrectly empty under certain circumstances. Short

Re: Getting characters to display properly in Cygwin/RXVT/man pages

2010-04-27 Thread Thomas Wolff
On 27.04.2010 17:45, Bengt Larsson wrote: Andrew DeFaria wrote: When running a bash shell in rxvt and doing a man page I get weird characters in man pages especially around the often used "-" character. I've read about a few solutions, most revolving around UTF-8 and less and none of them fi

Re: Getting characters to display properly in Cygwin/RXVT/man pages

2010-04-27 Thread Jeremy Bopp
On 4/27/2010 10:45 AM, Bengt Larsson wrote: > Andrew DeFaria wrote: >> When running a bash shell in rxvt and doing a man page I get weird >> characters in man pages especially around the often used "-" character. >> I've read about a few solutions, most revolving around UTF-8 and less >> and non

Re: Getting characters to display properly in Cygwin/RXVT/man pages

2010-04-27 Thread Bengt Larsson
Andrew DeFaria wrote: >When running a bash shell in rxvt and doing a man page I get weird >characters in man pages especially around the often used "-" character. >I've read about a few solutions, most revolving around UTF-8 and less >and none of them fixing the problem totally. How do I set up

Getting characters to display properly in Cygwin/RXVT/man pages

2010-04-27 Thread Andrew DeFaria
When running a bash shell in rxvt and doing a man page I get weird characters in man pages especially around the often used "-" character. I've read about a few solutions, most revolving around UTF-8 and less and none of them fixing the problem totally. How do I set up rxvt such that man pages

Re: Information on CwRsync 3.0.7

2010-04-27 Thread Christopher Faylor
On Tue, Apr 27, 2010 at 08:09:44AM -0400, Maxey, Wanda (GE Infra, Energy, Non-GE) wrote: >I'm with General Electric and I'm looking for the ECCN number Export >Controls for this software. Does this software use any type of >encryption algorithms? If so, what type of encryption and is it 56-Bit >

Re: Cygwin's GCC doesn't like this .sa_handler initialization for some reason

2010-04-27 Thread Christopher Faylor
On Tue, Apr 27, 2010 at 08:20:00AM -0600, Eric Blake wrote: >On 04/27/2010 08:06 AM, Corinna Vinschen wrote: >>> And while we're touching the file, we probably want to do similar >>> treatment for struct siginfo_t: si_tid, si_overrun, si_sigval, si_value, >>> si_status, si_utime, si_stime, and si_a

Re: Filtered tokens

2010-04-27 Thread Corinna Vinschen
On Apr 27 10:14, Patrick Julien wrote: > On Tue, Apr 27, 2010 at 9:58 AM, Corinna Vinschen > > The basic problem is that Cygwin doesn't constitute a remote desktop > > logon server.  A session can only be created by a trusted logon process. > > There isn;'t a simple API to request a new session ID.

Re: Filtered tokens

2010-04-27 Thread Patrick Julien
On Tue, Apr 27, 2010 at 9:58 AM, Corinna Vinschen wrote: > On Apr 27 09:33, Patrick Julien wrote: >> On Tue, Apr 27, 2010 at 9:26 AM, Corinna Vinschen >> wrote: >> > On Apr 27 08:39, Patrick Julien wrote: >> >> OK, I understand why it's the privileged token but why is it still in >> >> session 0

Re: Cygwin's GCC doesn't like this .sa_handler initialization for some reason

2010-04-27 Thread Eric Blake
On 04/27/2010 08:06 AM, Corinna Vinschen wrote: >> And while we're touching the file, we probably want to do similar >> treatment for struct siginfo_t: si_tid, si_overrun, si_sigval, si_value, >> si_status, si_utime, si_stime, and si_addr. > > Does "we" mean you're going to provide a patch? Yes.

Re: Filtered tokens

2010-04-27 Thread Patrick Julien
On Tue, Apr 27, 2010 at 9:58 AM, Corinna Vinschen wrote: > On Apr 27 09:33, Patrick Julien wrote: >> On Tue, Apr 27, 2010 at 9:26 AM, Corinna Vinschen >> wrote: >> > On Apr 27 08:39, Patrick Julien wrote: >> >> OK, I understand why it's the privileged token but why is it still in >> >> session 0

Re: Cygwin's GCC doesn't like this .sa_handler initialization for some reason

2010-04-27 Thread Corinna Vinschen
On Apr 27 07:58, Eric Blake wrote: > On 04/27/2010 03:05 AM, Corinna Vinschen wrote: > > Like this? We are already using analog definitions in the socket header > > files. > > Yes, that looks right. > > > > > Index: include/cygwin/signal.h > > ===

Re: Cygwin's GCC doesn't like this .sa_handler initialization for some reason

2010-04-27 Thread Eric Blake
On 04/27/2010 03:05 AM, Corinna Vinschen wrote: > Like this? We are already using analog definitions in the socket header > files. Yes, that looks right. > > Index: include/cygwin/signal.h > === > RCS file: /cvs/src/src/winsup/cygw

Re: Filtered tokens

2010-04-27 Thread Corinna Vinschen
On Apr 27 09:33, Patrick Julien wrote: > On Tue, Apr 27, 2010 at 9:26 AM, Corinna Vinschen > wrote: > > On Apr 27 08:39, Patrick Julien wrote: > >> OK, I understand why it's the privileged token but why is it still in > >> session 0? > > > > Because it's started in session 0.  Creating our own se

Re: Filtered tokens

2010-04-27 Thread Patrick Julien
On Tue, Apr 27, 2010 at 9:26 AM, Corinna Vinschen wrote: > On Apr 27 08:39, Patrick Julien wrote: >> OK, I understand why it's the privileged token but why is it still in >> session 0? > > Because it's started in session 0.  Creating our own session for each user > could result in an enormous mem

Re: Filtered tokens

2010-04-27 Thread Corinna Vinschen
On Apr 27 08:39, Patrick Julien wrote: > OK, I understand why it's the privileged token but why is it still in session > 0? Because it's started in session 0. Creating our own session for each user could result in an enormous memory leak. > Also, it doesn't really explain why the files are all

RE: Information on CwRsync 3.0.7

2010-04-27 Thread Jason Pyeron
> -Original Message- > From: Jason Pyeron > Sent: Tuesday, April 27, 2010 8:51 > Subject: RE: Information on CwRsync 3.0.7 > > > > -Original Message- > > From: Maxey, Wanda (GE Infra, Energy, Non-GE) > > Sent: Tuesday, April 27, 2010 8:10 > > Subject: Information on CwRsync 3.0

RE: Information on CwRsync 3.0.7

2010-04-27 Thread Jason Pyeron
> -Original Message- > From: Maxey, Wanda (GE Infra, Energy, Non-GE) > Sent: Tuesday, April 27, 2010 8:10 > Subject: Information on CwRsync 3.0.7 CwRsync is not a "product" of cygwin.com Please see: http://www.itefix.no/i2/contact http://www.itefix.no/i2/node/10650 http://sereds.sourcef

Re: Filtered tokens

2010-04-27 Thread Patrick Julien
OK, I understand why it's the privileged token but why is it still in session 0? Also, it doesn't really explain why the files are all installed with ownership set to me On Tue, Apr 27, 2010 at 5:10 AM, Corinna Vinschen wrote: > On Apr 26 15:34, Patrick Julien wrote: >> I have read the page foun

Information on CwRsync 3.0.7

2010-04-27 Thread Maxey, Wanda (GE Infra, Energy, Non-GE)
I'm with General Electric and I'm looking for the ECCN number Export Controls for this software. Does this software use any type of encryption algorithms? If so, what type of encryption and is it 56-Bit or greater? "If greater than 56 bit, what is the purpose of the encryption?" Thank you

Re: Filtered tokens

2010-04-27 Thread Corinna Vinschen
On Apr 26 15:34, Patrick Julien wrote: > I have read the page found at > http://www.cygwin.com/cygwin-ug-net/ntsec.html but I still see the > following 2 issues with filtered tokens as implemented by Vista/7 when > used by cygwin. > > When I say filtered tokens, I'm talking about the dual token st

Re: Cygwin's GCC doesn't like this .sa_handler initialization for some reason

2010-04-27 Thread Corinna Vinschen
On Apr 26 19:54, Dave Korn wrote: > On 26/04/2010 17:45, Eric Blake wrote: > > [this was originally raised on the libvirt list] > > > > On 04/25/2010 05:32 AM, Matthias Bolte wrote: > >> +struct sigaction action_stop; > >> > >> -struct sigaction action_stop = { > >> -.sa_handler

Re: renameutils fails to build, error linking libintl?

2010-04-27 Thread David Sastre
Hello, Thanks for the feedback. It wasn't very difficult to trick the Makefile.am to include that flag, but I think that what I did is not the proper way to handle this issue, even though it produces valid binaries, so I reported this to the developer, because I think that could be a buggy behavio

Protecting msmtp passwords

2010-04-27 Thread Gary .
Unfortunately when I use msmtp with gnus, it seems that msmtp decides it can't ask me for a password. Is it possible to save them in some file and have them protected somehow? -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cyg