From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24107 invoked by alias); 30 Sep 2010 11:45:17 -0000 Received: (qmail 24001 invoked by uid 22791); 30 Sep 2010 11:45:14 -0000 X-SWARE-Spam-Status: No, hits=-0.7 required=5.0 tests=BAYES_00,RCVD_NUMERIC_HELO,SPF_HELO_PASS,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 30 Sep 2010 11:45:06 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P1HZP-0001la-6V for cygwin-talk@cygwin.com; Thu, 30 Sep 2010 13:45:03 +0200 Received: from 213.162.227.46 ([213.162.227.46]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 13:45:03 +0200 Received: from robert.schmidt-cisternas by 213.162.227.46 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 30 Sep 2010 13:45:03 +0200 To: cygwin-talk@cygwin.com From: Robert Schmidt Subject: unison 2.40.16 (cygwin) over ssh doesn't resume after merge command Date: Thu, 30 Sep 2010 11:45:00 -0000 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.9) Gecko/20100825 Thunderbird/3.1.3 X-IsSubscribed: yes Mailing-List: contact cygwin-talk-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-talk-owner@cygwin.com Reply-To: The Vulgar and Unprofessional Cygwin-Talk List Mail-Followup-To: cygwin-talk@cygwin.com X-SW-Source: 2010-q3/txt/msg00038.txt.bz2 Hi all, This is forwarded from the unison-users mailing list. Original post at the bottom... Executive summary: unison 2.40.16 (cygwin) freezes upon exit of a merge command, but only when one root is ssh. Works fine when both are local. Testing the MSVC build of 2.40.16 also works fine with a ssh-root. Any hints are welcome! As a last resort, I'll have to dive into building unison on cygwin myself. Cheers, Robert -------- Original Message -------- Thanks, Harald! However, I'm fairly committed to using cygwin in many respects (I synchronize a substantial set of portable tools, scripts and data between all my servers and workstation (about 10 in total)), and would prefer keep it that way. The debug message is the last debug output (using -debug all) before unison "freezes". I deemed the other messages to be unimportant - I realize I may have been mistaken. The problem seems to be easily reproducible on several of my workstations using the command line I posted, and doesn't seem to depend on any specifics of my setup. I have now done the test with the MSVC build of 2.40.16 (as client, against a cygwin unison+ssh "server"), and the problem does NOT occur. So it seems to be a problem with the cygwin port. What's the best way to proceed? I've never built unison myself, so I'm a bit stumped. Cheers, Robert On 28.09.2010 16:46, Harald Heigl wrote: > Why still using unison over cygwin? > > 2.40.16 supports Unicode, so no problem syncing between Win/Linux/Mac. > (The first two of them I can confirm) > > If you want to give it a try, sync your directories (if not working with > 2.40.16, then with an older version which worked for you) and after that > sync directly with 2.40.16 without cygwin (I use putty/plink for ssh). > > “The debug message” is from Option -debug all? Or is this just what it > prints out if you start the commando without debug option? > > Regards, > > *Von:* unison-users@yahoogroups.com > [mailto:unison-users@yahoogroups.com] *Im Auftrag von *Robert Schmidt > *Gesendet:* Dienstag, 28. September 2010 15:03 > *An:* unison-users@yahoogroups.com > *Betreff:* [unison-users] unison 2.40.16 (cygwin) over ssh doesn't > resume after merge command > > Hi, > > After the upgrade to 2.40.16, I've had problems with unison simply > freezing when the merge command has finished - as if it is still waiting > for the process to exit. > > This always happens when syncing local to a remote location over ssh, > but never when syncing two local roots. > > A sample command line (using a simple cp instead of my merge script): > > unison -root / -root ssh://mylogin@myserver// > -path > home/private/Documents/test.txt -merge "Name {*.txt} -> cp CURRENT1 NEW" > -backupcurrent "Name {*.txt}" -debug all > > The last debug message is: > > Merge command: cp '/home/private/Documents/.unison.merge1-test.txt' > '/home/private/Documents/.unison > .mergenew1-test.txt' > > After which, unison seems to wait indefinitely. > > Is this a known bug, or am I doing something wrong? >