[BUG] rsync 2.6.2

Paweł Gołaszewski blues at ds.pg.gda.pl
Sun May 9 09:21:12 GMT 2004


After upgrade from previous version I can't run rsync.

2004/05/09 10:40:54 [18630] rsyncd version 2.6.2 starting, listening on port 873
2004/05/09 10:40:54 [18630] rsync error: error in socket IO (code 10) at socket.c(466)

strace shows that there is problem with listen()

I've found patch on this lists:
--- rsync-2.6.2/socket.c.orig   2004-05-08 23:25:11.979473336 +0200
+++ rsync-2.6.2/socket.c        2004-05-08 23:27:13.255036648 +0200
@@ -379,8 +379,8 @@
 
 #ifdef IPV6_V6ONLY
                if (resp->ai_family == AF_INET6) {
-                       setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY,
-                                  (char *)&one, sizeof one);
+                   if(setsockopt(s, IPPROTO_IPV6, IPV6_V6ONLY, (char *)&one, sizeof one) < 0)
+                       continue;
                }
 #endif


But it did not helped

Is there any solution? What more info can I give you to solve that?

-- 
pozdr.  Paweł Gołaszewski 
---------------------------------
worth to see: http://www.againsttcpa.com/
CPU not found - software emulation...


More information about the rsync mailing list