Package: queue
Version: 1.30.1-6.1
Severity: important
Tags: patch
Running '/etc/init.d/queue restart' fails because the script tries to
start queue before the previous instance was killed. The attached patch
fixes this problem.
This bug is a little different from #128975: after queued has started,
it is somehow still attached to the terminal, preventing a ssh user to
logout correctly.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.12-rc4-powerpc
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Versions of packages queue depends on:
ii libc6 2.3.2.ds1-21 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.3-13 GCC support library
ii libstdc++5 1:3.3.6-3 The GNU Standard C++ Library v3
-- no debconf information
--- /tmp/queue-1.30.1/debian/init 2005-01-14 15:53:47.000000000 +0000
+++ /etc/init.d/queue 2005-05-10 02:25:49.000000000 +0100
@@ -10,14 +10,14 @@
;;
stop)
echo -n "Stopping queue daemon: queued"
- start-stop-daemon --stop --quiet --exec /usr/sbin/queued
+ start-stop-daemon --stop --retry 30 --quiet --exec /usr/sbin/queued
echo "."
;;
-restart|rreload|force-reload)
+restart|reload|force-reload)
$0 stop
$0 start
;;
-*) echo "Usage: /etc/init.d/queue start|stop"; exit 1
+*) echo "Usage: /etc/init.d/queue start|stop|restart"; exit 1
;;
esac
exit 0