On 2018-02-28, Dale <rdalek1...@gmail.com> wrote:
> Grant Edwards wrote:
>> Is there any way for me to "blacklist" a pool rsync server so that
>> emerge --sync won't try to use it?
>>
>> I'm using the sync-url rsync://rsync.us.gentoo.org/gentoo-portage, but
>> one of the pool's servers is barely usable for me.  I don't know if
>> it's a server problem or if traffic between my and that server is
>> routed through a Mars orbiter.  When any other server is chosen, the
>> file list scrolls by faster than you can read it.  Via the Mars
>> orbibiter the list ticks by about one file every 5-10 seconds.  It
>> will usually finish (eventually), but sometimes hangs and times out.
>> It's been like for at least a year or two.
>>
>> [FWIW, I'm uable to ping the server, and tracroute is unable to produce
>> a route to it.  However, I can telnet to the rsync port on that host
>> and it connects.]
>>
>> When I see that server has been selected, I usually just hit Ctrl-C
>> and try again.
>>
>> Is there any way to configure portage to not use that server?
>
> Is it possible to add it to your hosts file and point it to local IP? 

No.  Because the name is rsync://rsync.us.gentoo.org/gentoo-portage.  

> Obviously, if it is a numbered IP then this likely won't work. 

I could, however, set up a static route for the IP in question and
point it to something that isn't listening on the rsync port.  That
won't make it avoid trying to use that server, but it would make it
fail immediately rather than let it crawl along along until it hangs
or I hit Ctrl-C. :)

-- 
Grant




Reply via email to