delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/08/28/06:06:32

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=HH+HnrR1Ke6rUwMOplNfz3Nz298jRz45cisHt6/4R8gz9JQRmIZY4
A83nIyeLH/z908yYEgG6r/aJpkjk+cKVqL4dwe7x1jW9cZnz6b1q2ngchJ0dZ69m
uhd1ibnw+WEJRYsb7NDpxTam6S0j7wzvGBZt/ln7XobHxXOI3G33U8=
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=0OWduMmL3U1Kys+N2oCxIK1kFSs=; b=g3m2vql6eAJpGkDwDnUih2K7Mepb
03Hs5LU3slRfTSPdO/9XanZP0OwyKDeUo0HzwDNKOOKfvZHYbfqyKy9VVv1C11+f
0htx53iJ/pK1CoeTT3dzvVl7UjwFaqpT00f3F9uWE8YUZ6zF0MGccpZQaOQcs0x3
AmNLKfVOmhTLEQU=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-5.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2
X-HELO: calimero.vinschen.de
Date: Thu, 28 Aug 2014 12:06:11 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: rsyncd broken
Message-ID: <20140828100611.GR20700@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CAKf2h5QUACgams++7Vm9N2uCP63hY2m5wvEDhe_odeSioSA-fg AT mail DOT gmail DOT com> <CAKf2h5Q8XRw5=uknicb6ObVxXN8zt9SDoaXvg_Hhd7hBDADn+w AT mail DOT gmail DOT com> <CAKf2h5RnwkR2=GtdeVy1rQPvjT4pw26L44de4GTB9y=iKriYag AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CAKf2h5RnwkR2=GtdeVy1rQPvjT4pw26L44de4GTB9y=iKriYag@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)

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

On Aug 28 10:22, Frank Fesevur wrote:
> 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.
>=20
> Made a bit of progress. When I comment out the lines uid =3D 0 and gid =
=3D
> 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.
>=20
> 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?

That's probably a translation from Windows status or error code to POSIX
error code.  The setuid call is littered with debug output statements,
so a strace could help to understand where it comes from.  Basically
it's probably still rather an issue of missing caller permissions.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--aC33ObtQAkNdOZ6b
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJT/v8TAAoJEPU2Bp2uRE+gSskQAJ34Xa3DGnwTts2q4C7ZkZ71
RDNqO/UpkPCfDc2aAx/TrtjmqmfSKhf5cts22n04Bkw9UuhZQOzcPYr/kvsckybN
/jrXzwGHaRRvPrc1WvtrF2cR3w32qH+Z2vJIE0sgerHfYNSwceT+kCsW7UP3PwcS
ywb1pewKNgp7+G8cmnQIldp5vES7RiwkQov8b6Whv3Q5zN92/SlB69Hn8zXUIxkV
RJztcZUQsGNW5X0tCWleJ+Gehj231ECt5yfu8Gbnu08ldHo6E0O0ax7AW+4moSXN
XjqnFQiCCaaYmKGRRz64vv+fuZagH+JLvrHvlB6uu9VcWGk0nqP7U/AaZoOr9tSJ
pG6etPqmZqx2qDFIzWTKqgJHnPxctmhLPdaUmc/JIhEdD6+W24Ik+ZKXXbKrDMzu
gRrdcr247olBgGHrcV7d0zA+EBTG9i1EnBPwgorVUoLS8boAyDzBvP3rj0NsePEQ
/WDS97oJ2ukXmv8NRNL/zNkihILXbdzv9STz1RbgH5SgXEzzsq4WW7zw1rYk7jj6
GG0+sFAj06cxL+zezNfAvQlsvw1anVceG8U8f3mL8ZQuD6rZXQXpX4TDX39rJTJK
uUmFygK1XXc6GM6NDCp1s9Gm9rXmpUL9Y6nYEl1EBOuuZyBhm91Q+6i5I4rccWR5
tX8GMcz/7/XasVG8dDM9
=AHEt
-----END PGP SIGNATURE-----

--aC33ObtQAkNdOZ6b--

- Raw text -


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