Package: dovecot-common
Version: 1:1.0.15-2.3
Severity: wishlist
Tags: patch

Rgmanager (part of an CMAN cluster) requires an action 'status' to be
available on init scripts used for clustered services.
I've included a patch to call status_of_proc and return the appropriate
exit code defined by LSB and mentioned in #291148 and #483285.


--- debian/dovecot-common.init.orig     2008-12-24 22:45:03.316742397 +0100
+++ debian/dovecot-common.init  2008-12-24 22:47:26.508382494 +0100
@@ -170,9 +170,12 @@
         ;;
     esac
     ;;
+  status)
+    status_of_proc -p $PIDFILE $DAEMON $NAME && exit 0 || exit $?
+    ;;
   *)
     #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
-    echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
+    echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload|status}" >&2
     exit 3
     ;;
 esac

-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)

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

Versions of packages dovecot-common depends on:
ii  adduser               3.110              add and remove users and groups
ii  libc6                 2.7-16             GNU C Library: Shared libraries
ii  libcomerr2            1.41.3-1           common error description library
ii  libkrb53              1.6.dfsg.4~beta1-4 MIT Kerberos runtime libraries
ii  libldap-2.4-2         2.4.11-1           OpenLDAP libraries
ii  libmysqlclient15off   5.0.75-1           MySQL database client library
ii  libpam-runtime        1.0.1-4            Runtime support for the PAM librar
ii  libpam0g              1.0.1-4            Pluggable Authentication Modules l
ii  libpq5                8.3.5-1            PostgreSQL C client library
ii  libsqlite3-0          3.5.9-6            SQLite 3 shared library
ii  libssl0.9.8           0.9.8g-14          SSL shared libraries
ii  openssl               0.9.8g-14          Secure Socket Layer (SSL) binary a
ii  ucf                   3.0011             Update Configuration File: preserv
ii  zlib1g                1:1.2.3.3.dfsg-12  compression library - runtime

dovecot-common recommends no packages.

dovecot-common suggests no packages.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to