[Bug 207768] Re: no_proxy environment dropped when calling synaptic

Brian J. Murrell brian at interlinx.bc.ca
Mon Apr 16 10:22:13 UTC 2012


Whatever.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/207768

Title:
  no_proxy environment dropped when calling synaptic

Status in “sudo” package in Ubuntu:
  Won't Fix

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/207768/+subscriptions




More information about the foundations-bugs mailing list