Proxy "Apply System Wide" does not preserve authentication settings

Bug #602254 reported by Brian
22
This bug affects 4 people
Affects Status Importance Assigned to Milestone
gnome-control-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Binary package hint: gnome-control-center

Arch: amd64
Dist: Lucid Lynx (10.04)

Executable Path:
/usr/bin/gnome-network-properties:

When changing the proxy preferences, authentication settings are not carried through to some of the "System Wide" applications.

Authentication is generally set using http_proxy=http://username:password@proxy_ip_address:proxy_port, however some of these applications are only configured with no authentication information (http_proxy=http://proxy_ip_address:proxy_port)

The main application that I noticed this on is apt (/etc/apt/apt.conf), but I will sporadically run into other application that I have to manually update as well.

Changed in gnome-control-center (Ubuntu):
importance: Undecided → Low
Revision history for this message
Henning Moll (drscott) wrote :

I can confirm this problem (10.04): Though the authentication credentials are entered in gnome-network-properties and set as system wide, they are not present in

 * $http_proxy in shell environments. Neither in on pure tty, nor within terminals under gnome.
 * /etc/apt/apt.conf
 * Synaptics

In all these cases, only the normal proxy informations are present.
On the other hand:

 * update-manager works.
 * firefox works, but is still asking for auth credentials.

There is interesting output, if you start gnome-network-properties on a commandline...

It should be up to the administrator whether the auth credentials are also set system wide or not.

Revision history for this message
Henning Moll (drscott) wrote :

in 10.10 even update-manager does not work anymore...

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

The function "apply system-wide" should at least also update /etc/apt/apt.conf including authentication credentials. This would fix many issues (also the following).

An additional remark for those who will sometimes address/fix this issue. There is also a little problem with "sudo" as it will clear the environment variable http_proxy in case it have been set before. One solution could be to use "env_keep". But this could be a security concern. Maybe sudo has another way to define environment variables in a fixed way.

Revision history for this message
Sebastien Bacher (seb128) wrote :

is that an issue in Oneiric?

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.