[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#689316: unblock: prosody/0.8.2-4



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package prosody

This version fixes #681667 : Broken initscript (won't stop prosody)

The debdiff is pretty trivial: the init script starts prosody using
the Lua interpreter called lua5.1, but the passes --name lua to start-stop-
daemon. This is fixed in 0.8.2-4.

diff -Nru prosody-0.8.2/debian/prosody.init prosody-0.8.2/debian/prosody.init
--- prosody-0.8.2/debian/prosody.init   2011-03-02 11:51:28.000000000 +0100
+++ prosody-0.8.2/debian/prosody.init   2012-09-27 17:59:31.000000000 +0200
@@ -25,7 +25,7 @@
        mkdir -p `dirname $PIDFILE`
        chown prosody:adm `dirname $PIDFILE`
        if start-stop-daemon --start --quiet --pidfile "$PIDFILE" \
-               --chuid "$USER" --oknodo --user "$USER" --name lua \
+               --chuid "$USER" --oknodo --user "$USER" --name lua5.1 \
                --startas "$DAEMON";
        then
                return 0
@@ -36,7 +36,7 @@

 stop_prosody () {
        if start-stop-daemon --stop --quiet --retry 30 \
-               --oknodo --pidfile "$PIDFILE" --user "$USER" --name lua;
+               --oknodo --pidfile "$PIDFILE" --user "$USER" --name lua5.1;
        then
                return 0
        else
@@ -46,7 +46,7 @@

 signal_prosody () {
        if start-stop-daemon --stop --quiet --pidfile "$PIDFILE" \
-               --user "$USER" --name lua --oknodo --signal $1;
+               --user "$USER" --name lua5.1 --oknodo --signal $1;
        then
                return 0
        else


unblock prosody/0.8.2-4

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.2.0-3-amd64 (SMP w/4 CPU cores)


Reply to: