Subject: Bug#598509: Invocations of "/etc/init.d/mailman start" spawns multiple instances

From: Andrea Gelmini <[email-masked]>
Date: Wed, 29 Sep 2010 17:24:48 +0200

Package: mailman
Version: 1:2.1.13-4
Severity: normal

deb:/tmp# /etc/init.d/mailman start
Starting Mailman master qrunner: mailmanctl.
deb:/tmp# ps -u list
  PID TTY          TIME CMD
 2102 ?        00:00:00 mailmanctl
 2103 ?        00:00:00 python
 2104 ?        00:00:00 python
 2105 ?        00:00:00 python
 2106 ?        00:00:00 python
 2107 ?        00:00:00 python
 2108 ?        00:00:00 python
 2109 ?        00:00:00 python
 2110 ?        00:00:00 python
deb:/tmp# /etc/init.d/mailman start
Starting Mailman master qrunner: mailmanctl.
deb:/tmp# ps -u list
  PID TTY          TIME CMD
 2102 ?        00:00:00 mailmanctl
 2103 ?        00:00:00 python
 2104 ?        00:00:00 python
 2105 ?        00:00:00 python
 2106 ?        00:00:00 python
 2107 ?        00:00:00 python
 2108 ?        00:00:00 python
 2109 ?        00:00:00 python
 2110 ?        00:00:00 python
 2122 ?        00:00:00 mailmanctl
 2128 ?        00:00:00 python
 2129 ?        00:00:00 python
 2130 ?        00:00:00 python
 2131 ?        00:00:00 python
 2132 ?        00:00:00 python
 2133 ?        00:00:00 python
 2134 ?        00:00:00 python
 2135 ?        00:00:00 python
deb:/tmp# /etc/init.d/mailman start
Starting Mailman master qrunner: mailmanctl.
deb:/tmp# ps -u list
  PID TTY          TIME CMD
 2102 ?        00:00:00 mailmanctl
 2103 ?        00:00:00 python
 2104 ?        00:00:00 python
 2105 ?        00:00:00 python
 2106 ?        00:00:00 python
 2107 ?        00:00:00 python
 2108 ?        00:00:00 python
 2109 ?        00:00:00 python
 2110 ?        00:00:00 python
 2122 ?        00:00:00 mailmanctl
 2128 ?        00:00:00 python
 2129 ?        00:00:00 python
 2130 ?        00:00:00 python
 2131 ?        00:00:00 python
 2132 ?        00:00:00 python
 2133 ?        00:00:00 python
 2134 ?        00:00:00 python
 2135 ?        00:00:00 python
 2142 ?        00:00:00 mailmanctl
 2148 ?        00:00:00 python
 2149 ?        00:00:00 python
 2150 ?        00:00:00 python
 2151 ?        00:00:00 python
 2152 ?        00:00:00 python
 2153 ?        00:00:00 python
 2154 ?        00:00:00 python
 2155 ?        00:00:00 python
deb:/tmp# /etc/init.d/mailman stop 
Stopping Mailman master qrunner: mailmanctl.
deb:/tmp# /etc/init.d/mailman stop
Stopping Mailman master qrunner: mailmanctlPID unreadable in: /var/run/mailman/mailman.pid
[Errno 2] No such file or directory: '/var/run/mailman/mailman.pid'
Is qrunner even running?
..
deb:/tmp# ps -u list
  PID TTY          TIME CMD
 2102 ?        00:00:00 mailmanctl
 2103 ?        00:00:00 python
 2104 ?        00:00:00 python
 2105 ?        00:00:00 python
 2106 ?        00:00:00 python
 2107 ?        00:00:00 python
 2108 ?        00:00:00 python
 2109 ?        00:00:00 python
 2110 ?        00:00:00 python
 2122 ?        00:00:00 mailmanctl
 2128 ?        00:00:00 python
 2129 ?        00:00:00 python
 2130 ?        00:00:00 python
 2131 ?        00:00:00 python
 2132 ?        00:00:00 python
 2133 ?        00:00:00 python
 2134 ?        00:00:00 python
 2135 ?        00:00:00 python

I reported this bug also in Ubuntu:
https://bugs.launchpad.net/ubuntu/+source/mailman/+bug/651182

Thanks a lot,
Andrea

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

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

Versions of packages mailman depends on:
ii  apache2                      2.2.16-2    Apache HTTP Server metapackage
ii  apache2-mpm-worker [httpd]   2.2.16-2    Apache HTTP Server - high speed th
ii  cron                         3.0pl1-114  process scheduling daemon
ii  debconf [debconf-2.0]        1.5.35      Debian configuration management sy
ii  exim4-daemon-light [mail-tra 4.72-1      lightweight Exim MTA (v4) daemon
ii  libc6                        2.11.2-6    Embedded GNU C Library: Shared lib
ii  logrotate                    3.7.8-6     Log rotation utility
ii  lsb-base                     3.2-23.1    Linux Standard Base 3.2 init scrip
ii  pwgen                        2.06-1+b1   Automatic Password generation
ii  python                       2.6.5-13    interactive high-level object-orie
ii  python-support               1.0.10      automated rebuilding support for P
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

mailman recommends no packages.

Versions of packages mailman suggests:
pn  listadmin                     <none>     (no description available)
pn  lynx                          <none>     (no description available)
pn  spamassassin                  <none>     (no description available)

-- debconf information:
  mailman/queue_files_present: abort installation
* mailman/default_server_language: en
  mailman/gate_news: false
* mailman/site_languages: en
* mailman/used_languages:
* mailman/create_site_list: