X-Recipient: archive-cygwin@delorie.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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; q=dns; s=default; b=cLUtUXr
	syGzJrr/xrn3e5bre+tOQVYMWbx6ztJzANh2C4ia0sLboXSpHRvviFw42U90Js/D
	XVmNs1kX8dqq8aUR/OwGlM38t+G8SsrXZZ/Yg1jW4zVY3u1L2VcDGjqI7whtpn+K
	eg+096kHec3meWTQxUuQjhN7pHtXiZhfEfTQ=
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:mime-version:in-reply-to:references:from:date
	:message-id:subject:to:content-type; s=default; bh=dfEVhd7FhkHmI
	2U88MpAYX1BsKU=; b=pkrQLhMeTONOyX/3zhtXtti8l8hK04rh0NkkOpe/cMQB9
	b9TJyvvS4xDBnVl2Yd/wD4kHSw9Gb6+3wBZnsWr4y8ZZtGWJUZuQ8HC9UF06TS2U
	58EdhKbZH/DHR6FqdUJVrwwjPw/bRP8+xuONMvv/qbi5hKntiv95/w4uXMwJng=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: s87.webhostingserver.nl
X-Received: by 10.112.129.228 with SMTP id nz4mr2380240lbb.9.1409214159823; Thu, 28 Aug 2014 01:22:39 -0700 (PDT)
MIME-Version: 1.0
In-Reply-To: <CAKf2h5Q8XRw5=uknicb6ObVxXN8zt9SDoaXvg_Hhd7hBDADn+w@mail.gmail.com>
References: <CAKf2h5QUACgams++7Vm9N2uCP63hY2m5wvEDhe_odeSioSA-fg@mail.gmail.com> <CAKf2h5Q8XRw5=uknicb6ObVxXN8zt9SDoaXvg_Hhd7hBDADn+w@mail.gmail.com>
From: Frank Fesevur <ffes@users.sourceforge.net>
Date: Thu, 28 Aug 2014 10:22:09 +0200
Message-ID: <CAKf2h5RnwkR2=GtdeVy1rQPvjT4pw26L44de4GTB9y=iKriYag@mail.gmail.com>
Subject: Re: rsyncd broken
To: "cygwin@cygwin.com" <cygwin@cygwin.com>
Content-Type: text/plain; charset=UTF-8
X-IsSubscribed: yes

2014-08-25 9:46 GMT+02:00 Frank Fesevur:
> 2014-08-22 14:42 GMT+02:00 Frank Fesevur:
>> I will try a self build vanilla rsync.exe 3.1.1 this weekend or early
>> next week and see how that works.
>
> I have tried my own build 3.1.1 last night and it fails with the same
> errors. I will investigate this.

Made a bit of progress. When I comment out the lines uid = 0 and gid =
0 from my /etc/rsyncd.conf v3.1.1. seems to work again, although I
haven't tried on our production server yet. I rather wait with that
until the weekend when there is not much to backup. I have not found
out why this behavior has changed since v3.0.9.

Another thing that surprises me is that the setuid() fails with an
errno 5, which is EIO. That error is not mentioned on this man page
http://linux.die.net/man/2/setuid What do you think? Is this setuid()
error a cygwin specific problem or should I ask upstream?

Regards,
Frank

--
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

