[Bug 877088] Re: Network proxy setting does not set apt.conf from the second time

Nobuto MURATA nobuto at nobuto-murata.org
Thu Oct 27 13:42:21 UTC 2011


Indeed ubuntu-system-service/oneiric-proposed 0.1.26.1 set proxy for apt on the second time or later.
But it set proxy to apt.conf *and* the all files under apt.conf.d. This is not my desirable behavior.
Please refer attached diff between before and after pressing "Apply system wide".

** Patch added: "proxy_system_wide.diff"
   https://bugs.launchpad.net/ubuntu/+source/ubuntu-system-service/+bug/877088/+attachment/2575219/+files/proxy_system_wide.diff

-- 
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/877088

Title:
  Network proxy setting does not set apt.conf from the second time

Status in “ubuntu-system-service” package in Ubuntu:
  Confirmed
Status in “ubuntu-system-service” source package in Oneiric:
  Fix Committed

Bug description:
  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/environment and /etc/apt/apt.conf
    4. turn off proxy by set back the Method to "None" and press "Apply system wide" again.
        - confirm proxy settings are gone from /etc/environment and /etc/apt/apt.conf
    5. set proxy again as well as step. 2, then press "Apply system wide" again.

  Expected to happen:
    6. proxy settings are written in /etc/environment and /etc/apt/apt.conf

  What happened instead:
    6. proxy settings are written in only /etc/environment, then /etc/apt/apt.conf remains as blank.

  ProblemType: Bug
  DistroRelease: 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/bash
  SourcePackage: 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/877088/+subscriptions




More information about the foundations-bugs mailing list