Bug#562399: gnome-network-properties : system wide setting doesn't set authentication and ignored hosts in /etc/environment

PomCompot pomme_compote-debianbugs at yahoo.fr
Thu Dec 24 13:12:15 UTC 2009


Package: gnome-control-center
Version: 2.28.1
Severity: normal

Description: In gnome-network-properties, when you set a proxy, either with
authentication information and/or some ‘Ignored Hosts’, and choose ‘Apply
System-Wide…’, this is not correctly spread to the /etc/environment file.

Steps to Reproduce:
1) Open the gnome-network-properties dialog.
2) Set a proxy either with authentication and/or some ignored hosts, for
instance:
  – proxy: myproxy.mydomain.com
  – port: 3128,
  – user: myuser
  – password: mypassword
  – ignored hosts: localhost, 127.0.0.0/8, *.local
3) Choose ‘Apply System-Wide…’.
4) Look at the /etc/environment file.

Actual Results: Neither the authentication information, nor the ignored hosts
are set into the /etc/environment file.
Sample result /etc/environment file:
  PATH=[...]
  http_proxy="http://myproxy.mydomain.com:3128/"
  ftp_proxy="ftp://myproxy.mydomain.com:3128/"
  https_proxy="https://myproxy.mydomain.com:3128/"

Expected Results: If authentication information has been set in the dialog, it
must be set into the file. If ignored hosts have been set, a no_proxy variable
must be created and set.
Expected result /etc/environment file:
  PATH=[...]
  http_proxy="http://myuser:mypassword@myproxy.mydomain.com:3128/"
  ftp_proxy="ftp://myuser:mypassword@myproxy.mydomain.com:3128/"
  https_proxy="https://myuser:mypassword@myproxy.mydomain.com:3128/"
  no_proxy="localhost,127.0.0.0/8,*.local"

Build Date & Platform: Ubuntu Karmic Koala 9.10

Additional Builds and Platforms: Must happen on all Debian based distribution.

Additional Information: This bug is quite critical, because it affects all the
applications that read the http_proxy and others environment variables:
gnome-terminal and all applications launched from it (aptitude for instance),
eclipse, synaptic,





More information about the pkg-gnome-maintainers mailing list