Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
emerge sync over squid proxy
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
dendenners
n00b
n00b


Joined: 17 Oct 2003
Posts: 28
Location: Inside a shirt

PostPosted: Fri Oct 17, 2003 1:55 pm    Post subject: emerge sync over squid proxy Reply with quote

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
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Fri Oct 17, 2003 2:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
dendenners
n00b
n00b


Joined: 17 Oct 2003
Posts: 28
Location: Inside a shirt

PostPosted: Fri Oct 17, 2003 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
bonsaikitten
Apprentice
Apprentice


Joined: 01 Jan 2003
Posts: 213
Location: Shanghai, China

PostPosted: Fri Oct 17, 2003 3:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
BlackB1rd
Tux's lil' helper
Tux's lil' helper


Joined: 13 Aug 2003
Posts: 131
Location: /Europe/Netherlands/Haarlem

PostPosted: Tue Oct 21, 2003 7:36 am    Post subject: Reply with quote

I also stuck on this one. They really should update the manual, it works fine now without rsync:// :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum