Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge --sync error with gatech mirror

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
6 posts • Page 1 of 1
Author
Message
skiwarz
Apprentice
Apprentice
Posts: 297
Joined: Sun Feb 23, 2014 7:56 am

emerge --sync error with gatech mirror

  • Quote

Post by skiwarz » Fri May 02, 2025 5:39 pm

I have my repos.conf set up to use rsync with rsync://rsync.us.gentoo.org/gentoo-portage. Half the time, the mirror it chooses is rsync.gtlib.gatech.edu. That particular mirror fails 100% of the tine with:

Code: Select all

---------------------------------------------------------------------------

GEORGIA TECH SOFTWARE LIBRARY

Unauthorized use is prohibited.  Your access is being logged.

GTlib is hosted by the Partnership for an Advanced Computing Environment
(PACE) at the Georgia Institute of Technology in Atlanta, Georgia, USA.

     http://www.pace.gatech.edu

GTLib is operated as a "best effort" service.  We _strongly_ recommend
against depending on the availability of this service in a critical context.

If you run a publicly accessible mirror, and are interested in
mirroring from us, please contact gtlib@gtlib.gatech.edu.

If you run a mirror that is not accessible to the public, please mirror
from the modules listed at rsync://rsync.gtlib.gatech.edu.

----------------------------------------------------------------------------

@ERROR: access denied to gentoo-portage from UNKNOWN ($MY_IP_ADDRESS)
rsync error: error starting client-server protocol (code 5) at main.c(1863) [Receiver=3.2.7]
I know I can select a specific mirror if I want, but I prefer to use the whole "pool." Can I blacklist a specific mirror instead?
Or, does anyone know what might be causing this error? I sent an email to the address in this message but received no response.
Top
miket
Guru
Guru
Posts: 513
Joined: Sat Apr 28, 2007 2:45 am
Location: Gainesville, FL, USA

  • Quote

Post by miket » Sun May 04, 2025 4:51 pm

You had me worried for a bit: I use Geogia Tech's mirror as my primary mirror. Just now I tried an emerge --sync with it just now and it worked fine.

Your report made me suspect that Gentoo's mirror configuration (at https://www.gentoo.org/downloads/mirrors/) for that mirror changed, but I see that it is still what I have configured in my make.conf: http://www.gtlib.gatech.edu/pub/gentoo. So much for that theory.

Here is what I suspect is going on: the Georgia Tech site is listed as IPv4 only. Could it be the case that your ISP is IPv6 only or your own host is configured for IPv6 only?
Top
skiwarz
Apprentice
Apprentice
Posts: 297
Joined: Sun Feb 23, 2014 7:56 am

  • Quote

Post by skiwarz » Sun May 04, 2025 5:03 pm

miket wrote:You had me worried for a bit: I use Geogia Tech's mirror as my primary mirror. Just now I tried an emerge --sync with it just now and it worked fine.

Your report made me suspect that Gentoo's mirror configuration (at https://www.gentoo.org/downloads/mirrors/) for that mirror changed, but I see that it is still what I have configured in my make.conf: http://www.gtlib.gatech.edu/pub/gentoo. So much for that theory.

Here is what I suspect is going on: the Georgia Tech site is listed as IPv4 only. Could it be the case that your ISP is IPv6 only or your own host is configured for IPv6 only?
Two different things. I think you're referring to your GENTOO_MIRRORS variable, which is for downloading distfiles, disc images, etc. I'm referring to the repo mirrors (https://www.gentoo.org/support/rsync-mirrors/)
Anyways, when I plug in the rsync://rsync3.us.gentoo.org/gentoo-portage uri into my repos.conf, I still get the same failure.
See https://bugs.gentoo.org/946124 for more info on this error.
Top
miket
Guru
Guru
Posts: 513
Joined: Sat Apr 28, 2007 2:45 am
Location: Gainesville, FL, USA

  • Quote

Post by miket » Mon May 05, 2025 12:13 am

skiwarz wrote:Anyways, when I plug in the rsync://rsync3.us.gentoo.org/gentoo-portage uri into my repos.conf, I still get the same failure.
See https://bugs.gentoo.org/946124 for more info on this error.
Yes, I can see where you would get the wrong address--but I also see in your bug report that it appears that you complained to the wrong people.

Indeed, the listing of the page of hosts for the GENTOO_MIRRORS variable shows both the http: and rsync: protocols for the host name that Georgia Tech provided for the purpose, www.gtlib.gatech.edu. This resolves to the same IP address that you cite from the rsync-host page on the Gentoo site: rsync3.us.gentoo.org. Here are the DNS-lookup reports for the two:

Code: Select all

$ host www.gtlib.gatech.edu
www.gtlib.gatech.edu has address 128.61.111.7
www.gtlib.gatech.edu has address 128.61.111.11
www.gtlib.gatech.edu has address 128.61.111.9

$ host rsync3.us.gentoo.org
rsync3.us.gentoo.org has address 128.61.111.7
rsync3.us.gentoo.org has address 128.61.111.9
rsync3.us.gentoo.org has IPv6 address 2610:148:1f00:6f00:250:56ff:fe92:434b
rsync3.us.gentoo.org has IPv6 address 2610:148:1f00:6f00:216:36ff:fe8e:1308
So OK, both IPv4 addresses that us.gentoo.org reports are common to www.gtlib.gatech.edu.

Look again at the domain name you've been using: rsync3.us.gentoo.org. This is not a Georgia Tech problem; it's a Gentoo problem. Gentoo's zone file needs to stop reporting those two IPv6 addresses (which actually do belong to Georgia Tech, but for a different purpose) and report just the three IPv4 addresses that Georgia Tech reports for www.gtlib.gatech.edu.

In the meantime before they get that fixed, I'd suggest using www.gtlib.gatech.edu for your rsyncs.
Top
skiwarz
Apprentice
Apprentice
Posts: 297
Joined: Sun Feb 23, 2014 7:56 am

  • Quote

Post by skiwarz » Mon May 05, 2025 1:27 am

miket wrote:Yes, I can see where you would get the wrong address--but I also see in your bug report that it appears that you complained to the wrong people.
To clarify, that was not my bug report. I only made the last comment. I linked it simply to show for anyone reading that it's a more widespread issue.
miket wrote:Indeed, the listing of the page of hosts for the GENTOO_MIRRORS variable shows both the http: and rsync: protocols for the host name that Georgia Tech provided for the purpose, www.gtlib.gatech.edu.
I hadn't noticed the rsync entries on that page... thanks.
miket wrote:So OK, both IPv4 addresses that us.gentoo.org reports are common to www.gtlib.gatech.edu.

Look again at the domain name you've been using: rsync3.us.gentoo.org. This is not a Georgia Tech problem; it's a Gentoo problem. Gentoo's zone file needs to stop reporting those two IPv6 addresses (which actually do belong to Georgia Tech, but for a different purpose) and report just the three IPv4 addresses that Georgia Tech reports for www.gtlib.gatech.edu.

In the meantime before they get that fixed, I'd suggest using www.gtlib.gatech.edu for your rsyncs.
I'm fairly certain this is not an IP or DNS problem. I'm connecting to the gatech server just fine. It's the server that's rejecting me. See my initial post.
Top
miket
Guru
Guru
Posts: 513
Joined: Sat Apr 28, 2007 2:45 am
Location: Gainesville, FL, USA

  • Quote

Post by miket » Mon May 05, 2025 2:40 am

skiwarz wrote:I'm fairly certain this is not an IP or DNS problem. I'm connecting to the gatech server just fine. It's the server that's rejecting me. See my initial post.
It seems that both are true. I tested rsync with both the rsync3.us.gentoo.org and www.gtlib.gatech.edu domains and with various rsync paths (with the thought that /gentoo-portage might not be the path to use on the Georgia Tech servers) and consistently had either the authorization error or an invalid-rsync-path error. I also found that the IPv6 hosts didn't respond at all. That means that, yes, there is a configuration issue on Georgia Tech's rsync servers as well as a couple of spurious IPv6 DNS entries on the Gentoo zone file.
Top
Post Reply

6 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic