[Bug 877254] Re: Network proxy settings does not keep "DIRECT" value in apt.conf when set back to method "None"
Launchpad Bug Tracker
877254 at bugs.launchpad.net
Thu Oct 27 08:31:22 UTC 2011
** Branch linked: lp:ubuntu/oneiric-proposed/ubuntu-system-service
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-system-service in
Ubuntu.
https://bugs.launchpad.net/bugs/877254
Title:
Network proxy settings does not keep "DIRECT" value in apt.conf when
set back to method "None"
Status in “ubuntu-system-service” package in Ubuntu:
New
Status in “ubuntu-system-service” source package in Oneiric:
Fix Committed
Bug description:
Network proxy settings in gnome-control-center removes
Acquire::*::proxy::HOST "DIRECT" value when set proxy method "None".
NOTE: Acquire::*::proxy::HOST "DIRECT" works as no_proxy for APT.
How to reproduce:
1. open network settings in gnome-control-center
2. set proxy like the example below:
* method - manual
* HTTP Proxy - example.com:8080
* HTTPS Proxy - example.com:8090
3. press "Apply system wide"
- confirm proxy settings are written in /etc/apt/apt.conf
4. add the line below into /etc/apt/apt.conf manually
- Acquire::http::proxy::server1.local "DIRECT";
5. add the line below into /etc/apt/apt.conf.d/90no-proxy.conf
- Acquire::http::proxy::server2.local "DIRECT";
6. turn off proxy by set back the Method to "None" and press "Apply system wide" again.
Expected to happen:
7. the three lines below are removed from /etc/apt/apt.conf
- Acquire::http::proxy "http://example.com:8080/";
- Acquire::https::proxy "http://example.com:8080/";
- Acquire::ftp::proxy "http://example.com:8080/";
but leave the lines below in /etc/apt/apt.conf and /etc/apt/apt.conf.d/90no-proxy.conf as is to be useful for the next time.
- Acquire::http::proxy::server1.local "DIRECT";
- Acquire::http::proxy::server2.local "DIRECT";
What happened instead:
7. the three lines are removed and also "DIRECT" lines are removed.
NOTE:
"Apply system wide" for /etc/environment leave no_proxy value as is.
ProblemType: BugDistroRelease: Ubuntu 11.10
Package: gnome-control-center 1:3.2.0-0ubuntu6
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CasperVersion: 1.285
Date: Tue Oct 18 05:07:00 2011
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111011)
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bashSourcePackage: gnome-control-center
UpgradeStatus: No upgrade log present (probably fresh install)
usr_lib_gnome-control-center:
deja-dup 20.0-0ubuntu3
gnome-bluetooth 3.2.0-0ubuntu1
indicator-datetime 0.3.0-0ubuntu3
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-service/+bug/877254/+subscriptions
More information about the foundations-bugs
mailing list