Bug 22990

Summary: Virt-manager should requires hwdata
Product: Mageia Reporter: Adrien Guichard <guichard.adrien>
Component: RPM PackagesAssignee: All Packagers <pkg-bugs>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: virt-manager-1.5.1-1.mga7 CVE:
Status comment:
Bug Depends on: 22999    
Bug Blocks:    
Attachments: Patch to add hwdata to virt-managter-common requires

Description Adrien Guichard 2018-05-04 06:05:55 CEST
If I try to create a new virtual machine, virt-manager complains about missing 
/usr/share/hwdata/pci.ids file, afer clicking on next button.
Comment 1 Marja Van Waes 2018-05-04 12:16:30 CEST
Assigning to all packagers collectively, since there is no registered maintainer for this package.

Assignee: bugsquad => pkg-bugs
CC: (none) => marja11

Comment 2 Adrien Guichard 2018-05-07 00:13:47 CEST
Created attachment 10127 [details]
Patch to add hwdata to virt-managter-common requires

svn diff > hwdata.spec.patch
Comment 3 Adrien Guichard 2018-05-07 00:15:06 CEST
another way to reproduce the problem

$ LANG=C; virt-install --memory 1024 --cdrom /home/libvirt/Mageia-6-x86_64-DVD.iso --disk none --name test                                                                                                                                                               
ERROR    g-io-error-quark: Error opening file /usr/share/hwdata/pci.ids: No such file or directory (1)
Comment 4 Adrien Guichard 2018-05-07 07:06:14 CEST
The patch does not work, ldetect-lst already provide pci.ids file.

it is better to modify libosinfo to use the right file.
Adrien Guichard 2018-05-07 07:19:35 CEST

Depends on: (none) => 22999

Comment 5 Adrien Guichard 2018-05-07 21:57:10 CEST
Fixed with #22999
Comment 6 Adrien Guichard 2018-05-07 21:57:30 CEST
(In reply to Adrien Guichard from comment #5)
> Fixed with #22999

Status: NEW => RESOLVED
Resolution: (none) => FIXED