delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/10/01/05:06:15

X-Recipient: archive-cygwin AT delorie DOT com
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
To: cygwin AT cygwin DOT com
From: Robert Schmidt <robert DOT schmidt-cisternas AT blueback-reservoir DOT com>
Subject: unison 2.40.16 (cygwin) over ssh doesn't resume after merge command
Date: Fri, 01 Oct 2010 10:59:00 +0200
Lines: 92
Message-ID: <i847sl$otc$1@dough.gmane.org>
Mime-Version: 1.0
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-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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.

I'm up to date with cygwin 1.7 repositories.

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 AT yahoogroups DOT com
> [mailto:unison-users AT yahoogroups DOT com] *Im Auftrag von *Robert Schmidt
> *Gesendet:* Dienstag, 28. September 2010 15:03
> *An:* unison-users AT yahoogroups DOT 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 AT myserver// <ssh://mylogin AT 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?
>
>


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019