Package: lsb-base Version: 3.1-23 Severity: normal Tags: patch File: /lib/lsb/init-functions
I seen #321271, but killproc shouldn't remove the pidpfile of the *non*-terminated process. For example, sending SIGHUP to inetd or such doesn't cause process termination. How about this patch? --- /lib/lsb/init-functions 2007-01-21 12:54:18.000000000 +0900 +++ /lib/lsb/init-functions.new 2007-02-12 14:06:43.403596379 +0900 @@ -126,7 +126,7 @@ return 3 # program is not running fi - rm -f "$pidfile" + pidofproc -p $pidfile "$1" >/dev/null || rm -f "$pidfile" return 0 } -- System Information: Debian Release: 4.0 APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.20 Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8) Versions of packages lsb-base depends on: ii ncurses-bin 5.5-5 Terminal-related programs and man ii sed 4.1.5-1 The GNU sed stream editor lsb-base recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]