Package: fancontrol Version: 1:3.3.4-2 Severity: normal 0 dkg@alice:~/tmp$ grep fancontrol /var/log/syslog | tail Oct 25 16:21:48 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:21:58 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:22:08 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:23:18 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:23:58 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:24:08 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:28:58 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:29:48 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:29:58 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments Oct 25 16:31:38 alice fancontrol[2057]: /usr/sbin/fancontrol: line 492: [: too many arguments 0 dkg@alice:~/tmp$ cat -n /usr/sbin/fancontrol | head -n 500 | tail 491 pwmval="(${tval}-${mint})*(${maxpwm}-${minso})/(${maxt}-${mint})+${minso}" 492 if [ $pwmpval -eq 0 -o $min_fanval -eq 0 ] 493 then # if fan was stopped start it using a safe value 494 echo $minsa > $pwmo 495 # Sleep while still handling signals 496 sleep 1 & 497 wait $! 498 fi 499 fi 500 echo $pwmval > $pwmo # write new value to pwm output 0 dkg@alice:~/tmp$
perhaps some shell escaping or variable quote wrapping is needed? if $pwnpval or $min_fanval is unset or the empty string that would cause this error. --dkg -- System Information: Debian Release: jessie/sid APT prefers testing APT policy: (500, 'testing'), (200, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.11-trunk-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages fancontrol depends on: ii init-system-helpers 1.11 ii lsb-base 4.1+Debian12 fancontrol recommends no packages. fancontrol suggests no packages. -- debconf-show failed -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org