After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 605357 - gnome-network-properties : system wide setting doesn't set authentication and ignored hosts in /etc/environment
gnome-network-properties : system wide setting doesn't set authentication and...
Status: RESOLVED NOTGNOME
Product: gnome-control-center
Classification: Core
Component: Network
2.28.x
Other Linux
: Normal normal
: ---
Assigned To: Control-Center Maintainers
Control-Center Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-12-24 09:29 UTC by PomCompot
Modified: 2009-12-24 12:16 UTC
See Also:
GNOME target: 2.28.x
GNOME version: 2.27/2.28



Description PomCompot 2009-12-24 09:29:13 UTC
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,
Comment 1 Jens Granseuer 2009-12-24 12:16:15 UTC
"Apply system-wide" is a distro patch. Please complain there.