Bug 1187450 - fpaste sysinfo is missing information
Summary: fpaste sysinfo is missing information
Keywords:
Status: ASSIGNED
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: fpaste
Version: epel7
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-30 04:03 UTC by d. johnson
Modified: 2015-07-05 18:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Embargoed:


Attachments (Terms of Use)

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...


Note You need to log in before you can comment on or make changes to this bug.