Package: sympa
Version: 5.3.4-6.1
Severity: normal

"/etc/init.d/sympa reload" always restarts the daemons, even if they
are not running.  This is a problem in a typical failover configuration
using heartbeat, in which one machine (a warm standby) always has
sympa disabled.  Logrotate calls the bootscript with "reload" and
restarts the service.

This problem exists in the most recent version in unstable (5.4.7-1) too.

"Reload" should check to see if the pidfile exists before restarting.
I suggest replacing this:

  restart|force-reload|reload)
    $0 stop
    sleep 3
    $0 start
    ;;

with something like this:

  restart|force-reload)
    $0 stop
    sleep 3
    $0 start
    ;;
  reload)
    if test -s $PIDFILE; then
      $0 stop
      sleep 3
      $0 start
    fi
    ;;

-- System Information:
Debian Release: 5.0.4
  APT prefers stable
  APT policy: (750, 'stable'), (70, 'oldstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages sympa depends on:
ii  adduser                 3.110            add and remove users and groups
ii  debconf [debconf-2.0]   1.5.24           Debian configuration management sy
pn  libarchive-zip-perl     <none>           (no description available)
ii  libc6                   2.7-18lenny2     GNU C Library: Shared libraries
pn  libcgi-fast-perl        <none>           (no description available)
pn  libcrypt-ciphersaber-pe <none>           (no description available)
ii  libdbd-mysql-perl       4.007-1+lenny1   A Perl5 database interface to the 
ii  libdbd-pg-perl          2.8.7-1+lenny1   Perl DBI driver for the PostgreSQL
ii  libdbi-perl             1.605-1          Perl5 database interface by Tim Bu
ii  libfcgi-perl            0.67-2.1+b1      FastCGI Perl module
pn  libintl-perl            <none>           (no description available)
ii  libio-stringy-perl      2.110-4          Perl modules for IO from scalars a
ii  libmailtools-perl       2.03-1           Manipulate email in perl programs
ii  libmd5-perl             2.03-1           backwards-compatible wrapper for D
ii  libmime-perl            5.427-1          transitional dummy package
ii  libmime-tools-perl [lib 5.427-1          Perl5 modules for MIME-compliant m
pn  libmsgcat-perl          <none>           (no description available)
ii  libnet-ldap-perl        1:0.36-1         A Client interface to LDAP servers
ii  libtemplate-perl        2.19-1.1lenny1.1 template processing system written
ii  libxml-libxml-perl      1.66-1+b1        Perl module for using the GNOME li
ii  mhonarc                 2.6.16-1         Mail to HTML converter
ii  perl [libmime-base64-pe 5.10.0-19lenny2  Larry Wall's Practical Extraction 
ii  perl-suid               5.10.0-19lenny2  Runs setuid Perl scripts
ii  postfix [mail-transport 2.5.5-1.1        High-performance mail transport ag
ii  sysklogd [system-log-da 1.5-5            System Logging Daemon

Versions of packages sympa recommends:
ii  doc-base                      0.8.20     utilities to manage online documen
ii  logrotate                     3.7.1-5    Log rotation utility

Versions of packages sympa suggests:
pn  apache | apache-ssl | h <none>           (no description available)
pn  libapache-mod-fastcgi   <none>           (no description available)
pn  mysql-server | postgres <none>           (no description available)
ii  openssl                 0.9.8g-15+lenny6 Secure Socket Layer (SSL) binary a



-- 
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