tickets #49892
closedIPv4/IPv6 inconsistent rsync check.
100%
Description
Hello,
I can see some activity in ticket processing so I am reopening ticket from more than year ago, which is gone now.
According to rsync log from mirror maintained by me (opensuse.ucom.am), there is inconsistency with check script running via IPv4 over check running via IPv6.
Please have a look below snippet from rsyncd log.
2019/04/02 09:44:02 [11935] connect from scanner.opensuse.org (2620:113:80c0:8::20)
2019/04/02 05:44:03 [11935] rsync on opensuse/tumbleweed from scanner.opensuse.org (2620:113:80c0:8::20)
2019/04/02 05:44:03 [11935] building file list
2019/04/02 05:44:03 [11935] sent 72 bytes received 25 bytes total size 0
2019/04/02 09:47:49 [11960] connect from scanner.opensuse.org (195.135.221.170)
2019/04/02 05:47:50 [11960] rsync on opensuse//tumbleweed/. from scanner.opensuse.org (195.135.221.170)
2019/04/02 05:47:50 [11960] building file list
2019/04/02 05:48:27 [11960] rsync: connection unexpectedly closed (16 bytes received so far) [sender]
2019/04/02 05:48:27 [11960] rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.3]
2019/04/02 12:44:02 [16655] connect from scanner.opensuse.org (2620:113:80c0:8::20)
2019/04/02 08:44:02 [16655] rsync on opensuse/tumbleweed from scanner.opensuse.org (2620:113:80c0:8::20)
2019/04/02 08:44:02 [16655] building file list
2019/04/02 08:44:03 [16655] sent 72 bytes received 25 bytes total size 0
2019/04/02 12:47:43 [16678] connect from scanner.opensuse.org (195.135.221.170)
2019/04/02 08:47:43 [16678] rsync on opensuse//tumbleweed/. from scanner.opensuse.org (195.135.221.170)
2019/04/02 08:47:43 [16678] building file list
2019/04/02 08:48:22 [16678] rsync: connection unexpectedly closed (16 bytes received so far) [sender]
2019/04/02 08:48:22 [16678] rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.3]
2019/04/02 13:21:19 [16766] connect from downloadcontent.opensuse.org (2620:113:80c0:8::27)
2019/04/02 09:21:19 [16766] rsync on opensuse/history from downloadcontent.opensuse.org (2620:113:80c0:8::27)
2019/04/02 09:21:19 [16766] building file list
2019/04/02 09:21:19 [16766] rsync: link_stat "/history" (in opensuse) failed: No such file or directory (2)
2019/04/02 09:21:19 [16766] sent 97 bytes received 8 bytes total size 0
2019/04/02 15:44:02 [23033] connect from scanner.opensuse.org (2620:113:80c0:8::20)
2019/04/02 11:44:03 [23033] rsync on opensuse/tumbleweed from scanner.opensuse.org (2620:113:80c0:8::20)
2019/04/02 11:44:03 [23033] building file list
2019/04/02 11:44:03 [23033] sent 72 bytes received 25 bytes total size 0
2019/04/02 15:48:16 [23057] connect from scanner.opensuse.org (195.135.221.170)
2019/04/02 11:48:17 [23057] rsync on opensuse//tumbleweed/. from scanner.opensuse.org (195.135.221.170)
2019/04/02 11:48:17 [23057] building file list
2019/04/02 11:48:55 [23057] rsync: connection unexpectedly closed (16 bytes received so far) [sender]
2019/04/02 11:48:55 [23057] rsync error: error in rsync protocol data stream (code 12) at io.c(235) [sender=3.1.3]
As you can see check over IPv6 succeed, but over IPv4 does not. I suspect it is because of the difference in query over IPv4 which have extra slash and dot in the end (opensuse//tumbleweed/.).
I also suspect this is the reason why the check mark under "Tumbleweed repo", "Tumbleweed debug" and "Tumbleweed source" in https://mirrors.opensuse.org/ is not being ticked for any server in the list, including mine.
Can someone please have a look?