Red Hat Bugzilla – Bug 1493772
update-pciids has incorrect URL for downloading an updated pci.ids file
Last modified: 2018-04-10 13:44:19 EDT
Description of problem: update-pciids script uses the URL http://pciids.sourceforge.net/pci.ids, which is no longer valid. The pci.ids maintainer has removed the file from the sourceforge site and is using this URL http://pci-ids.ucw.cz/v2.2/pci.ids in the latest pciutils scripts. Version-Release number of selected component (if applicable): 3.5.1 How reproducible: consistently everytime Steps to Reproduce: 1. run `update-pciids` as root 2. 3. Actual results: The command will timeout trying to find pci.ids file on sourceforge Expected results: The pci.ids is downloaded and updates the local pci.ids file Additional info:
Not reproducible for me. Are you sure? $ wget -q http://pciids.sourceforge.net/pci.ids -O pci.sf.ids $ wget -q http://pci-ids.ucw.cz/v2.2/pci.ids -O pci.ucw.ids $ sha1sum pci.sf.ids pci.ucw.ids cc8c0a0929a913aa39a5ac7c2f128e5dc244702d pci.sf.ids cc8c0a0929a913aa39a5ac7c2f128e5dc244702d pci.ucw.ids They both exist and have the same content
Jeff was talking about this in the weekly Intel meeting. I'll reach out to him for additional details. IIUC, Intel has been concerned with the sourceforge location for sometime and wants it changed to the new location listed above. P.
From Jeff (in email): My concern was that the pci.ids maintainer has updated the update-pciids script in pciutils git repo to use http://pci-ids.ucw.cz website, and he has it listed in the TODO document in the git repo to remove the sourceforge.net site. Even on the pci.ids.sourceforge.net site, he has it stating that the "official" site has moved and provides a link to the http://pci-ids.ucw.cz site. When using the update-pciids utility that gets bundled with RHEL and Fedora, I had issues using the script to update the local pci.ids file, but once I edited the update-pciids script to the http://pci-ids.ucw.cz url, it worked just fine. P.
ALL TESTS PASSED Verified as passed, pci.ids url has been updated to http://pci-ids.ucw.cz for update-pciids script. ~]# rpm -q pciutils pciutils-3.5.1-3.el7.ppc64 ~]# update-pciids % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 233k 100 233k 0 0 51339 0 0:00:04 0:00:04 --:--:-- 57722 Done. ~]# grep http /usr/sbin/update-pciids SRC="http://pci-ids.ucw.cz/v2.2/pci.ids"
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:0950