Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-23 Thread Jason Tishler
On Fri, Jan 20, 2012 at 02:23:15PM +0100, Corinna Vinschen wrote: [Moved to cygwin-apps for discussion] On Jan 20 09:49, marco atzeri wrote: As rebaseall is almost mandatory on W7/64 and we are always suggesting it to anyone with fork problem, I think a simple batch file in the / (called

Re: /rebase.sh (was Re: YA call for snapshot testing)

2012-01-23 Thread Corinna Vinschen
On Jan 23 10:51, Jason Tishler wrote: On Fri, Jan 20, 2012 at 02:23:15PM +0100, Corinna Vinschen wrote: [Moved to cygwin-apps for discussion] On Jan 20 09:49, marco atzeri wrote: As rebaseall is almost mandatory on W7/64 and we are always suggesting it to anyone with fork problem,

[SECURITY] jasper

2012-01-23 Thread Yaakov (Cygwin/X)
Dr. Volker Zell, Security vulnerabilities have been announced for jasper (CVE-2011-4516, CVE-2011-4517). Please rebuild jasper ASAP with the following patch: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/media-libs/jasper/files/CVE-2011-4516+7.patch Yaakov

Re: Levovo trackpoint come delayed (reproducable with xev)

2012-01-23 Thread Jon TURNEY
On 22/01/2012 23:10, Paul Maier wrote: Lenovo trackpoint scrolling events get buffered somewhere until I release the button: then I get hundreds of scrolling events all at once. I can clearly see these events in xev. Result is that I don't really experience scrolling, rather jumping up

Re: XWIN-1.11.3.0 crashes when some client programs terminate.

2012-01-23 Thread rodmed...@cantv.net
Hi, Jon TURNEY wrote: you've made a typo somewhere. It was indeed a typo! Thanks a lot RM -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ:

AW: Levovo trackpoint come delayed (reproducable with xev)

2012-01-23 Thread Paul Maier
On 22/01/2012 23:10, Paul Maier wrote: Lenovo trackpoint scrolling events get buffered somewhere until I release the button: then I get hundreds of scrolling events all at once. I can clearly see these events in xev. Result is that I don't really experience scrolling, rather

src/winsup/cygwin ChangeLog syscalls.cc

2012-01-23 Thread corinna
CVSROOT:/cvs/src Module name:src Changes by: cori...@sourceware.org 2012-01-23 12:59:45 Modified files: winsup/cygwin : ChangeLog syscalls.cc Log message: * syscalls.cc (gethostid): Simplify. Just fetch MachineGuid and create hash from there. Patches:

src/winsup/utils ChangeLog ldd.cc

2012-01-23 Thread yselkowitz
CVSROOT:/cvs/src Module name:src Changes by: yselkow...@sourceware.org 2012-01-24 00:29:01 Modified files: winsup/utils : ChangeLog ldd.cc Log message: * ldd.cc (start_process): Handle .oct and .so as DLLs. Patches:

[PATCH] ldd: support .oct and .so modules

2012-01-23 Thread Yaakov (Cygwin/X)
Octave modules use the .oct extension, and several programs use .so for modules even on Cygwin (e.g. Apache2, Mesa, OpenSSL, Ruby). Currently, running ldd(1) on any of these returns ENOEXEC. The attached patch fixes ldd to treat these as DLLs and show their runtime dependencies. Yaakov

Re: [PATCH] ldd: support .oct and .so modules

2012-01-23 Thread Christopher Faylor
On Mon, Jan 23, 2012 at 11:53:23PM -0600, Yaakov (Cygwin/X) wrote: Octave modules use the .oct extension, and several programs use .so for modules even on Cygwin (e.g. Apache2, Mesa, OpenSSL, Ruby). Currently, running ldd(1) on any of these returns ENOEXEC. The attached patch fixes ldd to treat

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 22 17:52, Yuri Gribov wrote: Hi all, I have some problems with gethostid functions. When I run it on some nodes of my cluster I get the same return value although hostnames and IP addresses are different. Here are the logs for 2 nodes (test program is in the attach, as well as

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Corinna Vinschen
On Jan 22 16:30, Andrew DeFaria wrote: On 1/22/2012 10:21 AM, Len Giambrone wrote: I believe that PuTTy is SSH2, while Cygwin is OpenSSH. You can convert them using ssh-keygen: ssh-keygen -f putty_key -i openssh_key I tried this. It didn't work. Same error as before. Read 8.2.12 of

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! I try to explain to people how getting Putty to do ssh, Reflection X to do X11, FireFTP or whatever to do ftp, ActiveState Perl to do Perl, etc. is the wrong way to go about putting together a good set of tools when you can more simply just get Cygwin to do all of

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! On 1/22/2012 10:21 AM, Len Giambrone wrote: I believe that PuTTy is SSH2, while Cygwin is OpenSSH. PuTTY using it's own format for SSH2 keys. As explained in help file. You can convert them using ssh-keygen: ssh-keygen -f putty_key -i openssh_key I tried this.

Re: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Andrey Repin
Greetings, cygwin! Thanks for corroborating my finding. Does anybody else think it is odd that this has not been pointed out before? My Ubuntu Hardy box exhibiting the same behavior. Why would date use signed long integers to hold numbers of seconds? Because, you know, UNIX time is a

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 23 10:53, Corinna Vinschen wrote: While gethostid is not guaranteed to return a globally unique ID, I think I see the potential flaws in the algorithm. It shouldn't be too hard to make it a bit more intelligent. Or, we just replace it with a simple algorithm as it's described in the

Re: Elevated prompt under ssh on Windows 7

2012-01-23 Thread Timothy Madden
On 18.01.2012 16:16, Corinna Vinschen wrote: On Jan 18 07:58, Ryan Johnson wrote: On 18/01/2012 7:12 AM, Timothy Madden wrote: Is there a way to get the remote shell not to run elevated under sshd, even if the user could otherwise run programs elevated in the native Windows OS ? I suspect you

Re: pure-ftpd access to cygdrive

2012-01-23 Thread Larry Hall (Cygwin)
On 1/22/2012 5:03 AM, Gyurmo wrote: Hello; How can I get access for cygdrive folder from pure-ftpd? If I browse I cant see that. Why? I don't know. Can you see it from bash (or your favorite shell)? Keep in mind that 'cygdrive' is a virtual directory. I'd recommend filing a full problem

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
On 01/23/2012 02:56 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! I try to explain to people how getting Putty to do ssh, Reflection X to do X11, FireFTP or whatever to do ftp, ActiveState Perl to do Perl, etc. is the wrong way to go about putting together a good set of tools when you can

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
On 01/23/2012 03:02 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! On 1/22/2012 10:21 AM, Len Giambrone wrote: I believe that PuTTy is SSH2, while Cygwin is OpenSSH. PuTTY using it's own format for SSH2 keys. As explained in help file. That's another thing about these one offs - they

Re: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Keith Christian
On Sun, Jan 22, 2012 at 10:23 PM, Buchbinder, Barry (NIH/NIAID) [E] bbuchbin...@niaid.nih.gov wrote: cygwin sent the following at Sunday, January 22, 2012 3:39 PM /c cal 9 1752   September 1752 Su Mo Tu We Th Fr Sa       1  2 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Is this a

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 1:57 AM, Corinna Vinschen wrote: On Jan 22 16:30, Andrew DeFaria wrote: On 1/22/2012 10:21 AM, Len Giambrone wrote: I believe that PuTTy is SSH2, while Cygwin is OpenSSH. You can convert them using ssh-keygen: ssh-keygen -f putty_key -i openssh_key I tried this. It didn't

Re: Problem with gethostid

2012-01-23 Thread Yuri Gribov
I have some problems with gethostid functions. I have checked the implementation of gethostid in syscalls.cc - it seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I checked GUIDs of my machines and they are clearly different so this is not the reason for error. No idea what's

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Corinna Vinschen
On Jan 23 11:01, Andrew DeFaria wrote: On 1/23/2012 1:57 AM, Corinna Vinschen wrote: -BEGIN DSA PRIVATE KEY- MIIBuwIBAAKBgQDI+RkFLTib52+4+OzI+035r8fIConadaJuXNd+ZRSOvoLJar44 1m7jgSnp2A52LJ8LJeC99c7NQ1BBoHueRkgBWReH7orWH2T/vlFrPRgIU48vvgPH

Re: Problem with gethostid

2012-01-23 Thread Corinna Vinschen
On Jan 23 23:23, Yuri Gribov wrote: I have some problems with gethostid functions. I have checked the implementation of gethostid in syscalls.cc - it seems that it uses HKLM/Software/Microsoft/Cryptography/MachineGuid. I checked GUIDs of my machines and they are clearly different so this is

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! What feature does putty have that I need? A GUI dialog box that I need to fill out to connect to a system? No, you don't need a GUI dialog box to connect to your system with PuTTY. Just invoke it with putty.exe -ssh username@address It'll use default session

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrey Repin
Greetings, Andrew DeFaria! I believe that PuTTy is SSH2, while Cygwin is OpenSSH. PuTTY using it's own format for SSH2 keys. As explained in help file. That's another thing about these one offs - they invent there own ways of doing things making them different and not compatible with already

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Len Giambrone
-key-20120123 THIS is what your OpenSSH public key should look like. -Len On Jan 23, 2012, at 2:01 PM, Andrew DeFaria wrote: You're right. I made a mistake. Corrected it: Ltsdo-adefaria:cat /tmp/sshkey_public BEGIN SSH2 PUBLIC KEY Comment: dsa-key-20120121

isprint core dump

2012-01-23 Thread Nellis, Kenneth
I haven't had the chance to try under Linux, but isprint(3055872) is core-dumping on me. Here's a STC: == #include stdio.h #include ctype.h int main (void) { int a = 3055872; int b = isprint(a); printf (%d %d\n, a, b); return 0; }

Re: isprint core dump

2012-01-23 Thread Ryan Johnson
On 23/01/2012 3:16 PM, Nellis, Kenneth wrote: I haven't had the chance to try under Linux, but isprint(3055872) is core-dumping on me. From the isprint() man page: /c/ ... must have the value of an /unsigned char/ or *EOF* The test case probably overruns some internal table by 3MB or so.

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 11:38 AM, Corinna Vinschen wrote: On Jan 23 11:01, Andrew DeFaria wrote: On 1/23/2012 1:57 AM, Corinna Vinschen wrote: -BEGIN DSA PRIVATE KEY- MIIBuwIBAAKBgQDI+RkFLTib52+4+OzI+035r8fIConadaJuXNd+ZRSOvoLJar44 1m7jgSnp2A52LJ8LJeC99c7NQ1BBoHueRkgBWReH7orWH2T/vlFrPRgIU48vvgPH

Re: isprint core dump

2012-01-23 Thread Jon Clugston
On Mon, Jan 23, 2012 at 3:16 PM, Nellis, Kenneth kenneth.nel...@acs-inc.com wrote: I haven't had the chance to try under Linux, but  isprint(3055872) is core-dumping on me. Here's a STC: == #include stdio.h #include ctype.h int main (void) {    int a

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 11:38 AM, Andrey Repin wrote: Greetings, Andrew DeFaria! What feature does putty have that I need? A GUI dialog box that I need to fill out to connect to a system? No, you don't need a GUI dialog box to connect to your system with PuTTY. Just invoke it with putty.exe -ssh

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
/6O6ofq3TRPliONE3euQSA6SRbH7YKIKmb1+HqxTOy+A= dsa-key-20120123 THIS is what your OpenSSH public key should look like. I agree 100%. And I did that - to start with, and did it again many times to verify it, etc. Problem is it constantly fails. I think the problem is really one of permissions

RE: isprint core dump

2012-01-23 Thread Nellis, Kenneth
From: Ryan Johnson From the isprint() man page: /c/ ... must have the value of an /unsigned char/ or *EOF* FWIW, that didn't come from the cygwin man page. --Ken Nellis -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation:

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Len Giambrone
+HqxTOy+A= dsa-key-20120123 THIS is what your OpenSSH public key should look like. I agree 100%. And I did that - to start with, and did it again many times to verify it, etc. Problem is it constantly fails. I think the problem is really one of permissions, not the appropriate key. Seem ssh

Re: isprint core dump

2012-01-23 Thread Eric Blake
On 01/23/2012 01:44 PM, Nellis, Kenneth wrote: From: Ryan Johnson From the isprint() man page: /c/ ... must have the value of an /unsigned char/ or *EOF* FWIW, that didn't come from the cygwin man page. No, but it DOES come from POSIX:

Re: Putty and pre-shared keys with Cygwin's sshd

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 12:45 PM, Len Giambrone wrote: Well, try adding the key to authorized_keys on a box where you have ssh working and see if it works. If not, you know you have a key problem. If so, you know you have a permissions problem. Good approach. Tried it. It worked! More evidence that this

RE: isprint core dump

2012-01-23 Thread Nellis, Kenneth
From: Eric Blake No, but it DOES come from POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html And cygwin's behavior matches POSIX on this point; the bug is in your program, not cygwin. Call me blown away by the level of support this function that dumps core is

Re: isprint core dump

2012-01-23 Thread Eric Blake
On 01/23/2012 02:34 PM, Nellis, Kenneth wrote: From: Eric Blake No, but it DOES come from POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html And cygwin's behavior matches POSIX on this point; the bug is in your program, not cygwin. Call me blown away by the

Re: ssh pubkey exchange failing at send_pubkey_test

2012-01-23 Thread Larry Hall (Cygwin)
On 1/21/2012 5:10 AM, Hans-Georg Scherneck wrote: My cygwin runs on a Windows 7. My problem is similar to a previous one * /From/: Christophe Sauthierchristophe dot sauthier at gmail dot com * /To/: Cygwin Listcygwin at cygwin dot com * /Date/: Wed, 13 Apr 2005 10:39:14 +0200 * /Subject/: Re:

Re: ssh pubkey exchange failing at send_pubkey_test

2012-01-23 Thread Andrew DeFaria
On 1/23/2012 2:22 PM, Larry Hall (Cygwin) wrote: When I've seen this before on this list, it's because you are in a domain and your user is a domain user. If that's the case, you want to create a domain account to run your sshd server or use a local user to ssh in with. If this doesn't

Re: ssh pubkey exchange failing at send_pubkey_test

2012-01-23 Thread Larry Hall (Cygwin)
On 1/23/2012 5:41 PM, Andrew DeFaria wrote: On 1/23/2012 2:22 PM, Larry Hall (Cygwin) wrote: When I've seen this before on this list, it's because you are in a domain and your user is a domain user. If that's the case, you want to create a domain account to run your sshd server or use a local

RE: 1.7.9 : date command fails for year 1900

2012-01-23 Thread Buchbinder, Barry (NIH/NIAID) [E]
Keith Christian sent the following at Monday, January 23, 2012 2:00 PM cygwin sent the following at Sunday, January 22, 2012 3:39 PM On Sun, Jan 22, 2012 at 10:23 PM, Buchbinder, Barry (NIH/NIAID) [E] bbuchbin...@niaid.nih.gov wrote: /c cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa

Re: isprint core dump

2012-01-23 Thread Ryan Johnson
On 23/01/2012 4:39 PM, Eric Blake wrote: On 01/23/2012 02:34 PM, Nellis, Kenneth wrote: From: Eric Blake No, but it DOES come from POSIX: http://pubs.opengroup.org/onlinepubs/9699919799/functions/isprint.html And cygwin's behavior matches POSIX on this point; the bug is in your program, not

Use of acl on smb related filesystems

2012-01-23 Thread Andrew DeFaria
OK I'm starting a new thread here for this different problem. Here's a problem statement: Ltsdo-adefaria:pwd /home/adefaria Ltsdo-adefaria:mount | grep adefaria //fs-irva-82/adefaria on /home/adefaria type netapp (binary,user) Ltsdo-adefaria:touch foo Ltsdo-adefaria:ls -l foo -rw-r--r-- 1