From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29136 invoked by alias); 28 Aug 2014 10:06:15 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 29124 invoked by uid 89); 28 Aug 2014 10:06:14 -0000 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 Received: from aquarius.hirmke.de (HELO calimero.vinschen.de) (217.91.18.234) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 28 Aug 2014 10:06:13 +0000 Received: by calimero.vinschen.de (Postfix, from userid 500) id 542B08E0789; Thu, 28 Aug 2014 12:06:11 +0200 (CEST) Date: Thu, 28 Aug 2014 10:06:00 -0000 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: rsyncd broken Message-ID: <20140828100611.GR20700@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="aC33ObtQAkNdOZ6b" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-SW-Source: 2014-08/txt/msg00547.txt.bz2 --aC33ObtQAkNdOZ6b Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-length: 1412 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 Content-length: 819 -----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--