Bug #805

/etc/wgetrc proxy settings from template block any use of proxy if no proxy during install

Добавил(а) Scott Bertilson около 9 лет назад. Обновлено около 9 лет назад.

Статус:New Начата:16.09.2015
Приоритет:High Дата выполнения:
Назначена:- Готовность в %:

0%

Категория:- Затраченное время: -
Версия:-
Голоса: 0

Описание

The template:
/var/lib/layman/calculate/profiles/templates/3.3/3_ac_install_live/1-merge/net-misc/wget/wgetrc

has:
  1. Calculate format=dovecot

passive_ftp = on
waitretry = 10
http_proxy = #os_install_proxy#
ftp_proxy = #os_install_proxy#
#?os_install_proxy!=#
use_proxy = on
#os_install_proxy#

which, if the original install didn't use a proxy, results in /etc/wgetrc having:
http_proxy =
ftp_proxy =

which overrides any setting of these variables in the environment.

Perhaps the template should be:
  1. Calculate format=dovecot

passive_ftp = on
waitretry = 10
#?os_install_proxy!=#
use_proxy = on
http_proxy = #os_install_proxy#
ftp_proxy = #os_install_proxy#
#os_install_proxy#

This caused me a great deal of pain in trying to track down why wget invoked by emerge with a proxy set in the environment paid no attention to that proxy setting. I needed a proxy to work around a temporary network connectivity issue.

История

Обновлено Scott Bertilson около 9 лет назад

This seemed pretty straightforward to me. Is there some good reason why the override behavior needs to be forced?

Экспортировать в Atom PDF

Спасибо!