Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 188379

Summary: sys-apps/pciutils-2.2.4-r3's update-pciids ignores http_proxy set in environment
Product: Gentoo Linux Reporter: Christian Heim (RETIRED) <phreak>
Component: Current packagesAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: trivial    
Priority: High    
Version: 2007.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Christian Heim (RETIRED) gentoo-dev 2007-08-10 17:56:04 UTC
Even if you set http_proxy in the environment (like export http_proxy="http://my-proxy:8080"), update-pciids ignores that value completely, which is strange since it relies upon wget (since neither curl nor lynx is present on the box).

x3850 ~ [0] $ sudo /usr/sbin/update-pciids
--21:34:44--  http://pciids.sourceforge.net/v2.2/pci.ids.gz
           => `/usr/share/misc/pci.ids.gz.new'
Resolving pciids.sourceforge.net... 66.35.250.209
Connecting to pciids.sourceforge.net|66.35.250.209|:80...

And it just sits there ..
Comment 1 SpanKY gentoo-dev 2007-08-12 14:31:57 UTC
sudo filters env vars doesnt it ?
Comment 2 Tony Vroon (RETIRED) gentoo-dev 2007-08-13 08:35:45 UTC
Vapier is right; you'll want to uncomment this line:
# Defaults:%wheel       !env_reset

This is in /etc/sudoers
Comment 3 Christian Heim (RETIRED) gentoo-dev 2007-08-13 20:21:17 UTC
You both are right ...