Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34614 - hostname replace in emerge should happen only once
Summary: hostname replace in emerge should happen only once
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Unclassified (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-28 05:08 UTC by Wout Mertens (RETIRED)
Modified: 2011-10-30 22:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wout Mertens (RETIRED) gentoo-dev 2003-11-28 05:08:34 UTC
Hi,

We have an internal gentoo mirror, called gentoo. Emerge sync doesn't work any more, because: (replaced ip with x-es)
=====================
>>> starting rsync with rsync://gentoo/gentoo-portage...
@ERROR: Unknown module 'xxx.xxx.xxx.xxx-portage'
=====================
Reason: This snippet of code in emerge should only replace the first occurrence.
=====================
                                ip=socket.gethostbyname(hostname)
                                dosyncuri=string.replace(syncuri,hostname,ip)
=====================

I realize that the workaround is to provide the FQDN for gentoo, but, humour me, it's an easy bug to fix :)

Cheers,

Wout.
Comment 1 Nicholas Jones (RETIRED) gentoo-dev 2003-11-28 05:21:40 UTC
Fixed in cvs.