Similiar to 609694, using the musl profile, I cannot sync from a mirror that offers both a IPv4 and IPv6 address (mirror.bytemark.co.uk for example) or my local mirror which is only on IPv6: $ emerge --sync >>> Syncing repository 'gentoo' into '/var/db/repos/gentoo'... >>> Starting rsync with rsync://[2001:41c8:20:5e6::150]/gentoo-portage... >>> Checking server timestamp ... rsync: getaddrinfo: 2001:41c8:20:5e6::150 873: Name does not resolve rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3] >>> Retrying... >>> Starting retry 1 of 3 with rsync://[2001:41c8:20:5fc::12]/gentoo-portage >>> Checking server timestamp ... rsync: getaddrinfo: 2001:41c8:20:5fc::12 873: Name does not resolve rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3] >>> Retrying... >>> Starting retry 2 of 3 with rsync://212.110.163.12/gentoo-portage >>> Checking server timestamp ... -========== B Y T E M A R K H O S T I N G M I R R O R ==========- Just using rsync however seems to work: $ rsync -6 rsync://mirror.bytemark.co.uk/gentoo-portage | head -========== B Y T E M A R K H O S T I N G M I R R O R ==========- drwxr-xr-x 8,192 2021/04/04 12:09:10 . -rw-r--r-- 1,349 2021/04/04 12:09:04 Manifest -rw-r--r-- 29,295 2021/04/04 12:09:04 Manifest.files.gz -rw-r--r-- 105 2021/01/01 00:09:24 header.txt -rw-r--r-- 7,491 2021/01/01 00:09:24 skel.ebuild -rw-r--r-- 1,491 2020/04/21 08:39:34 skel.metadata.xml drwxr-xr-x 8,192 2021/04/04 12:09:04 acct-group However if I use the IP address, it fails: # rsync -6 rsync://[2001:41c8:20:5e6::150]/gentoo-portage rsync: getaddrinfo: 2001:41c8:20:5e6::150 873: Name does not resolve rsync error: error in socket IO (code 10) at clientserver.c(137) [Receiver=3.2.3] Reproducible: Always
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/proj/musl.git/commit/?id=606d58773908bafca960d1a143fe59a61d9cd963 commit 606d58773908bafca960d1a143fe59a61d9cd963 Author: Dave Hughes <davidhughes205@gmail.com> AuthorDate: 2021-04-19 01:08:28 +0000 Commit: Dave Hughes <davidhughes205@gmail.com> CommitDate: 2021-04-19 01:11:02 +0000 net-misc/rsync: fix ipv6 Bug: https://bugs.gentoo.org/779988 Closes: https://bugs.gentoo.org/779988 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Dave Hughes <davidhughes205@gmail.com> net-misc/rsync/Manifest | 1 + net-misc/rsync/files/rsyncd.conf-3.0.9-r1 | 15 +++ net-misc/rsync/files/rsyncd.conf.d | 5 + net-misc/rsync/files/rsyncd.init.d-r1 | 11 ++ net-misc/rsync/files/rsyncd.logrotate | 9 ++ net-misc/rsync/files/rsyncd.xinetd-3.0.9-r1 | 10 ++ net-misc/rsync/metadata.xml | 16 +++ net-misc/rsync/rsync-3.2.3-r2.ebuild | 156 ++++++++++++++++++++++++++++ net-misc/rsync/rsync-9999.ebuild | 156 ++++++++++++++++++++++++++++ 9 files changed, 379 insertions(+) Additionally, it has been referenced in the following commit(s): https://gitweb.gentoo.org/proj/musl.git/commit/?id=606d58773908bafca960d1a143fe59a61d9cd963 commit 606d58773908bafca960d1a143fe59a61d9cd963 Author: Dave Hughes <davidhughes205@gmail.com> AuthorDate: 2021-04-19 01:08:28 +0000 Commit: Dave Hughes <davidhughes205@gmail.com> CommitDate: 2021-04-19 01:11:02 +0000 net-misc/rsync: fix ipv6 Bug: https://bugs.gentoo.org/779988 Closes: https://bugs.gentoo.org/779988 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Dave Hughes <davidhughes205@gmail.com> net-misc/rsync/Manifest | 1 + net-misc/rsync/files/rsyncd.conf-3.0.9-r1 | 15 +++ net-misc/rsync/files/rsyncd.conf.d | 5 + net-misc/rsync/files/rsyncd.init.d-r1 | 11 ++ net-misc/rsync/files/rsyncd.logrotate | 9 ++ net-misc/rsync/files/rsyncd.xinetd-3.0.9-r1 | 10 ++ net-misc/rsync/metadata.xml | 16 +++ net-misc/rsync/rsync-3.2.3-r2.ebuild | 156 ++++++++++++++++++++++++++++ net-misc/rsync/rsync-9999.ebuild | 156 ++++++++++++++++++++++++++++ 9 files changed, 379 insertions(+)
We need to stop forcing it and apply the patch from upstream bug report. Upstream doesn't seem to care that they use a problematic approach and could fix it even simpler for all users.
(In reply to Jory A. Pratt from comment #2) > We need to stop forcing it and apply the patch from upstream bug report. > Upstream doesn't seem to care that they use a problematic approach and could > fix it even simpler for all users. Got a link for that?! :)
(In reply to Michael 'veremitz' Everitt from comment #3) > (In reply to Jory A. Pratt from comment #2) > > We need to stop forcing it and apply the patch from upstream bug report. > > Upstream doesn't seem to care that they use a problematic approach and could > > fix it even simpler for all users. > > Got a link for that?! :) https://attachments.samba.org/attachment.cgi?id=13546
Patched merged upstream: https://github.com/WayneD/rsync/commit/1fa0bd1e87030c450026e149ccfa959e066b318a
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c3bbbf6d7dee9d7916d0a72030694ffed58517c commit 1c3bbbf6d7dee9d7916d0a72030694ffed58517c Author: Sam James <sam@gentoo.org> AuthorDate: 2022-08-15 18:02:04 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-08-15 18:19:46 +0000 net-misc/rsync: drop obsolete IPv6 quirk for musl Closes: https://bugs.gentoo.org/779988 Signed-off-by: Sam James <sam@gentoo.org> net-misc/rsync/rsync-3.2.5.ebuild | 4 ---- net-misc/rsync/rsync-9999.ebuild | 4 ---- 2 files changed, 8 deletions(-)