1 |
Dear folks, |
2 |
|
3 |
I had a bit of a hard time installing gentoo 1.2. Partly this was due |
4 |
to being behind a firewall that would not pass rsync traffic. But |
5 |
there is also an error in the install instructions |
6 |
|
7 |
http://gentoo.org/doc/build.html |
8 |
|
9 |
Section 11. "Progressing from stage1 to stage2" says |
10 |
|
11 |
First edit the file /etc/make.conf. [...] |
12 |
If necessary, you can also set proxy information here |
13 |
if you are behind a firewall. |
14 |
|
15 |
This is bad advice for people behind a firewall, because during the |
16 |
execution of scripts/bootstrap.sh, the file /etc/make.conf gets |
17 |
replaced temporarily with a fresh file that does not have the proxy |
18 |
information. |
19 |
|
20 |
Result: bootstrap.sh fails (cannot wget gettext), and on the second |
21 |
attempt the hand-edited make.conf (which has been moved to |
22 |
make.conf.build and not moved back due to the failure) gets clobbered. |
23 |
|
24 |
The instruction should be corrected to tell the user to set the proxy |
25 |
information in the environment thus: |
26 |
|
27 |
export http_proxy="machine.company.com:1234" |
28 |
export ftp_proxy="$http_proxy" |
29 |
export RSYNC_PROXY="$http_proxy" |
30 |
|
31 |
(Trying to set the information in /etc/wget/wgetrc fails for similar |
32 |
reasons during "emerge system", because the file gets clobbered when |
33 |
wget is built). |
34 |
|
35 |
Regards, |
36 |
|
37 |
Oliver Schoett |