Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 87467 - Warn installers that emerge --sync fails if a firewall blocks rsync
Summary: Warn installers that emerge --sync fails if a firewall blocks rsync
Status: RESOLVED FIXED
Alias: None
Product: [OLD] Docs-user
Classification: Unclassified
Component: Handbook (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Sven Vermeulen (RETIRED)
URL: http://www.gentoo.org/doc/en/handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-31 14:10 UTC by Joel Shprentz
Modified: 2005-04-07 04:46 UTC (History)
1 user (show)

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 Joel Shprentz 2005-03-31 14:10:20 UTC
Gentoo Handbook section 6.a code listing 6 instructs installers to update the Portage tree with the command "emerge --sync."  This command fails by timing out if a firewall blocks rsync.

Reproducible: Always
Steps to Reproduce:
1. emerge --sync

Actual Results:  
Emerge eventually times out because it cannot communicate with Portage mirrors.

Expected Results:  
Software is behaving correctly by timing out.  Documentation should explain this
behavior.

Related issues are mentioned in the FAQ, but users may not look there first (I
didn't).  Instead, they may try again with other Portage mirror sites.  At the
time this issue arises, the user has just chrooted into an environment with very
limited troubleshooting tools.

I recommend mentioning this issue, possibly referring to the FAQ, and suggesting
these workarounds:

1. Allow outbound rsync access through the firewall (port 873)
2. Run the alternate command "emerge-webrsync --sync"
Comment 1 Shyam Mani (RETIRED) gentoo-dev 2005-03-31 20:52:47 UTC
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2&chap=1

The above link does mention the use of emerge-webrsync (specifically with reference to firewalls). Maybe a link to this would help?
Comment 2 Sven Vermeulen (RETIRED) gentoo-dev 2005-04-07 04:46:36 UTC
Thanks, fixed in CVS. I haven't linked to the other section since it's just a single paragraph anyway.