View previous topic :: View next topic |
Author |
Message |
dendenners n00b


Joined: 17 Oct 2003 Posts: 28 Location: Inside a shirt
|
Posted: Fri Oct 17, 2003 1:55 pm Post subject: emerge sync over squid proxy |
|
|
Hi,
This question might be better posted somewhere else, but if this is the case I can't imagine where. Anyway, I am unable to run emerge sync via a rsync proxy.
I set the rsync_proxy environment variable like this:
export RSYNC_PROXY=rsync://path.to.squid
( i tried using both RSYNC_PROXY and rsync_proxy as the variable). I also put the following configuration directives into my squid.conf file:
acl Safe_ports port 873 # for rsync
rsync_port 873
However, when I run emerge sync on any gentoo box, the rsync doesn't happen! - I get the following error:
rsync: getaddrinfo: rsync //path.to.squid: Servname not supported for ai_socktype
rsync error: error in socket IO (code 10) at clientserver.c(83)
eek! Has anyone seen this in the course of their emerging careers, and if so how do I overcome it?
Thanks very much
Denis |
|
Back to top |
|
 |
bonsaikitten Apprentice

Joined: 01 Jan 2003 Posts: 213 Location: Shanghai, China
|
Posted: Fri Oct 17, 2003 2:22 pm Post subject: |
|
|
I thought rsync_proxy was http protocol? Maybe I'm totally wrong, but try setting the proxy without protocol name (e.g. rsync_proxy=proxy:3128)
hth,
bonsaikitten |
|
Back to top |
|
 |
dendenners n00b


Joined: 17 Oct 2003 Posts: 28 Location: Inside a shirt
|
Posted: Fri Oct 17, 2003 2:46 pm Post subject: |
|
|
that works!
Thanks a lot. The reason I was using the rsync:// thing was because it is stated in the gentoo-x86-install documentation.
Thanks again
Denis |
|
Back to top |
|
 |
bonsaikitten Apprentice

Joined: 01 Jan 2003 Posts: 213 Location: Shanghai, China
|
Posted: Fri Oct 17, 2003 3:16 pm Post subject: |
|
|
Hmmm... it seems as if the documentation is very vague concerning proxys.
I'd say that rsync:// is wrong in this context, and I'm not even aware of a rsync proxy program (except http proxies). |
|
Back to top |
|
 |
BlackB1rd Tux's lil' helper


Joined: 13 Aug 2003 Posts: 131 Location: /Europe/Netherlands/Haarlem
|
Posted: Tue Oct 21, 2003 7:36 am Post subject: |
|
|
I also stuck on this one. They really should update the manual, it works fine now without rsync://  |
|
Back to top |
|
 |
|