Bug 216913 - unexpected exit of sensors-detect
Summary: unexpected exit of sensors-detect
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: lm_sensors
Version: 6
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Phil Knirsch
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-11-22 17:17 UTC by H.Breimer
Modified: 2015-03-05 01:17 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2006-11-23 10:24:58 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description H.Breimer 2006-11-22 17:17:38 UTC
Description of problem:
Sensors-detect exits with line5129 ; can not find i2cdetect
Strange, while both sensors-detect and i2cdetect are installed with the same
rpm, which installs i2cdetect in /usr/sbin.

Looking at line 5129, sensors-detect seems to expect i2cdetect in /usr/local/sbin??

And indeed, a "ln -s /usr/sbin/i2cdetect" in /usr/local/sbin makes
sensors-detec perform as expected.

Version-Release number of selected component (if applicable):
lm_sensors-2.10.0-3.1  at the moment.
But I had this problem already in FC5, I think.

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Phil Knirsch 2006-11-23 10:24:58 UTC
Have you run the program as root?

As sensors-detect can only operate when being run as root and /usr/sbin is only
in the default PATH for root it's logical that when it is run as a normal user
it won't find i2cdetect.

Read ya, Phil


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