if (-x "/usr/bin/systemctl" &&
-f "/usr/lib/systemd/system/lm_sensors.service") {
system("/usr/bin/systemctl", "enable", "lm_sensors.service");
system("/usr/bin/systemctl", "start", "lm_sensors.service");
# All done, don't check for /etc/rc.d/sensors
return;
}
You might want to file a bug report if there isn't one already. Otherwise, it can be safely ignored.
]]>I have similar problem:
Now follows a summary of the probes I have just done.
Just press ENTER to continue:
Driver `coretemp':
* Chip `Intel digital thermal sensor' (confidence: 9)
Do you want to overwrite /etc/conf.d/lm_sensors? (YES/no):
Failed to get D-Bus connection: No connection to service manager.
Unloading i2c-dev... OK
Unloading cpuid... OK
Dbus is in the DAEMONS array:
DAEMONS=(hwclock syslog-ng netfs crond dbus networkmanager gdm dropboxd)
DAEMONS=(syslog-ng network @asd dbus sensors crond)
Thanks for the response.
I have no use for sudo in my system because I have no users. Just boot and root.
If you are saying that lm-sensors only responds after a sudo command, it would seem that is root mode.
Perhaps I misinterpret what you propose?
]]>DAEMONS=(!hwclock syslog-ng dbus networkmanager netfs crond @adb @avahi-daemon @cupsd !bumblebeed @sshd @ntpd @alsa @acpid @sensors @hddtemp @thinkfan @laptop-mode lightdm)
You are suppose to use sudo for sensors-detect.
]]>The following is the opening statement when running sensors-detect:
sh-4.2# sensors-detect
Failed to get D-Bus connection: No connection to service manager.
# sensors-detect revision 6031 (2012-03-07 17:14:01 +0100)
# System: Gigabyte Technology Co., Ltd. 945GCM-S2C
Is there something I can do to enable dbus?
]]>