Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 455120

Summary: sys-apps/lm_sensors-3.3.3-r2 sensord init script does not pass arguments
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: [OLD] Core systemAssignee: Jeff (JD) Horelick (RETIRED) <jdhore>
Severity: normal CC: pacho
Priority: Normal Keywords: PATCH
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 480104    

Description Chris Mayo 2013-02-02 12:20:23 UTC
Fixed for me by:

--- sensord-4-init.d.orig
+++ sensord-4-init.d
@@ -12,7 +12,7 @@
-command_arguments="--config-file ${CONFIG} ${SENSORSD_OPTIONS} --pid-file ${pidfile}"
+command_args="--config-file ${CONFIG} ${SENSORD_OPTIONS} --pid-file ${pidfile}"
 start_pre() {
 	if [ ! -f ${CONFIG} ]; then
Comment 1 Peter Gantner (a.k.a. nephros) 2013-06-22 09:08:00 UTC
Seconding this bug.

In case it's not clear there are two fixes in the diff above.

One is the shortening of _arguments to _args. This bug is NOT present in current $FILESDIR/sensord-4-init.d.

The second one is the variable SENSORSD_OPTIONS which must be relieved of the second S to be in line with $FILESDIR/sensord-conf.d which uses SENSORD_OPTIONS
Comment 2 Pacho Ramos gentoo-dev 2013-09-17 20:06:06 UTC
+*lm_sensors-3.3.4-r1 (17 Sep 2013)
+*lm_sensors-3.3.3-r3 (17 Sep 2013)
+  17 Sep 2013; Pacho Ramos <> +lm_sensors-3.3.3-r3.ebuild,
+  +lm_sensors-3.3.4-r1.ebuild, -lm_sensors-3.3.3-r2.ebuild,
+  -lm_sensors-3.3.4.ebuild, files/sensord-4-init.d:
+  Fix init.d script (#455120 by Chris Mayo)