Package: cntlm
Version: 0.35.1-5
Severity: important
Tags: patch

On stop() the retry parameter of start-stop-daemon ends with forever, but
doesn't specify what to do forever. This causes it to just fail and not stop
the daemon. It should be changed to /forever/-KILL.

Please apply this patch to debian/cntlm.init:
--- cntlm.init.orig 2010-07-11 09:38:13.295086577 +0300
+++ cntlm.init 2010-07-11 09:38:29.451385011 +0300
@@ -59,7 +59,7 @@

 stop() {
  echo -n "Stopping $DESC: "
- start-stop-daemon --oknodo --quiet --stop --retry
-HUP/$TIMEOUT/-HUP/2/-KILL/forever --pidfile $PIDFILE --name $NAME
2>/dev/null
+ start-stop-daemon --oknodo --quiet --stop --retry
-HUP/$TIMEOUT/-HUP/2/forever/-KILL --pidfile $PIDFILE --name $NAME
2>/dev/null
  if [ $? -eq 0 ]; then
  echo "$NAME."
  else


-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages cntlm depends on:
ii  adduser                       3.112      add and remove users and groups
ii  libc6                         2.11.2-2   Embedded GNU C Library: Shared
lib

cntlm recommends no packages.

cntlm suggests no packages.

-- Configuration Files:
/etc/cntlm.conf [Errno 13] Permission denied: u'/etc/cntlm.conf'
/etc/init.d/cntlm changed [not included]

-- no debconf information

Reply via email to