public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* rsyncd broken
@ 2014-08-22 12:43 Frank Fesevur
  2014-08-22 16:17 ` Yaakov Selkowitz
  2014-08-25  7:47 ` Frank Fesevur
  0 siblings, 2 replies; 6+ messages in thread
From: Frank Fesevur @ 2014-08-22 12:43 UTC (permalink / raw)
  To: cygwin

Jari,

As I reported earlier rsync 3.1.0 is broken on cygwin.
http://www.cygwin.com/ml/cygwin/2014-06/msg00212.html
http://www.cygwin.com/ml/cygwin/2014-06/msg00442.html

Any news on that issue yet?

We run cygwin rsync daemons on our Windows servers and have a remote
Ubuntu server that backups the important data using rsnapshot. Earlier
this week I accidentally upgraded from 3.0.9 to your 3.1.0 on one of
our servers and that night the backup failed with these (client side)
error.

@ERROR: setuid failed
rsync error: error starting client-server protocol (code 5) at
main.c(1653) [Receiver=3.1.0]
ERROR: /usr/bin/rsync returned 5 while processing
rsync://192.168.202.230/backup-d/DataWeb/
@ERROR: setuid failed
rsync error: error starting client-server protocol (code 5) at
main.c(1653) [Receiver=3.1.0]
ERROR: /usr/bin/rsync returned 5 while processing
rsync://192.168.202.230/backup-d/wwwroot/

I reverted to 3.0.9 and it works as expected again.

But these error don't seem to be related to the 3.1.0 performance
issues, so do you have any idea why it fails? Could the additional
debian patch you've added cause this?

I will try a self build vanilla rsync.exe 3.1.1 this weekend or early
next week and see how that works.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsyncd broken
  2014-08-22 12:43 rsyncd broken Frank Fesevur
@ 2014-08-22 16:17 ` Yaakov Selkowitz
  2014-11-06 17:51   ` Marco Atzeri
  2014-08-25  7:47 ` Frank Fesevur
  1 sibling, 1 reply; 6+ messages in thread
From: Yaakov Selkowitz @ 2014-08-22 16:17 UTC (permalink / raw)
  To: cygwin

On 2014-08-22 07:42, Frank Fesevur wrote:
> Jari,
>
> As I reported earlier rsync 3.1.0 is broken on cygwin.
> http://www.cygwin.com/ml/cygwin/2014-06/msg00212.html
> http://www.cygwin.com/ml/cygwin/2014-06/msg00442.html
>
> Any news on that issue yet?

I have marked 3.0.9-1 as curr: and 3.1.0-1 as test: due to the issues 
reported.


Yaakov




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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsyncd broken
  2014-08-22 12:43 rsyncd broken Frank Fesevur
  2014-08-22 16:17 ` Yaakov Selkowitz
@ 2014-08-25  7:47 ` Frank Fesevur
  2014-08-28  8:22   ` Frank Fesevur
  1 sibling, 1 reply; 6+ messages in thread
From: Frank Fesevur @ 2014-08-25  7:47 UTC (permalink / raw)
  To: cygwin

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.

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsyncd broken
  2014-08-25  7:47 ` Frank Fesevur
@ 2014-08-28  8:22   ` Frank Fesevur
  2014-08-28 10:06     ` Corinna Vinschen
  0 siblings, 1 reply; 6+ messages in thread
From: Frank Fesevur @ 2014-08-28  8:22 UTC (permalink / raw)
  To: cygwin

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsyncd broken
  2014-08-28  8:22   ` Frank Fesevur
@ 2014-08-28 10:06     ` Corinna Vinschen
  0 siblings, 0 replies; 6+ messages in thread
From: Corinna Vinschen @ 2014-08-28 10:06 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1434 bytes --]

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

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

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

[-- Attachment #2: Type: application/pgp-signature, Size: 819 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: rsyncd broken
  2014-08-22 16:17 ` Yaakov Selkowitz
@ 2014-11-06 17:51   ` Marco Atzeri
  0 siblings, 0 replies; 6+ messages in thread
From: Marco Atzeri @ 2014-11-06 17:51 UTC (permalink / raw)
  To: cygwin

On 8/22/2014 6:17 PM, Yaakov Selkowitz wrote:
> On 2014-08-22 07:42, Frank Fesevur wrote:
>> Jari,
>>
>> As I reported earlier rsync 3.1.0 is broken on cygwin.
>> http://www.cygwin.com/ml/cygwin/2014-06/msg00212.html
>> http://www.cygwin.com/ml/cygwin/2014-06/msg00442.html
>>
>> Any news on that issue yet?
>
> I have marked 3.0.9-1 as curr: and 3.1.0-1 as test: due to the issues
> reported.
>
>
> Yaakov
>

Jary,
any news ?

Marco

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2014-11-06 17:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-22 12:43 rsyncd broken Frank Fesevur
2014-08-22 16:17 ` Yaakov Selkowitz
2014-11-06 17:51   ` Marco Atzeri
2014-08-25  7:47 ` Frank Fesevur
2014-08-28  8:22   ` Frank Fesevur
2014-08-28 10:06     ` Corinna Vinschen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).