Bug 61496 - Deeptest broken in app-portage/mirrorselect-0.85
|
Bug#:
61496
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: major
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: johnm@gentoo.org
|
Reported By: phil@lordaeron.in-berlin.de
|
|
Component: Core system
|
|
|
URL:
|
|
Summary: Deeptest broken in app-portage/mirrorselect-0.85
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2004-08-24 04:46 0000
|
Justification for major: IPv6 users depend on the deep test.
/usr/sbin/mirrorselect line 188:
wget -t 1 -C off -T 25 -O - ${i}/distfiles/mirrorselect-test 2>/dev/null
This results in the file passed to stdout. A console full of garbage isn't quite what I expected. ;o)
I need the deep test because of IPv6 connectivity.
You either wanted to write ``>/dev/null'' or -o - -O /dev/null.
I fixed it by replacing the line with:
wget -t 1 -C off -T 25 -o /dev/null -O /dev/null ${i}/distfiles/mirrorselect-test
-o /dev/null : Suppreses the log output
-O /dev/null : Discards the downloaded data.
I confirm that when doing deep tests with mirrorselect, I get lots of garbage
output in stdout.
#2 won't fix the problem. All it did was adding a second temporary file which
is then used to the data about the mirrors.
The problem is wget putting the data to stdout specified by ``-O -''. It would
be quite easy to fix and to restore the old behaviour.
Good catch. That "-O -" needs to be changed to "-O ${TMPFILE}", of course.
0.84 throws a lot of garbage too
should be fixed in 0.86 - regards.
confirmed
when will it become stable?