Red Hat Bugzilla – Bug 253750
service shouldn't start by default
Last modified: 2015-03-04 20:19:07 EST
Since you need to do configuration for lm_sensors to really be useful by
default, it probably shouldn't start by default. lm_sensors is pulled into
default installs by hpijs->net-snmp-libs->lm_sensors and thus ends up impacting
the default boot time.
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
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 @@
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.