Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 22383

Summary: Portage times out with a conection to a rsync server, rather than a unsuccessful attempt.
Product: Portage Development Reporter: Michael Tomkins <m.tomkins>
Component: UnclassifiedAssignee: Portage team <dev-portage>
Status: RESOLVED CANTFIX    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: PPC   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 49933    
Attachments: rsync output showing error

Description Michael Tomkins 2003-06-07 01:05:49 UTC
Setting RSYNC_TIMEOUT=30 results in this error.




Reproducible: Always
Steps to Reproduce:
1. Set RSYNC_TIMEOUT=30
2. Connect to rsync server
3. Wait thirty seconds.

Actual Results:  
rsync suspened on sucessful connect after 30 seconds

Expected Results:  
rsync should have suspened and retrided on an unsuccessful connect attempt after
30 seconds.

Portage 2.0.48-r1 (default-ppc-1.4, gcc-3.2.3, glibc-2.3.2-r1)
=================================================================
System uname: 2.4.20-ben10 ppc
GENTOO_MIRRORS="ftp://planetmirror.com.au/pub/gentoo
http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo"
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config
/usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
PORTDIR="/usr/portage"
DISTDIR="/usr/portage/distfiles"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR_OVERLAY=""
USE="oss dvd xv libwww nls mitshm qt kde ppc gnome-libs gtkhtml berkdb slang
readline sdl imlib oggvorbis motif X gtk gnome -alsa bonobo cdr crypt -cups esd
gb gdbm gif gpm guile java jikes jpeg libgda mozilla mpeg mysql opengl pam
pdflib perl png python samba ssl tcpd tiff truetype xmms"
COMPILER="gcc3"
CHOST="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
CXXFLAGS="-O2 -pipe -mcpu=7400 -maltivec -mabi=altivec"
ACCEPT_KEYWORDS="ppc ~ppc"
MAKEOPTS="-j2"
AUTOCLEAN="yes"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
FEATURES="ccache userpriv"
Comment 1 Michael Tomkins 2003-06-07 01:07:18 UTC
Created attachment 12906 [details]
rsync output showing error
Comment 2 Nicholas Jones (RETIRED) gentoo-dev 2003-06-29 20:10:33 UTC
It's an rsync bug in my opinion. And a timeout that low will almost always fail.
Comment 3 Nicholas Jones (RETIRED) gentoo-dev 2004-05-16 04:07:04 UTC
It's rsync, not portage.