Package: gkrellmd
Version: 2.3.1-2
Followup-For: Bug #475932

I'm in the process of running apt-get upgrade and have been prompted to replace 
my /etc/init.d/gkrellmd.  The diff reports

-       start-stop-daemon --start --quiet \
-               --exec $DAEMON -- --pidfile /var/run/$NAME.pid $DAEMON_OPTS
+       start-stop-daemon --start --quiet --pidfile /var/run/gkrellmd.pid \
+               --exec $DAEMON -m -b -- $DAEMON_OPTS
        echo "$NAME."
        ;;
   stop)
        echo -n "Stopping $DESC: "
-       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid \
-               --exec $DAEMON
+       start-stop-daemon --stop --quiet --pidfile /var/run/$NAME.pid
+


My start is correct, the one that is trying to be put in won't work.  Putting 
--pidfile as an option to start-stop-daemon for an application that deamonizes 
on it's own (like gkrellmd) rather than using start-stop-daemon --background 
will fail to create the pidfile because start-stop-daemon see the daemonized 
process as having exited and thus not having a pid (even though it is really in 
the background, not a true exit).  

grekllm takes --pidfile as an argument and can create the necessary pidfile 
without start-stop-daemon, and that is what I do.

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

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gkrellmd depends on:
ii  adduser                       3.107      add and remove users and groups
ii  libc6                         2.7-10     GNU C Library: Shared libraries
ii  libglib2.0-0                  2.16.3-2   The GLib library of C routines

gkrellmd recommends no packages.

-- no debconf information



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

Reply via email to