delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/03/04/07:36:24

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=dA1cO/Ys2uZrEAE2vlUJDCl4Yqegbcd6XixSR5bNr28BL0/QR8wJA
r0bO+mtbjfOazgYHH5gKuQdzWYUqIn5WEr9b2WcnR9NZwPIEcNpINEVGRRQlQcC+
l2q5D62k2JbsAvY2XqBWYILSkFTATvfKzySxfHuWQhlKTp7MkBEVbI=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=bLkW28COoRDLzVxCI3EuWmiLuNI=; b=rsdC6Bl3qjafEtenZCcjBqwCRtgj
K6sUd1YcoRl0AG0AZwJR3VKcWn1LJDG+v8rk80cUyguyGrQ9g5vyMPFSz7IJrq8n
LxXcKv9ApIl++1p9LyKJhQMOE/CXINIMYi9S9lcmdCiUzlswAvPTmor3ircxLUnB
EdJWHX8iS28vASk=
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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-100.9 required=5.0 tests=BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=developer, Hx-languages-length:1932, H*F:D*cygwin.com, office
X-HELO: mout.kundenserver.de
Date: Mon, 4 Mar 2019 13:36:08 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsync failed after windows 10 update
Message-ID: <20190304123608.GE3785@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <1551701612886-0 DOT post AT n5 DOT nabble DOT com>
MIME-Version: 1.0
In-Reply-To: <1551701612886-0.post@n5.nabble.com>
User-Agent: Mutt/1.11.3 (2019-02-01)

--Ycz6tD7Th1CMF4v7
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mar  4 05:13, jwang wrote:
> Error message via strace:
>=20
> 1238   99433 [main] rsync 10684 getwinenv: can't set native for HOME=3D s=
ince
> no environ yet
>  3295  164392 [main] rsync 10684 transport_layer_pipes::connect: Try to
> connect to named pipe: \\.\pipe\cygwin-e022582115c10879-lpc
>   199  164591 [main] rsync 10684 transport_layer_pipes::connect: Error
> opening the pipe (2)
>   138  164729 [main] rsync 10684 client_request::make_request: cygserver
> un-available (/etc/cygserver.conf  not in office either, nor on asus)
>   109  282075 [main] rsync 10684 fhandler_pipe::create: name
> \\.\pipe\cygwin-e022582115c10879-pty0-from-master, size 131072, mode
> PIPE_TYPE_MESSAGE
>   188  282263 [main] rsync 10684 fhandler_pipe::create: pipe busy
>    84  416660 [main] rsync 10684 fhandler_base::open:
> (\??\C:\cygwin64\home\james\.popt, 0x108000)
>   154  416814 [main] rsync 10684 seterrno_from_nt_status:
> /home/corinna/src/cygwin/cygwin-2.10.0/cygwin-2.10.0-1.x86_64/src/newlib-=
cygwin/winsup/cygwin/fhandler.cc:680
> status 0xC0000034 -> windows error 2
  ^^^^^^^^^^^^^^^^^

This looks like a problem I only found this weekend.  Do you have WSL
activated?  If so, can you please do two things:

First, install the latest developer snapshot from
https://cygwin.com/snapshots/.  This is essential!

Second, check with `lsattr' if all or some of the directories you're
trying to rsync have the "case-sensitivity" flag set, e.g.

$ lsattr -d foo
---------n-C foo

That means the flag is set.  Remove the flag recursively, e.g.

$ chattr -R -C foo

Now try rsync again.

Here's what I found two days ago:

  https://github.com/Microsoft/WSL/issues/3885

The developer snapshot is needed so that Cygwin does not create
case-sensitive directories by default.  I'd released 3.0.2 with
this patch already but I'm still waiting for a report to a certain.
problem.


HTH,
Corinna

--=20
Corinna Vinschen
Cygwin Maintainer

--Ycz6tD7Th1CMF4v7
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlx9G7gACgkQ9TYGna5E
T6Bcug//fchHVZne9RQNeJfKLrkZXE4e/T2HyZRKHnuStTH5qOrp6YRln3vq8DuB
xXm87pEaoZx26HWoIQTCX1VSYotKJLNpYJcIxC6PJnNhiJFyH0Hd1GKw3arzBCao
uWgxpumTIIWKCYldhuXxCg05cC2Tts5RaVPoJ2CGO1V9rekLfStImIlYvHjQGg6b
LlY5uIRb7XIytjChGBYs+sc04u8kVXvLSiBLbwZOdbMvgqLiLS7OVWfq+/xEZZRx
JACRo7wCo4qqwYP5PttSUAmS0Lx/xvmtuOu28AygBDSWFHpvm50kRImy7/hzUXVR
NBos++oEcT7hKKG+bD3i+hfrJ6CibCsxD435uGJMt+DfbuZjcqTUGW3WjpDxGlw7
Sh6oN2zB5cqH9XR3l4vormO38DXTvVgE5aW2FDj+1xV2d6FgrmvFuXWPQQ/D4ayZ
ASenKDCvpLu/vPWUN+bcJsF1LfE0fUWw9RJrPFQ+xTlKZkOFQZzWVOD33YG7h7Gq
B9ynxt6rSqbSgs8fDebHPJA629JnTE0DM2jyPr7Or66Q9KMsIGyLQOVMRGvmWuWT
VMKQzTw4RDgI1wGJtr9lwPWF3KGTwIL327ZA4p8xzNpFqvG43u/X7EBbQmPTVwgo
rauYIw1PwOipCsy9SDe0bhOV5Fc3GJsKgdBada5ogPoPPfhNUpE=
=u0g5
-----END PGP SIGNATURE-----

--Ycz6tD7Th1CMF4v7--

- Raw text -


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