openssl coredump problem

2008-11-19 Thread Hirokazu Yamamoto
Hello. When using thread and openssl CRYPTO_set_locking_callback, application can core dump when it terminates. Please try http://bugs.python.org/file11620/reproduce.zip. (I don't have cygwin now, so I cannot get output of this) See how this affect python in http://bugs.python.org/issue3947. Th

Re: help with bash/readline dll interaction bug

2008-11-19 Thread Brian Dessent
Eric Blake wrote: > Is there > some slick way to make bash grab a function pointer that can see through > the trampoline and see that bash's trampoline version of rl_tab_insert is > indeed the same function as readline's local rl_tab_insert? Sure, arrange for there to be a __declspec(dllimport) o

help with bash/readline dll interaction bug

2008-11-19 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I'm trying to release readline-5.2.13-11, but before I do, I'd like to fix this bug in bash: http://sourceware.org/bugzilla/show_bug.cgi?id=6840 Basically, bash has a place where it calls a readline function that returns a function pointer, then it c

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Herb Maeder
On 19 Nov 2008 09:54:41 EST, Christopher Faylor wrote: > On Wed, Nov 19, 2008 at 07:24:33AM -0500, Brett Serkez wrote: > >I spent considerable time on this and reported were the problem is > >occurring to no avail, don't waste your time. In a nutshell the issue > >is with Cygwin's bi-directional p

Re: sshd on vista error "initgroups: Permission denied" (cygwin-1.7)

2008-11-19 Thread Herb Maeder
On 14 Nov 2008 10:53:12 +0100, Corinna Vinschen wrote: > Actually this isn't a ssh-host-config problem, but a generic problem > for all admin tasks. Installing any service requires elevation, or > running in a Admin shell. I'm not really convinced that we need it. > Admins running admin tasks sho

Re: sshd on vista error "initgroups: Permission denied" (cygwin-1.7)

2008-11-19 Thread Herb Maeder
On 13 Nov 2008 11:35:43 +0100, Corinna Vinschen wrote: > > Looking ahead, I suspect that this combo (sshd + 1.7 + vista + domain user) > > will be pretty common. Is there a plan for steering users in the right > > direction during the setup of sshd, or maybe giving a more descriptive > > error me

NoNTsec confuses anti-virus tool? (was: Re: 1.7 - noacl for cygdrive)

2008-11-19 Thread Richard Ivarson
Rob Bosch wrote: [..] Rsync will work fine with 1.5.25. Just set the global NTSEC (see http://www.cygwin.com/cygwin-ug-net/ntsec.html). You have to set this variable in your system environment so that any process spawned gets it, especially if you are running rsync as a service. Rob, and ot

Re: 1.7 - noacl for cygdrive

2008-11-19 Thread Richard Ivarson
Christopher Faylor schrieb: On Tue, Nov 18, 2008 at 08:35:04AM -0700, Rob Bosch wrote: Rob, many thanks for your reply. So it's not just me having massive problems with the NT permissions which are being messed up by Cygwin tools like rsync. Actually most Cygwin users should see these probl

Re: Cygwin sshd key auth doesn't work (seteuid 500: Permission denied) [SOLVED]

2008-11-19 Thread Larry Hall (Cygwin)
On 11/19/2008, Tomàs Núñez wrote: I've found this doc http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html and followed the part of "privilege separation". After that, everything worked fine with key auth. It's always recommended that you stick with the defaults of the configuration scripts

Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Corinna Vinschen wrote: > I'm not talking about providing symlinks to all binaries in > /usr/X11R6/bin, just xauth. It's the one serious X application called > from other applications for authentication purposes. The current > transition method bre

Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Corinna Vinschen
On Nov 19 09:46, Yaakov (Cygwin Ports) wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Corinna Vinschen wrote: > > Wouldn't it make sense to create a symlink /usr/X11R6/bin/xauth > > additionally for backward compatibility as it exists on some Linux > > systems? Openssh might not b

Re: mmap call gives invalid argument

2008-11-19 Thread Corinna Vinschen
On Nov 19 22:56, Carlo Florendo wrote: > On Wed, Nov 19, 2008 at 7:28 PM, Corinna Vinschen wrote: > > On Nov 19 14:49, Carlo Florendo wrote: > >> Good day Cygwin gurus, > >> > > >> $ ./dmidecode.exe > >> # dmidecode 2.9 > >> SMBIOS 2.5 present. > >> 54 structures occupying 1495 bytes. > >> Table a

Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Yaakov (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Corinna Vinschen wrote: > Wouldn't it make sense to create a symlink /usr/X11R6/bin/xauth > additionally for backward compatibility as it exists on some Linux > systems? Openssh might not be the only affected application. I'm not about to rebuild d

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Brett Serkez
On Wed, Nov 19, 2008 at 9:54 AM, Christopher Faylor <[EMAIL PROTECTED]> wrote: > Your analysis of the problem is likely incorrect. I think we are saying the same thing, if you like your explanation better, that is fine with me. > Nevertheless, the problem is still there and as always PGA. I have

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Christopher Faylor
On Wed, Nov 19, 2008 at 07:24:33AM -0500, Brett Serkez wrote: >I spent considerable time on this and reported were the problem is >occurring to no avail, don't waste your time. In a nutshell the issue >is with Cygwin's bi-directional pipe emulation, this is a fundamental >feature of all UNIXies.

Re: mmap call gives invalid argument

2008-11-19 Thread Carlo Florendo
On Wed, Nov 19, 2008 at 7:28 PM, Corinna Vinschen wrote: > On Nov 19 14:49, Carlo Florendo wrote: >> Good day Cygwin gurus, >> >> $ ./dmidecode.exe >> # dmidecode 2.9 >> SMBIOS 2.5 present. >> 54 structures occupying 1495 bytes. >> Table at 0x3BEE3000. >> >> /dev/mem: mmap: Invalid argument > > Ca

Re: Small documention addenda

2008-11-19 Thread Frank Fesevur
2008/11/19 Corinna Vinschen wrote: > Btw., is there really no way to use setup.exe for automatic updates > using some of the command line switches? I honestly don't know. I use a batch file like this one. I don't schedule it, but that should not be a problem. The biggest problem is open files. @

Re: SFTP doesn't work with ChrootDirectory option set

2008-11-19 Thread TheO
Hi Corinna, I tried to set ChrootDirectory to / (the root directory) which normally is identical to "no jail" (and therefore I don't need to copy anything to user's home directory). But it didn't work for SFTP; it worked for SSH though. Corinna Vinschen wrote:

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Corinna Vinschen
On Nov 19 07:24, Brett Serkez wrote: > On Wed, Nov 19, 2008 at 6:54 AM, Fred Kemp <[EMAIL PROTECTED]> wrote: > > In the meantime, if anyone has any ideas as to where the problem lies, I > > would be willing to spend some time investigating it further. It does seem > > to be a longstanding issue, wi

Re: SFTP doesn't work with ChrootDirectory option set

2008-11-19 Thread Corinna Vinschen
On Nov 19 05:37, TheO wrote: > Hi Corina, > > I agree with you on the fact that it's difficult to have full protection from > Cygwin for ssh login. > > But my main concern is SFTP. What can a user do with SFTP if he is jailed in > Cygwin? He can only see, upload, download files in the allowed d

Re: SFTP doesn't work with ChrootDirectory option set

2008-11-19 Thread TheO
Hi Corina, I agree with you on the fact that it's difficult to have full protection from Cygwin for ssh login. But my main concern is SFTP. What can a user do with SFTP if he is jailed in Cygwin? He can only see, upload, download files in the allowed directories using SFTP and can't execute an

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Brett Serkez
On Wed, Nov 19, 2008 at 6:54 AM, Fred Kemp <[EMAIL PROTECTED]> wrote: > Hi Ged, > > Thanks for the info, due to being on a University campus, we are restricted > in what we are allowed to set up and VPN's are one of those explicitly > mentioned :-( However, since OsX has a built in VPN server, I wi

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread Fred Kemp
Hi Ged, Thanks for the info, due to being on a University campus, we are restricted in what we are allowed to set up and VPN's are one of those explicitly mentioned :-( However, since OsX has a built in VPN server, I will perhaps have a covert test of this if I can get rsyncd to play nice

Re: Password authentication keeps kicking in on SSH client connection attempt.

2008-11-19 Thread Corinna Vinschen
On Nov 15 10:57, tyrone donnelly wrote: > Hi, > > The password authentication keeps kicking in on SSH client connection attempt. > > I know this question has been asked a zillion times. It seems that > each problem becomes unique to specific builds, > or new releases. I hope this is a simple solu

Re: mmap call gives invalid argument

2008-11-19 Thread Corinna Vinschen
On Nov 19 14:49, Carlo Florendo wrote: > Good day Cygwin gurus, > > I'm trying to run a very tiny app called dmidecode on cygwin > (http://download.savannah.gnu.org/releases/dmidecode/dmidecode-2.9.tar.gz). > The app is so small it takes 5 seconds for it to compile OOTB. For > several years, I'

Re: 1.7 preallocate issue?

2008-11-19 Thread Corinna Vinschen
Rob, would you mind to use a mailer which honors mailing list threading? It's quite confusing to find your replies all over the place because your mailer doesn't add "In-Reply-To:" and "References:" headers. Thanks. On Nov 17 15:40, Rob Bosch wrote: > No OS limitations...the problem only occurred

Re: SFTP doesn't work with ChrootDirectory option set

2008-11-19 Thread Corinna Vinschen
On Nov 18 00:02, TheO wrote: > Actually my real objective is to use chroot for SFTP. I am planning to > disable ssh login in the final configuration, I was using ssh just for > testing the sshd capability for chrooting. http://cygwin.com/acromyns/#TOFU It's not enough to have a bash in the jail

Re: Small documention addenda

2008-11-19 Thread Corinna Vinschen
On Nov 17 18:11, Valerio Bigiani wrote: > I need to reference in my thesis the fact that setup.ini isn't (by default) > updated automatically via crontab, but you need to manually run setup.exe > to update the package list. I tried googling a bit for variations of > "setup.ini cygwin update" (an

Re: Root Permissions - Vista Home Edition

2008-11-19 Thread Corinna Vinschen
On Nov 17 11:46, Larry Hall (Cygwin) wrote: > Christopher Faylor wrote: >> On Mon, Nov 17, 2008 at 11:34:49AM -0500, Larry Hall (Cygwin) wrote: >>> David Halstead wrote: Hi, I have spent a week trying to find how to 'su' or login as root, and have failed abysmally. Could you pl

Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Corinna Vinschen
Yaakov, one question, On Nov 19 11:30, Corinna Vinschen wrote: > On Nov 16 13:12, Christopher Faylor wrote: > > On Sat, Nov 15, 2008 at 11:10:34PM -0600, Yaakov (Cygwin Ports) wrote: > > >We're getting a number of bug reports that ssh has a hardcoded path to > > >/usr/X11R6/bin/xauth. As part of

Re: openssh needs rebuild for modular X transition

2008-11-19 Thread Corinna Vinschen
On Nov 16 13:12, Christopher Faylor wrote: > On Sat, Nov 15, 2008 at 11:10:34PM -0600, Yaakov (Cygwin Ports) wrote: > >We're getting a number of bug reports that ssh has a hardcoded path to > >/usr/X11R6/bin/xauth. As part of the X11 transition, xauth was moved to > >/usr/bin, so ssh claims not to

Re: Cygwin sshd key auth doesn't work (seteuid 500: Permission denied) [SOLVED]

2008-11-19 Thread Tomàs Núñez
Hi I've found this doc http://ist.uwaterloo.ca/~kscully/CygwinSSHD_W2K3.html and followed the part of "privilege separation". After that, everything worked fine with key auth. Thanks anyway!! Tomàs En/na Tomàs Núñez ha escrit: sshd: PID 8272: fatal: seteuid 500: Permission denied. Did

Re: SFTP doesn't work with ChrootDirectory option set

2008-11-19 Thread TheO
Hi again, Actually I am newbie to cygwin and this mailing list so first, please excuse my ignorance. I just want to know whether this ChrootDirectory option is currently unsupported in cygwin SSH or is it just me who don't know how to use it? I googled about this particular issue and saw that

Fw: Re: SFTP doesn't work with ChrootDirectory option set

2008-11-19 Thread TheO
Hi again, Actually I am newbie to cygwin and this mailing list so first, please excuse my ignorance. I just want to know whether this ChrootDirectory option is currently unsupported in cygwin SSH or is it just me who don't know how to use it? I googled about this particular issue and saw that

Re: rsync 3.0.4 over ssh hanging on cygwin 1.7

2008-11-19 Thread G.W. Haywood
Hi there, On Wed, 19 Nov 2008 Fred Kemp wrote: > ... Unfortunately our data files are frequently in the 3-4Gb range > so it sounds like SFU is unlikely to be an option either. > > Would like to persist with cygwin as we use it for some of our > proteomics tools. I guess I'll have to ditch the sec

Re: Cygwin sshd key auth doesn't work (seteuid 500: Permission denied)

2008-11-19 Thread Tomàs Núñez
sshd: PID 8272: fatal: seteuid 500: Permission denied. Did you configure your SSH installation with ssh-host-config? How about your user with ssh-user-config? I did indeed. When I run ssh daemon as a user, in order to debug, I get that: [EMAIL PROTECTED] ~/$ /usr/sbin/sshd.exe -