Summary: | rsync timeout in PORTAGE_RSYNC_OPTS= not working | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Paige Thompson <paigeadele> |
Component: | Core - Interface (emerge) | Assignee: | Portage team <dev-portage> |
Status: | CONFIRMED --- | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paige Thompson
2015-01-20 10:22:56 UTC
You need to set PORTAGE_RSYNC_INITIAL_TIMEOUT="0" in make.conf. See the make.conf man page. This timeout is implemented by portage, since otherwise it's possible for the initial connection attempt to hang indefinitely. I'm having a hard time reproducing this one. `PORTAGE_RSYNC_INITIAL_TIMEOUT` is not set in my make.conf but I am not seeing any retries.
> d90b8e45db74 ~/portage # PORTAGE_RSYNC_OPTS="--timeout=0 -avvv --recursive --times --exclude=/distfiles --exclude=/local --exclude=/packages --compress --whole-file" ./bin/emerge --sync | grep -i -A 10 -B 10 'retry'
|