Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454898 - Portage should warn or stop when GENTOO_MIRRORS contains address not up
Summary: Portage should warn or stop when GENTOO_MIRRORS contains address not up
Status: CONFIRMED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 377365
  Show dependency tree
 
Reported: 2013-01-31 19:30 UTC by Agostino Sarubbo
Modified: 2013-02-07 19:36 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 Agostino Sarubbo gentoo-dev 2013-01-31 19:30:34 UTC
For example:

GENTOO_MIRRORS="192.168.5.4" emerge -fO atool

>>> Fetching (1 of 1) app-arch/atool-0.39.0
>>> Downloading '192.168.5.4/distfiles/atool-0.39.0.tar.gz'
--2013-01-31 20:29:17--  http://192.168.5.4/distfiles/atool-0.39.0.tar.gz
Connecting to 192.168.5.4:80... 

It stay in this status for a while, so would be great do a sort of ping before start the merge.
Comment 1 Yixun Lan archtester gentoo-dev 2013-01-31 21:36:26 UTC
I'm not sure ping is really works, sometimes server may block ping for security reason, but you can still access http/ftp
Comment 2 Mike Gilbert gentoo-dev 2013-02-01 00:17:03 UTC
Why not just make your wget timeout shorter?
Comment 3 Agostino Sarubbo gentoo-dev 2013-02-07 19:36:21 UTC
(In reply to comment #1)
> I'm not sure ping is really works, sometimes server may block ping for
> security reason, but you can still access http/ftp

I don't see any security issue allowing the ping. Btw the list of mirror is not infinite.

(In reply to comment #2)
> Why not just make your wget timeout shorter?

Also good idea.