http_proxy environment variable is not being updated

Bug #271108 reported by George Pollard on 2008-09-16
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Medium
Michael Vogt
Nominated for Karmic by Elfir3

Bug Description

Changing to "direct internet connection" in gnome-network-preferences doesn't seem to update the http_proxy environment variable.

Programs that this affects (that I've found) include apt-get and liferea.

George Pollard (porges) wrote :
Sebastien Bacher (seb128) wrote :

thank you for your bug report, that's not a bug though, the variable is changed but applications running don't get dynamic environment changes, that's not a bug in the configuration tools

Changed in gnome-system-tools:
importance: Undecided → Low
status: New → Invalid
George Pollard (porges) wrote :

see comment

Changed in gnome-control-center:
status: Invalid → New
George Pollard (porges) wrote :

Sebastien, sorry if the screenshot is misleading, but the terminal was launched *after* the proxy settings were changed. Even if I restart the computer $http_proxy is not updated.

Sebastien Bacher (seb128) wrote :

what ubuntu version do you use, could you open gconf-editor and see if the system, http_proxy and proxy categories are updated when you do changes in the GNOME dialog

Changed in gnome-control-center:
assignee: nobody → desktop-bugs
status: New → Incomplete
George Pollard (porges) wrote :

This is using latest Intrepid Alpha.

These properties are updated correctly in gconf-editor:
/system/http_proxy/use_http_proxy
/system/proxy/mode

Sebastien Bacher (seb128) wrote :

that's what this dialog is supposed to do, so it seems to work correctly, the bug would rather be those applications not using the gconf key correctly then

George Pollard (porges) wrote :

I think I've found the problem: http_proxy is being set explicitly in /etc/environment.

I didn't put this there myself (and it wasn't there before I upgraded to Intrepid), so I presume that this is a side-effect of upgrading to Intrepid through a proxy?

Michael Vogt (mvo) wrote :

Thanks for your bugreport.

When you changed the proxy settings, did you click (afterwards) on "Apply system-wide" ?

Changed in gnome-control-center:
assignee: desktop-bugs → mvo
George Pollard (porges) wrote :

Yes, this does not affect the /etc/environment setting.

Michael Vogt (mvo) on 2008-09-19
Changed in gnome-control-center:
importance: Low → Medium
milestone: none → ubuntu-8.10-beta
status: Incomplete → Triaged
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-control-center - 1:2.23.90-0ubuntu12

---------------
gnome-control-center (1:2.23.90-0ubuntu12) intrepid; urgency=low

  * debian/patches/50_ubuntu_systemwide_prefs.patch:
    - fix reseting the proxy environment (LP: #271108)

 -- Michael Vogt <email address hidden> Tue, 23 Sep 2008 10:01:28 +0200

Changed in gnome-control-center:
status: Triaged → Fix Released
Luca Aluffi (aluffilu) wrote :

Hi!

Just installed 8.10 over a proxyed computer and still experiencing the same problem as a above.
1) Package gnome-control-center is 1:2.24.0.1-0ubuntu7.1. ;
2) gconf-editor shows the right information but /etc/environment does not;
3) I've tried a couple of time to set/unset variables and still does not works

Bye
Luca

DerekKeats (derek-dkeats) wrote :

I am on a fully up-to-date Intrepid and I am getting the same problem. It has resulted in much frustration with instability. Is there any workaround to get rid of the 'proxy settigns from hell' problem?

Description of bug:

Open gconf-editor, and delete proxy and http_proxy settings. Close gconf-editor, and reopen it, and the settings are unchanged (i.e. the proxy settings are still there. Do this with preferences, network proxy, apply system wide, and save. Restart a terminal or restart the computer and type echo $http_proxy and the deleted settings are still there.

Where is this stored, and how can I edit it manually to get rid of the problem until the bug is resolved?

thanks
derek

abc_echo (siren442-gmail) wrote :

on ubuntu 9.10, I encountered the same problem.

abc_echo (siren442-gmail) wrote :

it's boring... :(

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers