Hi All,

I've just switched to systemd from initscript and I can't resolve an issue: fancontrol fails to run at boot time, but it works properly when manually started.

Logs:

UNIT               LOAD   ACTIVE SUB    JOB DESCRIPTION
colord.service loaded failed failed Manage, Install and Generate Color Profiles
fancontrol.service loaded failed failed     Fan control daemon

 #  systemctl status fancontrol
fancontrol.service - Fan control daemon
      Loaded: loaded (/etc/systemd/system/fancontrol.service; enabled)
Active: failed (Result: exit-code) since Tue, 23 Oct 2012 07:23:42 +0200; 4min 53s ago Process: 434 ExecStart=/usr/sbin/fancontrol (code=exited, status=1/FAILURE)
      CGroup: name=systemd:/system/fancontrol.service

Oct 23 07:23:51 arch fancontrol[434]: Controls hwmon1/device/fan2_input
Oct 23 07:23:51 arch fancontrol[434]: MINTEMP=35
Oct 23 07:23:51 arch fancontrol[434]: MAXTEMP=45
Oct 23 07:23:51 arch fancontrol[434]: MINSTART=155
Oct 23 07:23:51 arch fancontrol[434]: MINSTOP=160
Oct 23 07:23:51 arch fancontrol[434]: MINPWM=155
Oct 23 07:23:51 arch fancontrol[434]: MAXPWM=210
Oct 23 07:23:51 arch fancontrol[434]: Device path of hwmon1 has changed
Oct 23 07:23:51 arch fancontrol[434]: Device name of hwmon1 has changed
Oct 23 07:23:51 arch fancontrol[434]: Configuration appears to be outdated, please run pwmconfig again


I thought it is a timing issue, so I tweaked fancontrol.service, but didn't helped:

#  cat /etc/systemd/system/fancontrol.service
.include /usr/lib/systemd/system/fancontrol.service

[Unit]
Requires=sensord.service
After=sensord.service

Any advice?
Thanks.
zs

Reply via email to