Package: salt-master
Version: 0.10.3-1~experimental+1
Severity: normal
Tags: patch

# /etc/init.d/salt-master restart
[ ok ] Restarting salt master control daemon: salt-master[....] Stopping salt 
master control daemon ....
[....] Starting salt-master daemon: :The ports are not available to bind
 failed!
 failed!

This patch fixes that:

--- /tmp/salt-master    2012-11-01 20:01:46.000000000 +0100
+++ /etc/init.d/salt-master     2012-11-01 20:01:20.091825585 +0100
@@ -43,7 +43,7 @@
 
 do_stop() {
     log_begin_msg "Stopping $DESC ..."
-    start-stop-daemon --stop --quiet --oknodo --pidfile $PIDFILE
+    start-stop-daemon --stop --retry TERM/5 --quiet --oknodo --pidfile $PIDFILE
     RC=$?
     [ $RC -eq 0 ] && rm -f $PIDFILE
     log_end_msg $RC

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

Kernel: Linux 3.2.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_NZ, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


-- 
 .''`.   martin f. krafft <madduck@d.o>      Related projects:
: :'  :  proud Debian developer               http://debiansystem.info
`. `'`   http://people.debian.org/~madduck    http://vcs-pkg.org
  `-  Debian - when you have better things to do than fixing systems

Attachment: digital_signature_gpg.asc
Description: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)

Reply via email to