Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 106691 - sys-apps/pciutils-2.1.11-r5 requires online connection to updat pci.ids
Summary: sys-apps/pciutils-2.1.11-r5 requires online connection to updat pci.ids
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-20 08:49 UTC by Petric Frank
Modified: 2005-10-27 17:09 UTC (History)
1 user (show)

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


Attachments
Output of 'emerge info' (info.system,1.65 KB, text/plain)
2005-09-20 08:52 UTC, Petric Frank
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petric Frank 2005-09-20 08:49:13 UTC
If you are going to update pciutils on an offline system it tries to fetch the 
latest pci.ids from the internet anyway (and hangs forever ?). 
 

Reproducible: Always
Steps to Reproduce:
1.Disconnet from Internet 
2.execute 'emerge pciutils' 
3. 
 
Actual Results:  
Calculating dependencies ...done!  
>>> emerge (1 of 4) sys-apps/pciutils-2.1.11-r5 to /  
>>> md5 files   ;-) pciutils-2.1.11-r4.ebuild  
>>> md5 files   ;-) pciutils-2.1.11-r3.ebuild  
>>> md5 files   ;-) pciutils-2.1.11-r5.ebuild  
>>> md5 files   ;-) files/2.1.11-sysfs.patch  
>>> md5 files   ;-) files/pciutils-2.1.11-bsd.patch  
>>> md5 files   ;-) files/2.1.11-scan.patch  
>>> md5 files   ;-) files/pcimodules-pciutils-2.1.11.diff  
>>> md5 files   ;-) files/pciutils-2.1.11-gentoo-paths.patch  
>>> md5 files   ;-) files/digest-pciutils-2.1.11-r4  
>>> md5 files   ;-) files/digest-pciutils-2.1.11-r3  
>>> md5 files   ;-) files/2.1.11-fix-pci-ids-location-refs.patch  
>>> md5 files   ;-) files/pciutils-2.1.11-fix-pci-ids-location-refs.patch  
>>> md5 files   ;-) files/digest-pciutils-2.1.11-r5  
>>> md5 files   ;-) files/pciutils-2.1.11-sysfs.patch  
>>> md5 src_uri ;-) pciutils-2.1.11.tar.gz  
>>> md5 src_uri ;-) pci.ids-20041019.bz2  
>>> Unpacking source...  
>>> Unpacking pciutils-2.1.11.tar.gz  
to /var/tmp/portage/pciutils-2.1.11-r5/work  
>>> Unpacking pci.ids-20041019.bz2 to /var/tmp/portage/pciutils-2.1.11-r5/work  
 * Applying pcimodules-pciutils-2.1.11.diff ...                                                                        
[ ok ]  
 * Applying pciutils-2.1.11-sysfs.patch ...                                                                            
[ ok ]  
 * Applying pciutils-2.1.11-gentoo-paths.patch ...                                                                     
[ ok ]  
 * Applying 2.1.11-scan.patch ...                                                                                      
[ ok ]  
 * Applying pciutils-2.1.11-bsd.patch ...                                                                              
[ ok ]  
 * Updating pci.ids ...  
 ... 
(processing hangs) 
 

Expected Results:  
Either skip the fetch on request or allow to place an updated pci.ids  
somewhere (maybe in /usr/portage/distfiles) to be taken into account.
Comment 1 Petric Frank 2005-09-20 08:52:08 UTC
Created attachment 68865 [details]
Output of 'emerge info'
Comment 2 SpanKY gentoo-dev 2005-09-20 12:17:05 UTC
no, it'll time out
Comment 3 Petric Frank 2005-09-20 13:33:41 UTC
I suggest to add a message in front of "Updating pci.ids ..." stating that this 
may hang for several minutes (timeout) before the process continues. 
 
Here it hung for at least 2 minutes (then i aborted it). 
 
Comment 4 Andrej Kacian (RETIRED) gentoo-dev 2005-10-27 02:26:55 UTC
Yeah, it times out, but it's a major PITA to have it idling around for ages
before it does. Maybe some sane timeout value for the wget/curl call would be
appropriate.

I have been working around this issue by temporarily REJECTing outbound http
traffic, but that's far from optimal solution.
Comment 5 SpanKY gentoo-dev 2005-10-27 17:09:41 UTC
whatever, forced a smaller timeout value