Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 302739 - lm_sensors init.d/ script should advise to run sensors-detect
Summary: lm_sensors init.d/ script should advise to run sensors-detect
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mobile Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-29 11:25 UTC by Roland
Modified: 2010-02-15 10:06 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roland 2010-01-29 11:25:50 UTC
/etc/init.d/lm_sensors start
 * Caching service dependencies ...

 * Loading lm_sensors modules...
 *   Loading max6650 ...                                                  [ ok ]
 * /etc/sensors.conf does not exist!

emerge lm_sensors -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/lm_sensors-3.1.1  USE="sensord" 0 kB
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2010-02-09 16:04:42 UTC
It should probably tell you to run sensors-detect first or write your own /etc/sensors.conf. The script already checks for the presence of /etc/conf.d/lm_sensors and provides a useful suggestion as well:

"/etc/conf.d/lm_sensors does not exist, try running sensors-detect"
Comment 2 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-02-15 10:03:53 UTC
/etc/sensors.conf is provided by old lm_sensors packages. newer packages provide /etc/sensors3.conf.

your init script still references /etc/sensors.conf, but your init script still references /etc/sensors.conf. as the init script provided by lm_sensors-3.1.1 does not reference /etc/sensors.conf but /etc/sensors3.conf, this must mean that you didnt update your /etc/init.d/lm_sensors file.

run
$ sudo etc-update

please reopen if problem persists.
thanks
Comment 3 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2010-02-15 10:06:29 UTC
bangert@marsupilami ~/gentoo/portage/sys-apps/lm_sensors $ equery belongs /etc/sensors3.conf
[ Searching for file(s) /etc/sensors3.conf in *... ]
sys-apps/lm_sensors-3.1.2 (/etc/sensors3.conf)
bangert@marsupilami ~/gentoo/portage/sys-apps/lm_sensors $ ls -l /etc/sensors.conf
ls: cannot access /etc/sensors.conf: No such file or directory
bangert@marsupilami ~/gentoo/portage/sys-apps/lm_sensors $ grep sensors.conf /etc/init.d/lm_sensors
bangert@marsupilami ~/gentoo/portage/sys-apps/lm_sensors $ eix lm_sensors
[D] sys-apps/lm_sensors
     Available versions:  2.10.7 (~)2.10.8 (~)3.0.2 (~)3.0.3 (~)3.1.1 {sensord}
     Installed versions:  3.1.2(10:50:59 15/02/10)(sensord)
     Homepage:            http://www.lm-sensors.org/
     Description:         Hardware Monitoring user-space utilities