On Sat, Feb 06, 2010 at 11:41:23AM +0100, Piotr Engelking wrote:
> Package: fancontrol
> Version: 1:3.1.2-1
> Severity: normal
> 
> After upgrading fancontrol from 1:3.1.1-6 to 1:3.1.2-1, the init.d
> script silently fails to start fancontrol:
> 
> # /etc/init.d/fancontrol start
> Starting fan speed regulator: fancontrol.
> # pgrep fancontrol
> #
> 
> Running fancontrol by hand results in the following output (to stdout):
> 
> # fancontrol
> Loading configuration from /etc/fancontrol ...
> 
> Common settings:
>   INTERVAL=10
> 
> Settings for hwmon1/device/pwm2:
>   Depends on hwmon0/device/temp2_input
>   Controls hwmon1/device/fan2_input
>   MINTEMP=55
>   MAXTEMP=75
>   MINSTART=150
>   MINSTOP=0
>   MINPWM=0
>   MAXPWM=255
> 
> Configuration is too old, please run pwmconfig again
> #
> 
> Please change fancontrol to print error messages to stderr, instead.
> 

This is not something possible, as fancontrol is a shell script which
does not fork. As a consequence it is started with "start-stop-daemon 
--background", which means:
- all output is discarded
- the exit status is not checked

I'll tried to find a solution to this problem, otherwise I'll just tag
this bug as wontfix.

-- 
Aurelien Jarno                          GPG: 1024D/F1BCDB73
aurel...@aurel32.net                 http://www.aurel32.net



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to