Bug 253750
Summary: | service shouldn't start by default | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jeremy Katz <katzj> |
Component: | lm_sensors | Assignee: | Phil Knirsch <pknirsch> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | hdegoede, rvokal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-08-22 19:59:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 235704 |
Description
Jeremy Katz
2007-08-21 17:59:16 UTC
Sounds reasonable to disable it by default to me, but then sensors-detect needs to be patched to run chkconfig to enable the service upon a successfull sensors-detect run. Any perl guru's who can help there (/me does _not_ speak perl). If someone can whip up a quick patch to sensors-detect, I would be more then happy to integrate it into the lm_sensors package and push a new build to rawhide. Something like the following should do the trick.. [katzj@aglarond ~]$ diff -u /usr/sbin/sensors-detect sensors-detect --- /usr/sbin/sensors-detect 2007-07-19 13:53:58.000000000 -0400 +++ sensors-detect 2007-08-21 14:29:25.000000000 -0400 @@ -5785,10 +5785,8 @@ $i++; } print SYSCONFIG $sysconfig; - - print "Copy prog/init/lm_sensors.init to /etc/init.d/lm_sensors\n". - "for initialization at boot time.\n" - unless -f "/etc/init.d/lm_sensors"; + + system("/sbin/chkconfig", "lm_sensors", "on"); } } Thanks, that works (verified). lm_sensors-2.10.4-2 is now building, with this patch included and the service disabled by default, closing. |