Package: lsb-core
Severity: normal

The function killproc() in /lib/lsb/init-functions will never remove the 
pidfile after killing the daemon process.

--- snip ---
[...]

124     if [ "$status" = 1 ]; then
125         [ -n "$sig" ] && return 0
126         return 3 # program is not running
127     fi
128     return 0
129
130     rm -f "$pidfile"

[...]
--- snap ---

Only line 128 and 130 must be swapped to resolve the problem.

 
-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)


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

Reply via email to