Bug 1187450

Summary: fpaste sysinfo is missing information
Product: [Fedora] Fedora EPEL Reporter: d. johnson <drjohnson1>
Component: fpasteAssignee: Ankur Sinha (FranciscoD) <sanjay.ankur>
Status: ASSIGNED --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: epel7CC: athmanem, kevin, robyduck, sanjay.ankur
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description d. johnson 2015-01-30 04:03:55 UTC
Description of problem:

"fpaste --sysinfo" is missing pciutils and usbutils, so the information provided is very limited.

Version-Release number of selected component (if applicable):

fpaste-0.3.7.3.3-1.el7.noarch

How reproducible:

100%

Steps to Reproduce:
1. sudo yum install epel-release; sudo yum install fpaste
2. fpaste --sysinfo
3. Visit the url it outputs

Actual results:

pci and usb details are completely absent.


Expected results:

pci and usb information

Additional info:

sudo yum install pciutils usbutils

fixes this problem.  Both have zero added deps, and take 169kB to download.

If these are added to the "Requires:" tag in the spec file, this problem would be fixed.

Comment 1 Ankur Sinha (FranciscoD) 2015-01-30 09:31:50 UTC
Hrm. These are generally installed by default on Fedora systems, probably why the Requires weren't added earlier.

Comment 2 Kevin Fenzi 2015-01-30 15:07:49 UTC
Also, note that fpaste _is_ installed in a lot of media by default (all of the lives at least). 

So, just adding the deps will mean that all installs will get those packages. ;( 

Is there some other way to gather that information than depending on those tools?

Comment 3 Ankur Sinha (FranciscoD) 2015-05-22 11:02:58 UTC
Not that I'm aware of :(

fpaste has always used lsusb and lspci..

Comment 4 Ankur Sinha (FranciscoD) 2015-07-04 17:04:58 UTC
What should we do about this Kevin? I'd rather not pull in the deps at the moment. I think RPM has "suggests" in it now, but I can't find a packaging guideline about this yet.

Comment 5 Kevin Fenzi 2015-07-05 18:13:08 UTC
Well, this bug is actually against epel7. Does this happen on Fedora installs too?

I guess I would say go ahead and add the deps for now, and if they cause too much bloat or the like we can remove them or look for other ways to get that information. 

weak deps won't help epel7 at all (rpm and yum there is too old to have them). 
and I am not sure it would help Fedora at all either at this point...