Package: fcgiwrap
Version: 1.0.3-1
Severity: important
Tags: patch

Hi,

the init script does not stop the daemon due to a problem when calling
running_pid() from stop_server(). The following change should fix it:

--- init        2010-05-26 00:44:06.000000000 +0200
+++ init.new    2010-11-02 13:40:19.000000000 +0100
@@ -137,7 +137,7 @@
     [ ! -e "$PIDFILE" ] && return
     PIDS="$(cat "$PIDFILE")"
     for pid in $PIDS; do
-      if running_pid '$pid' '$DAEMON'; then
+      if running_pid $pid $DAEMON; then
         kill -15 $pid
         # Is it really dead?
         sleep "$DIETIME"s



--- System information. ---
Architecture: amd64
Kernel:       Linux 2.6.36-trunk-amd64

Debian Release: squeeze/sid
  500 unstable        127.0.0.1 
    1 experimental    127.0.0.1 

--- Package information. ---
Depends           (Version) | Installed
===========================-+-===========
libc6              (>= 2.3) | 2.11.2-7
libfcgi0ldbl                | 2.4.0-8
spawn-fcgi       (>= 1.6.1) | 1.6.3-1


Thanks,
--
Cristian Greco
GPG key ID: 0xCF4D32E4

Attachment: signature.asc
Description: PGP signature

Reply via email to