flashplugin-installer doesn't consider proxy setting when invoking the wget command

Bug #604665 reported by Fernando
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
flashplugin-nonfree (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Binary package hint: flashplugin-nonfree

Hi Team!

I'm having a problem with "flashplugin-installer".

Basically, I've got this configuration in /etc/apt/apt.conf:
============================================================
Acquire::http::proxy "http://10.1.1.1:3128/";
Acquire::ftp::proxy "ftp://10.1.1.1:3128/";
Acquire::https::proxy "https://10.1.1.1:3128/";

Well, it seems that flashplugin-installer doesn't consider this setting when invoking the wget command:
=======================================================================================================
Configurando flashplugin-installer (10.1.53.64ubuntu0.10.04.3) ...
Downloading...
--2010-07-12 09:36:35-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.53.64.orig.tar.gz
Resolviendo archive.canonical.com... 91.189.88.33
Conectando a archive.canonical.com|91.189.88.33|:80... falló: Conexión rechazada.<--[CONNECTION REJECTED BY FIREWALL]
download failed
The Flash plugin is NOT installed.

My firewall log:
================
Jul 12 09:36:36 gateway kernel: [948792.426144] Shorewall:adm2int:REJECT:IN=eth0 OUT=eth2 SRC=10.1.1.10 DST=91.189.88.33 LEN=60 TOS=0x00 PREC=0x00 TTL=63 ID=17252 DF PROTO=TCP SPT=37190 DPT=80 WINDOW=5840 RES=0x00 SYN URGP=0

Finally, after I create an specific firewall rule (NAT) to Canonical:
=====================================================================
$ sudo dpkg-reconfigure flashplugin-installer
[sudo] password for yo:
Downloading...
--2010-07-12 12:02:39-- http://archive.canonical.com/pool/partner/a/adobe-flashplugin/adobe-flashplugin_10.1.53.64.orig.tar.gz
Resolviendo archive.canonical.com... 91.189.88.33
Conectando a archive.canonical.com|91.189.88.33|:80... conectado.
Petición HTTP enviada, esperando respuesta... 200 OK
Longitud: 4739416 (4,5M) [application/x-gzip]
Guardando en: `./adobe-flashplugin_10.1.53.64.orig.tar.gz'

     0K .......... .......... .......... .......... .......... 1% 47,0K 97s
    50K .......... .......... .......... .......... .......... 2% 187K 60s
   100K .......... .......... .......... .......... .......... 3% 190K 48s
(...)
  4550K .......... .......... .......... .......... .......... 99% 8,63M 0s
  4600K .......... .......... ........ 100% 629K=6,7s

2010-07-12 12:02:47 (692 KB/s) - `./adobe-flashplugin_10.1.53.64.orig.tar.gz' guardado [4739416/4739416]

Download done.
Flash Plugin installed.

Regards,
Fernando.-

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: flashplugin-installer 10.1.53.64ubuntu0.10.04.3
ProcVersionSignature: Ubuntu 2.6.32-23.37-generic 2.6.32.15+drm33.5
Uname: Linux 2.6.32-23-generic i686
Architecture: i386
Date: Mon Jul 12 12:13:33 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
ProcEnviron:
 LANG=es_AR.utf8
 SHELL=/bin/bash
SourcePackage: flashplugin-nonfree

Revision history for this message
Fernando (fernando-018) wrote :
Revision history for this message
Fernando (fernando-018) wrote :

Running as root:
================
# env|grep 10.1.1.1
http_proxy=http://10.1.1.1:3128/
ftp_proxy=ftp://10.1.1.1:3128/
https_proxy=https://10.1.1.1:3128/

Running as a normal user:
=========================
$ env|grep 10.1.1.1
http_proxy=http://10.1.1.1:3128/
ftp_proxy=ftp://10.1.1.1:3128/
https_proxy=https://10.1.1.1:3128/

But doing sudo:
===============
$ sudo env|grep 10.1.1.1
[NO RESULTS]

$ sudo env
TERM=xterm
LS_COLORS=rs=0:di=01; (...)
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
LANG=es_AR.utf8
HOME=/home/xxx
DISPLAY=:0.0
XAUTHORITY=/var/run/gdm/auth-for-xxx-xxxxxx/database
SHELL=/bin/bash
LOGNAME=root
USER=root
USERNAME=root
SUDO_COMMAND=/usr/bin/env
SUDO_USER=xxx
SUDO_UID=1000
SUDO_GID=1000

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in flashplugin-nonfree (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.