Set "network proxy" to none, yet http_proxy env var is still set in bash after new login

Bug #1037196 reported by Reuben Firmin
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I configured a proxy using gnome-control-center (launched via the proxy config in chromium). I then changed it to "none". After several restarts, the http_proxy environment variable is _still_ set to what I'd set it to. I had to add lines to my .bashrc to unset it. In gconf, it appears that the http_proxy values are blank. I don't see it stashed elsewhere in any of the environment related files, but it must still be somewhere.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: gnome-control-center 1:3.4.2-0ubuntu0.3
ProcVersionSignature: Ubuntu 3.2.0-27.43-generic 3.2.21
Uname: Linux 3.2.0-27-generic x86_64
ApportVersion: 2.0.1-0ubuntu11
Architecture: amd64
Date: Wed Aug 15 12:27:14 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
 LANGUAGE=
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center:
 activity-log-manager-control-center 0.9.4-0ubuntu3
 deja-dup 22.0-0ubuntu2
 gnome-bluetooth 3.2.2-0ubuntu5
 indicator-datetime 0.3.94-0ubuntu2

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

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

Changed in gnome-control-center (Ubuntu):
status: New → Confirmed
Revision history for this message
dregad (dregad) wrote :

I experience a very similar problem.

Funny enough, other proxy variables in the gnome-control-center network applet (https_proxy, ftp_proxy, socks host) are set correctly and reflected as entered in terminal, e.g.

$ env |grep https_proxy
https_proxy=http://<domain>\<user>:<password>@proxy.example.com:8080/

For http_proxy however, it appears that the contents of the HTTP Proxy field is concatenated to some other values (coming from god knows where), which are actually some old authentication data, set prior to upgrading to 12.04:

$ env |grep http_proxy
http_proxy=http://<old_domain>%5C<old_user>:<old_password>@<domain>\<user>:<password>@proxy.example.com:8080/

where '<domain>\<user>:<password>@proxy.example.com:8080/' is what I actually entered in the control center.

I could not find any trace of either old domain, user or password anywhere on the system (searched in gconf-editor and global grep)

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.