cygwin and rsync

2006-01-05 Thread Ken Senior
Hi. I posted the message listed below to the rsync list, but one of the readers there suggested I post it here indicating that there's a known/common problem in cygwin of data loss in local pipes (whatever that means I am not sure). I find my rsync command hanging, whether or not I run it over

Re: cygwin and rsync

2006-01-05 Thread Ken Senior
l which might help narrow the problem. > >Is it at all possible to go the other way? I know if you are willing to >build your own rsync with the socketpair() called disabled it will work. > >Brett > > > >On Thu, 05 Jan 2006 18:46:04 -0500, "Ken Senior" <[

Re: cygwin and rsync

2006-01-05 Thread Ken Senior
. I've found this behavior >consistent, but then again, I always install Cygwin with the same set of >packages. Do you do a full install of Cygwin? I usually perform a >default install and just add vi, tcsh, openssh and rsync. > >Brett > >On Thu, 05 Jan 2006 19:37:22 -0

sshd must be restarted

2006-01-06 Thread Ken Senior
: ssh_exchange_identification: Connection closed by remote host Restarting the daemon, either in Windows services or on the bash command line, fixes the problem allowing in ssh traffic once again. ?? Thanks, Ken Senior -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports

Re: sshd must be restarted

2006-01-06 Thread Ken Senior
n/ssh-host-config -y' command followed by 'cygrunsrv -S sshd' This all sounds like a cruel permissions problem, yuck! -K On Fri, Jan 6, 2006, Chris Taylor <[EMAIL PROTECTED]> said: > Ken Senior wrote: >> Does anyone know why after a Windows XP reboot one must res

Re: sshd must be restarted

2006-01-07 Thread Ken Senior
David Christensen wrote: >Ken Senior wrote: > > >>Does anyone know why after a Windows XP reboot one must restart the SSH >>daemon in order to allow incoming ssh? >> >> > >rebaseall was the cure for me: > >http://sourceware.org/ml/cygwin/2

Re: cygwin and rsync

2006-01-07 Thread Ken Senior
nderstand why on the surface it sounds like we're >installing Cygwin the same way, yet yours runs Windows to Linux and mine >consistently hangs without recompiling without socketpair. > >Brett > >On Thu, 05 Jan 2006 20:53:23 -0500, "Ken Senior" ><[EMAIL PROTECTED]&

Re: cygwin and rsync

2006-01-08 Thread Ken Senior
I am at home today and cannot perform all of these, but on the Linux -> Windows, I was able to issue the rsync on [LOCAL/Linux] and then attach to the rsync process on [REMOTE/Windows] using gdb with the resulting backtrace output: $ gdb rsync 3032 GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Co

Re: cygwin and rsync

2006-01-08 Thread Ken Senior
Pushing from Windows to Linux works fine. It's the pulling from Windows into Linux (that is, initiating on Linux) which does not. On the gdb front, I found that whenever I launched the gdb on the Windows box, the process froze immediately instead of the usual place. That is, the gdb process seem

Re: sshd must be restarted

2006-01-09 Thread Ken Senior
-5-21-893714851-1888236101-3871409848-1112:/cygdrive/c/Documents and Settings/senior.SPACEAPPS.000:/bin/bash Larry Hall (Cygwin) wrote: Ken Senior wrote: Some packages (SSH) think the home page should be /home/senior whereas the default bash shell thinks it's located in /cygdrive/c/Do

debugging cygwin

2006-01-09 Thread Ken Senior
Does anyone know where one might find a version of the latest cygwin1.dll which was compiled with the '-g' (debugging) option set? If it's possible, I would recommend that each cygwin distribution be accompanyed by an optional cygwin1.dll which has been compiled with said option. Users can se

Re: debugging cygwin

2006-01-09 Thread Ken Senior
The add-symbol-file command doesn't seem to be present. This must not be part of the default distribution. -K Igor Peshansky wrote: On Mon, 9 Jan 2006, Ken Senior wrote: Does anyone know where one might find a version of the latest cygwin1.dll which was compiled with th

Re: debugging cygwin

2006-01-09 Thread Ken Senior
Actually, I should have been more specific with my statement, "not part of distribution" in the last email. The actual error from gdb is, "warning: no loadable section found in added symbol-file /usr/bin/cygwin1-20060108.dbg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple

Re: debugging cygwin

2006-01-09 Thread Ken Senior
Ok, so Igor's directions seem to conflict with the FAQ #15 about whether or not cygwin services must be halted. Can someone clarify that. In any case, after renaming the snapshot DLLs (from both 1/7 and 1/8) to /bin/cygwin1.dll, I find that no cygwin process will launch, not even the bash wind

Re: debugging cygwin

2006-01-09 Thread Ken Senior
As I continue to descend deeper into the rabbit hole To think, all this just to try to figure out why rsync is hanging So, rather than following the quick 'n dirty suggestion of Igor (Thanks though Igor), I followed the FAQ #15 on installing snapshots with the same problem---cygwin wil

permissions and ACLs

2006-01-10 Thread Ken Senior
Cygwin gurus, Frustrated by permission problems resulting from having two accounts with the same user name (one domain, one local) I decided to start over with my cygwin installation. This time, I logged in as local administrator (account name say [EMAIL PROTECTED]) and installed cygwin as t

Re: permissions and ACLs

2006-01-10 Thread Ken Senior
Igor, I changed the text of my email to make it more readable, replacing "senior" with "admin" as well as the name of my domain and machine. I'll leave the correct names this time. Yes, I actually did a recursive chown on everything below /, and it still doesn't work. I can't really see t

Re: permissions and ACLs

2006-01-10 Thread Ken Senior
Btw, to further help diagnose, I notice the "read-only" box is shaded and checked for the C:\cygwin directory. I have repeatedly (as administrator on the machine) tried to uncheck this box. The dialog at first appears to let me uncheck it, but when I go back into the dialog, the "read-only" b

Re: permissions and ACLs

2006-01-10 Thread Ken Senior
Ok, I tried attrib to no avail. After the machine accepted and seemed to process the commands, I entered the file properties dialog and the read-only box is still shaded. Also, I still can't delete the C:\cygwin\bin\rsync.exe file. C:\cygwin\bin>mount C:\cygwin\bin on /usr/bin type system (b

Re: permissions and ACLs

2006-01-10 Thread Ken Senior
C:\cygwin>cd bin C:\cygwin\bin>attrib rsync.exe A C:\cygwin\bin\rsync.exe C:\cygwin\bin>cacls rsync.exe C:\cygwin\bin\rsync.exe SPACEAPPS\senior:F ROMULUS\senior:F -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http:/

Re: permissions and ACLs

2006-01-10 Thread Ken Senior
Yes, ROMULUS is my local machine and senior the administrator on it. Sometimes you just have to cut your losses. Thanks for the help, but I was able to rename the C:\cygwin directory, then delete it. I couldn't just delete it first, only after renaming it, which surprisingly I was allowed to

Re: debugging cygwin

2006-01-10 Thread Ken Senior
Having regrouped with a new sense of hope I have tried once again 1. I changed the admin account on my Windows XP machine to admin, instead of senior. In the following test, I utilized only the local admin account (no domain accounts whatsoever) on [Windows Box] 2. On [Windows Box] I rein