Bug 653560 - powertop complains about missing lspci command
Summary: powertop complains about missing lspci command
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: powertop
Version: 14
Hardware: All
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-11-15 17:17 UTC by Cristian Ciupitu
Modified: 2010-12-28 20:57 UTC (History)
3 users (show)

Fixed In Version: powertop-1.13-2.fc14
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-28 20:57:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Cristian Ciupitu 2010-11-15 17:17:33 UTC
Description of problem:
Powertop prints some "sh: lspci: command not found" messages at startup.

Version-Release number of selected component (if applicable):
powertop-1.13-1.fc14.x86_64

How reproducible:
Every time

Steps to Reproduce:
1. Make sure that lspci is not installed.
2. Run powertop
  
Actual results:
Lots (~20) of "sh: lspci: command not found" messages.

Expected results:
No complaints about missing lspci command or at least only one proper warning, e.g. "lspci not found. Powertop won't be able to ...".

Additional info:
The powertop package should probably depend on the pciutils package.
After displaying those messages powertop seems to work fine.

Comment 1 Fedora Admin XMLRPC Client 2010-11-18 14:42:22 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 2 Jaroslav Škarvada 2010-12-13 15:54:07 UTC
Thanks for report, lspci is needed. It is execed by popen in devicepm.c for construction of user friendly device names (thus not fatal if missed) and the RPM autodeps doesn't kicks it in. It should be resolved by explicit requires:

+Requires:      pciutils

Comment 3 Fedora Update System 2010-12-15 14:21:35 UTC
powertop-1.13-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/powertop-1.13-2.fc14

Comment 4 Fedora Update System 2010-12-17 08:34:01 UTC
powertop-1.13-2.fc14 has been pushed to the Fedora 14 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update powertop'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/powertop-1.13-2.fc14

Comment 5 Fedora Update System 2010-12-28 20:57:06 UTC
powertop-1.13-2.fc14 has been pushed to the Fedora 14 stable repository.  If problems still persist, please make note of it in this bug report.


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