proxy setting don't change http_proxy value

Bug #544033 reported by Benoit Ebner on 2010-03-22
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Low
Unassigned

Bug Description

Binary package hint: gnome-control-center

When I switch from a situation with proxy without proxy situation, the http_proxy variable is not updated. It always contains the address of my proxy.

ProblemType: Bug
Architecture: i386
Date: Mon Mar 22 10:53:17 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/gnome-network-properties
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318)
Package: gnome-control-center 1:2.29.92-0ubuntu1
ProcEnviron:
 LANG=fr_BE.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SourcePackage: gnome-control-center
Uname: Linux 2.6.32-16-generic i686

Benoit Ebner (ebnerbenoit) wrote :
Chris Coulson (chrisccoulson) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we can't fix it because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http://www.chiark.greenend.org.uk/~sgtatham/bugs.html. We'd be grateful if you would then provide a more complete description of the problem. We have instructions on debugging some types of problems at http://wiki.ubuntu.com/DebuggingProcedures.
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!

When reporting bugs in the future please use apport, either via the appropriate application's "Help -> Report a Problem" menu or using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https://wiki.ubuntu.com/ReportingBugs.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Benoit Ebner (ebnerbenoit) wrote :

Toutes mes excuses, j'ai été un peu vite dans la description du bug.
Alors, j'utilise System->Preferences->Network Proxy pour modifier mes informations proxy. Voici la marche a suivre pour reproduire le bug:
1. Dans un terminal:
  cat /etc/apt/apt.conf donne un fichier vide
  echo $http_proxy donne une variable vide
2. Dans System->Preferences->Network Proxy:
  Je coche "Manual..."
  Je coche "Use the same..."
  J'écris l'adresse de mon proxy
  Dans détails, j'encode mon login et password.
  Je clique sur Apply System-Wide
3. Dans un terminal:
  cat /etc/etc/apt.conf me donne les lignes pour http et ftp (pas de ligne pour https?)
  echo $http_proxy me donne bien le proxy
4. Je retourne dans Network Proxy et coche "Direct internet..."
  Je clique sur Apply System-Wide...
5. Dans un terminal:
  echo $http_proxy n'est pas vide et contient toujours le proxy
  cat /etc/etc/apt.conf est bien vide.

Si maintenant, je crée une seconde location (une avec proxy, une autre sans proxy) et que je switch entre l'une et l'autre, le fichier apt.conf n'est pas mis a jour.

Avant la mise a jour de la beta, les login et password contenu dans details étaient bien reproduit dans les configurations (http_proxy et apt.conf). Depuis la beta cela n'est plus le cas. Est-ce normal? (bug 494373)

Benoit Ebner (ebnerbenoit) wrote :

In English, is better:

My apologies, I was a little faster in the description of the bug.
So, I use System-> Preferences-> Network Proxy to change my proxy information. Here's how to follow to reproduce the bug:
1. In a terminal:
  cat / etc / apt / apt.conf gives an empty file
  echo $ http_proxy gives a variable vacuum
2. In System-> Preferences-> Network Proxy:
  I check "Manual ..."
  I check "Use the same ..."
  I write the address of my proxy
  In detail, I encode my login and password.
  I click Apply System-Wide
3. In a terminal:
  cat / etc / etc / apt.conf gives me lines for http and ftp (no line for https?)
  echo $ http_proxy gives me the proxy
4. I go back and check Network Proxy "Direct Internet ..."
  I click Apply System-Wide ...
5. In a terminal:
  echo $ http_proxy is not empty and still contains the proxy
  cat / etc / etc / apt.conf is empty.

If now, I creates a second location (with a proxy, another without a proxy) and I switch between one and another, apt.conf file is not updated.

Before the update to the beta, the login and password details were contained in well reproduced in configurations (http_proxy and apt.conf). Since this beta is no longer the case. Is this normal? (bug 494373)

Benoit Ebner (ebnerbenoit) wrote :

I completed my explanation

Changed in gnome-control-center (Ubuntu):
status: Incomplete → New
Sebastien Bacher (seb128) wrote :

could be a duplicate of bug #432631

Benoit Ebner (ebnerbenoit) wrote :

I don't know. I can retest it on beta 2.

I have this same issue with the final release of lucid.

The only difference being:

In System-> Preferences-> Network Proxy:
  I click the location dropdown menu and select new location (1st time only as it saves my location preferences)
  I check "Manual ..."
  I check "Use the same ..."
  I write the address of my proxy
  In detail, I encode my login and password.
  I click Apply System-Wide

In a terminal:
  cat / etc / etc / apt.conf gives me lines for http and ftp (no line for https?)
  echo $ http_proxy gives me the proxy

I go back and select the default location (set to direct internet connection)
  I click Apply System-Wide ...

In a terminal:
  echo $ http_proxy is not empty and still contains the proxy
  cat / etc / etc / apt.conf is empty

Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in gnome-control-center (Ubuntu):
status: New → Incomplete
Pedro Villavicencio (pedro) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to New. Thanks again!.

Changed in gnome-control-center (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers