make yum.conf do a user ftp login for baseurl

Tom Diehl tdiehl at rogueind.com
Sun Sep 5 20:31:27 UTC 2004


On Sun, 5 Sep 2004, Harry Putnam wrote:

> Tom Diehl <tdiehl at rogueind.com> writes:
> 
> >> Tom wrote:
> >> > How about something like this: ftp://username:your_passwd@ftp.yoursite.com/$releasever
> >> 
> >> That might work if the ftp server was a real IP on the internet but
> >> addresses like ftp://... don't seem to work inside my non resolvalbe
> >> lan.
> >
> > Even if you do not have a nameserver running, if you have entries in /etc/hosts this 
> > should work. Something else sounds weird here.
> 
> I've never seen that to be true here.
> 
> my /etc/hosts on remote client has:
> --
> 192.168.0.4     reader.local.net0    reader   # fedcore3 t1
> --
> 
> ftp reader.local.net0 
> works as expected for anonymous login and 
> 
> However:
> 
> ftp ftp://reader.local.net0  gives me:

Ok, but Yum uses the urlgrabber to resolve the ftp://stuff not a particular ftp
client. It works on my local network and externally. Granted I have a working
name server on my internal network. Maybe you should ask on the yum list if
the urlgrabber is expected to work with /etc/hosts? If it is not working as
expected then I would recommend doing as Seth suggested and file a bug here:
http://devel.linux.duke.edu/bugzilla/

HTH,

Tom





More information about the fedora-test-list mailing list