Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 188379 - sys-apps/pciutils-2.2.4-r3's update-pciids ignores http_proxy set in environment
Summary: sys-apps/pciutils-2.2.4-r3's update-pciids ignores http_proxy set in environment
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High trivial (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-10 17:56 UTC by Christian Heim (RETIRED)
Modified: 2007-08-13 20:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ...