Package: watchdog
Version: 5.4-10lenny2
Severity: important

When stopping watchdog with its init script, it starts the wd_keepalive daemon.
However, it starts wd_keepalive with options in the "watchdog_options"
variable. This is not right, because wd_keepalive accepts only one option,
the -c, but watchdog can use much more command line options, and when
specifying an option other than -c, wd_keepalive fails to start.
eg.: I have watchdog_options="-v" in my /etc/default/watchdog, to enable syslog
logging. Now when I stop watchdog with its init script, wd_keepalive is called
with the -v option and it fails to start:
# invoke-rc.d watchdog stop
Stopping watchdog daemon: asdwatchdog.
Starting watchdog keepalive daemon: /usr/sbin/wd_keepalive: invalid option -- v
wd_keepalive version 5.4, usage:
wd_keepalive 

# pgrep -lf wd_keepalive
# pgrep -lf watchdog    

Although I'm reporting this from a machine using 'testing' this bug is presented
on stable too, and I'm rather concerned about it than about testing.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (900, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.29-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash



-- 
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