Package: mpdscribble
Version: 0.2.6-1
Severity: important
Tags: patch

When you run "/etc/init.d/mpdscribble restart" it frezes after starting
the new mpdscribble. This most noticeable during the nightly logrotate
script run from cron where it freezes the whole cron process. It seems
that it's not started up during restart the same way it's started
normally in the init script. I've attached a patch.

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.12
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages mpdscribble depends on:
ii  adduser                      3.67.2      Add and remove users and groups
di  debconf [debconf-2.0]        1.4.58      Debian configuration management sy
ii  libc6                        2.3.5-6     GNU C Library: Shared libraries an
ii  libglib2.0-0                 2.8.2-1     The GLib library of C routines
ii  libgnutls11                  1.0.16-13.1 GNU TLS library - runtime library
ii  libsoup2.2-7                 2.2.3-2     an HTTP library implementation in 
ii  libxml2                      2.6.22-1    GNOME XML library
ii  logrotate                    3.7.1-2     Log rotation utility
ii  zlib1g                       1:1.2.3-4   compression library - runtime

mpdscribble recommends no packages.

-- debconf information excluded
--- /tmp/mpdscribble    2005-10-03 12:44:37.304104048 +0100
+++ mpdscribble 2005-10-03 12:46:32.334291040 +0100
@@ -68,8 +68,9 @@
                /var/run/$NAME.pid --exec $DAEMON
        rm -f /var/run/$NAME.pid
        sleep 1
-       start-stop-daemon --start --quiet --pidfile \
-               /var/run/$NAME.pid --exec $DAEMON -- $DAEMON_OPTS
+       start-stop-daemon --chuid $USER:$GROUP --start --quiet \
+               --make-pidfile --pidfile /var/run/$NAME.pid \
+               --background --exec $DAEMON -- $DAEMON_OPTS
        echo "$NAME."
        ;;
   *)

Reply via email to