Public bug reported:

Binary package hint: update-manager

Using an up-to-date hardy (March 27, 2008) I'm finding that somewhere
along the path from update-manager to synaptic, several proxy
controlling environment variables are getting dropped.  The process
stack looks like:

  361 ?        Sl     0:19 /usr/bin/python2.5 /usr/bin/update-manager
 3303 ?        S      0:00  \_ /usr/bin/gksu --desktop 
/usr/share/applications/update-manager.desktop -- /usr/sbin/synaptic --hide-m
 3304 ?        Rs     0:46      \_ /usr/sbin/synaptic --hide-main-window 
--non-interactive --parent-window-id 153092100 -o Synaptic:

The relevant proxy environment variables for update-manager:

$ tr '\0' '\n' < /proc/361/environ | grep -i proxy
NO_PROXY=*.interlinx.bc.ca,interlinx.bc.ca,*.ilinx
http_proxy=http://linux:3128/
HTTPS_PROXY=http://linux:3128/
no_proxy=*.interlinx.bc.ca,interlinx.bc.ca,*.ilinx

And for gksu:
$ sudo bash -c "tr '\0' '\n' < /proc/3303/environ " | grep -i proxy
NO_PROXY=*.interlinx.bc.ca,interlinx.bc.ca,*.ilinx
http_proxy=http://linux:3128/
HTTPS_PROXY=http://linux:3128/
no_proxy=*.interlinx.bc.ca,interlinx.bc.ca,*.ilinx

and for synaptic:

$ sudo bash -c "tr '\0' '\n' < /proc/3304/environ " | grep -i proxy
http_proxy=http://linux:3128/

As you can see the NO_PROXY, no_proxy and HTTPS_PROXY variables are
getting dropped.

** Affects: update-manager (Ubuntu)
     Importance: Undecided
         Status: New

-- 
no_proxy environment dropped when calling synaptic
https://bugs.launchpad.net/bugs/207768
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to