Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57704 - emerge sync resolves hostname to ip before running rsync which doesn't allow for using ipv6
Summary: emerge sync resolves hostname to ip before running rsync which doesn't allow ...
Status: RESOLVED DUPLICATE of bug 37124
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - External Interaction (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-20 03:37 UTC by Simon Arlott
Modified: 2005-07-17 13:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Arlott 2004-07-20 03:37:46 UTC
emerge sync resolves hostname to ip before running rsync which doesn't allow for using ipv6:

SYNC="rsync://ftp.snt.utwente.nl/gentoo-portage"
>>> starting rsync with rsync://130.89.175.1/gentoo-portage...

ftp.snt.utwente.nl resolves to 130.89.175.1 and 2001:610:1908:8000::175:1



Reproducible: Always
Steps to Reproduce:
1. Set SYNC to a hostname that has an AAAA record
2. emerge sync

Actual Results:  
The hostname is resolved and passed to rsync as an ipv4 ip.

Expected Results:  
Pass the hostname directly to rsync so it can use ipv6 if available.

rsync currently has no syntax for IPv6 literal addresses
(http://samba.anu.edu.au/ftp/rsync/TODO -- "Other IPv6 stuff:")
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2004-07-20 03:41:20 UTC

*** This bug has been marked as a duplicate of 37124 ***