Red Hat Bugzilla – Bug 216913
unexpected exit of sensors-detect
Last modified: 2015-03-04 20:17:53 EST
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.
Steps to Reproduce:
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