Public bug reported:

When running "/etc/init.d/mailman start, I get:

# /etc/init.d/mailman stop
 * Stopping Mailman master qrunner mailmanctl [ OK ] 
root@chlorine:~# /etc/init.d/mailman start
Traceback (most recent call last):
  File "/var/lib/mailman/bin/list_lists", line 122, in <module>
    main()
  File "/var/lib/mailman/bin/list_lists", line 114, in main
    print mlist.internal_name()
IOError: [Errno 32] Broken pipe
 * Starting Mailman master qrunner mailmanctl [ OK ] 

Ultimately the error is harmless since the mailman services start, but
the problem comes down to:

# /var/lib/mailman/bin/list_lists -b | grep -q "^mailman$"
Traceback (most recent call last):
  File "/var/lib/mailman/bin/list_lists", line 122, in <module>
    main()
  File "/var/lib/mailman/bin/list_lists", line 114, in main
    print mlist.internal_name()
IOError: [Errno 32] Broken pipe

This is on a system with over 600 lists.  grep -q appears to close the
pipe as soon as it's found a match.  On an install with only a few
lists, the entire output is within a single buffer page, so this does
not occur.  But in this case, there is enough output to have other pages
available when grep closes the pipe.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mailman 1:2.1.14-3 [modified: var/lib/mailman/data/sitelist.cfg]
ProcVersionSignature: Ubuntu 3.2.0-24.39-generic 3.2.16
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelModules: ksplice_m2ln4g2o ksplice_rnytomzp ksplice_5li5k6oq 
ksplice_sr8xrqxv ksplice_xkh9hjep_vmlinux_new ksplice_xkh9hjep 
ksplice_a7dwhrj2_hfsplus_new ksplice_a7dwhrj2 ksplice_wp4yddsz_vmlinux_new 
ksplice_wp4yddsz ksplice_lxfo9202 ksplice_ny00xobu ksplice_hr0du7qv 
ksplice_42wa91bq ksplice_8b8adglj ksplice_rdkyfa0c_vmlinux_new ksplice_rdkyfa0c
ApportVersion: 2.0.1-0ubuntu8
Architecture: amd64
Date: Tue Jun 19 19:32:20 2012
InstallationMedia: Ubuntu-Server 12.04 LTS "Precise Pangolin" - Beta amd64 
(20120415)
ProcEnviron:
 TERM=screen
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: mailman
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: mailman (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to mailman in Ubuntu.
https://bugs.launchpad.net/bugs/1015369

Title:
  "IOError: [Errno 32] Broken pipe" on start when many lists are present

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailman/+bug/1015369/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to