Package: hdapsd
Version: 1:0.0.20061007-1
Severity: normal

In the new packages (thanks for putting them together!) the file
/etc/default/hdapsd contains a variable assignment THRESHOLD=15, which
is then translated into a "-s" option that's passed to the program.
But the acceptable range for this option is a real number between zero
and one, inclusive, according to the code.

The THRESHOLD variable is a holdover from the older hdapsd design,
and isn't really appropriate here.  At the least, it should be renamed
SENSITIVITY.  But it's probably better to eliminate the variable
altogether, since there's no documentation explaining what it does or
how to choose an appropriate value.  Reading the code doesn't help,
since this is just one variable in a complex equation.

If you do decide to keep the variable, make sure there's a default.
Right now, if THRESHOLD isn't set in /etc/default/hdapsd, then the
program is called without an argument to the "-s" option.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2-cph1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages hdapsd depends on:
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  lsb-base                    3.1-23       Linux Standard Base 3.1 init scrip

hdapsd recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to