Package: fancontrol
Version: 1:3.4.0-4
Severity: minor

http://forums.debian.net/viewtopic.php?f=10&t=136952&p=669344#p669344

After a large system update ...


|# systemctl restart fancontrol.service
Job for fancontrol.service failed because the control process exited with
error code.
See "systemctl status fancontrol.service" and "journalctl -xe" for details.
# systemctl status fancontrol.service -l
â fancontrol.service - fan speed regulator
   Loaded: loaded (/lib/systemd/system/fancontrol.service; enabled; vendor
preset: enabled)
   Active: failed (Result: exit-code) since Sat 2018-03-17 12:15:49 CET;
3s ago
     Docs: man:fancontrol(8)
           man:pwmconfig(8)
  Process: 27786 ExecStartPre=/usr/sbin/fancontrol --check (code=exited,
status=1/FAILURE)

Mar 17 12:15:49 leon-host systemd[1]: Starting fan speed regulator...
Mar 17 12:15:49 leon-host fancontrol[27786]: Loading configuration from
/etc/fancontrol ...
Mar 17 12:15:49 leon-host fancontrol[27786]: Some mandatory settings
missing, please check your config file!
Mar 17 12:15:49 leon-host systemd[1]: fancontrol.service: Control process
exited, code=exited status=1
Mar 17 12:15:49 leon-host systemd[1]: Failed to start fan speed regulator.
Mar 17 12:15:49 leon-host systemd[1]: fancontrol.service: Unit entered
failed state.
Mar 17 12:15:49 leon-host systemd[1]: fancontrol.service: Failed with
result 'exit-code'.

I have rerun |||pwmconfig, it regenerated a new |||||/etc/fancontrol , but
it was not working better. So, ||||||||||pwmconfig generates config files
which are not acceptable for the fancontrol.service .

Obviously, either fancontrol.service is asking more than before, but
||||||||||||||pwmconfig was not updated to follow, or,
|||||||||||||||||||||||||||||||||pwmconfig has a regression bug.

The config file I had in the past year, working fine before update:

||||||||||||||
|||||||||||||||# Configuration file generated by pwmconfig, changes will
be lost
INTERVAL=300
DEVPATH=hwmon2=devices/platform/nct6775.656
DEVNAME=hwmon2=nct6776
FCTEMPS=
FCFANS=hwmon2/pwm2=hwmon2/fan2_input hwmon2/pwm1=hwmon2/fan1_input
MINTEMP=
MAXTEMP=
MINSTART=
MINSTOP=

The config file I am using now to get service accept to start:
|||||||||||||||
||||||||||||||||# Configuration file generated by pwmconfig, changes will
be lost
INTERVAL=10
DEVPATH=hwmon2=devices/platform/nct6775.656
DEVNAME=hwmon2=nct6776
FCTEMPS=hwmon2/pwm1=hwmon1/device/temp1_input
hwmon2/pwm2=hwmon1/device/temp1_input
FCFANS=hwmon2/pwm2=hwmon2/fan2_input hwmon2/pwm1=hwmon2/fan1_input
MINTEMP=hwmon2/pwm1=20
MAXTEMP=hwmon2/pwm1=30
MINSTART=hwmon2/pwm1=140
MINSTOP=hwmon2/pwm1=100

WARNING: these values are random, only to satisfy the syntax of the
service; the above values are not customised to be efficient, or bring a
good service to the user; they are ONLY piccked up to let the systemctl
service start correctly. They will need customisation.

More logs are given in the above forum link.

||||||||||||||||-- System Information:
Debian Release: 9.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-6-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8),
LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages fancontrol depends on:
ii  init-system-helpers  1.48
ii  lsb-base             9.20161125

fancontrol recommends no packages.

fancontrol suggests no packages.

-- no debconf information

-- 
 >o_/ DEMAINE Benoît-Pierre (aka DoubleHP) http://benoit.demaine.info/
If computing were an exact science, IT engineers would'nt have work \_o<

"So all that's left, Is the proof that love's not only blind but deaf."
(FAKE TALES OF SAN FRANCISCO, Arctic Monkeys)

Reply via email to