Public bug reported:

Binary package hint: hdapsd

The startup script /etc/init.d/hdapsd gives a place for user to insert custom 
arguments
DAEMON_ARGS=""

but then overwrites the user's specified arguments later on in the script.
DAEMON_ARGS="-p$PIDFILE -d $DISK -s $SENSITIVITY -b $OPTIONS"

Suggest to patch as follows:


--- hdapsd      2009-06-16 09:04:03.000000000 +0900
+++ hdapsd.new  2010-09-22 22:29:57.529345050 +0900
@@ -43,7 +43,7 @@
 # Depend on lsb-base (>= 3.0-6) to ensure that this file is present.
 . /lib/lsb/init-functions
 
-DAEMON_ARGS="-p$PIDFILE -d $DISK -s $SENSITIVITY -b $OPTIONS"
+DAEMON_ARGS="-p$PIDFILE -d $DISK -s $SENSITIVITY -b $OPTIONS $DAEMON_ARGS"
 if [ "$FORCEENABLE" = "yes" ]; then
        DAEMON_ARGS="$DAEMON_ARGS -f"
 fi

** Affects: hdapsd (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/init.d/hdapsd ignores user's DAEMON_ARGS setting
https://bugs.launchpad.net/bugs/645225
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to