Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144458 - portage 2.1.1_pre5-r2 syncs always to the same server
Summary: portage 2.1.1_pre5-r2 syncs always to the same server
Status: RESOLVED NEEDINFO
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-19 13:44 UTC by Sascha Lucas
Modified: 2006-08-19 14:37 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 Sascha Lucas 2006-08-19 13:44:46 UTC
my SYNC: # grep SYNC /etc/make.conf
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"

DNS randomizes A records: # host rsync.de.gentoo.org
rsync.de.gentoo.org has address 213.131.249.70
rsync.de.gentoo.org has address 62.75.252.130
rsync.de.gentoo.org has address 80.237.153.116
rsync.de.gentoo.org has address 81.88.37.23
rsync.de.gentoo.org has address 81.169.182.53
rsync.de.gentoo.org has address 88.198.224.205
rsync.de.gentoo.org has address 128.176.191.21
rsync.de.gentoo.org has address 130.133.110.66
rsync.de.gentoo.org has address 134.106.11.88
rsync.de.gentoo.org has address 134.147.32.114
rsync.de.gentoo.org has address 137.226.34.228
rsync.de.gentoo.org has address 193.16.112.87
rsync.de.gentoo.org has address 193.218.127.252
rsync.de.gentoo.org has address 194.97.4.250

# host rsync.de.gentoo.org
rsync.de.gentoo.org has address 193.16.112.87
rsync.de.gentoo.org has address 193.218.127.252
rsync.de.gentoo.org has address 194.97.4.250
rsync.de.gentoo.org has address 213.131.249.70
rsync.de.gentoo.org has address 62.75.252.130
rsync.de.gentoo.org has address 80.237.153.116
rsync.de.gentoo.org has address 81.88.37.23
rsync.de.gentoo.org has address 81.169.182.53
rsync.de.gentoo.org has address 88.198.224.205
rsync.de.gentoo.org has address 128.176.191.21
rsync.de.gentoo.org has address 130.133.110.66
rsync.de.gentoo.org has address 134.106.11.88
rsync.de.gentoo.org has address 134.147.32.114
rsync.de.gentoo.org has address 137.226.34.228

but emerge --sync allways uses: # emerge --sync
>>> Starting rsync with rsync://128.176.191.21/gentoo-portage...

some kind of sort? # host rsync.de.gentoo.org | cut -d' ' -f4 | sort
128.176.191.21
130.133.110.66
134.106.11.88
134.147.32.114
...
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-08-19 13:52:50 UTC
Using nscd, caching DNS or something like that?
Comment 2 Sascha Lucas 2006-08-19 14:05:11 UTC
(In reply to comment #1)
> Using nscd, caching DNS or something like that?

no:  # ps aux | grep nscd
root      6738  0.0  0.0   1596   480 pts/0    R+   22:56   0:00 grep nscd

# cat /etc/resolv.conf
nameserver 129.69.1.28
nameserver 129.69.1.58

on this servers is isc bind running...

same effect at home (DSL), DNS-proxy on router, using "host" shows also IPs randomized.

Perhaps my fault, but I don't know where to look else.
Comment 3 Sascha Lucas 2006-08-19 14:37:49 UTC
happens only on ~x86. using: $ telnet rsync.de.gentoo.org rsync

2 boxes at work (same subnet):
~x86 -> allways 128.176.191.21...
x86 -> as expected 

1 at home: 
~x86 -> allways 193.16.112.87... or 193.218.127.252...
    +vpn(to work): allways 128.176.191.21...

using ping rsync.de.gentoo.org works as expected.