Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#17083 - [lm_sensors] rc.d script to stop fancontrol not working (patch included)

Attached to Project: Arch Linux
Opened by ChrisVS (Strider) - Monday, 09 November 2009, 22:31 GMT
Last edited by Eric Belanger (Snowman) - Saturday, 21 November 2009, 05:12 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

In package lm_sensors (version 3.1.1-2) a script fancontrol is supplied to start and stop the daemon.
Starting the daemon works OK but stopping the daemon always fails. I found a solution by changing the 6th line in the script :

PID=$(pidof -o %PPID /usr/sbin/fancontrol)

to :

PID=$(pidof -o %PPID -x /usr/sbin/fancontrol)

This is needed because /usr/sbin/fancontrol is not a command but a bash script, hence pidof needs the -x switch.
This task depends upon

Closed by  Eric Belanger (Snowman)
Saturday, 21 November 2009, 05:12 GMT
Reason for closing:  Fixed

Loading...