"IOError: [Errno 32] Broken pipe" on start when many lists are present
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mailman (Ubuntu) |
Triaged
|
Low
|
Unassigned |
Bug Description
When running "/etc/init.
# /etc/init.d/mailman stop
* Stopping Mailman master qrunner mailmanctl [ OK ]
# /etc/init.d/mailman start
Traceback (most recent call last):
File "/var/lib/
main()
File "/var/lib/
print mlist.internal_
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/
Traceback (most recent call last):
File "/var/lib/
main()
File "/var/lib/
print mlist.internal_
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/
ProcVersionSign
Uname: Linux 3.2.0-24-generic x86_64
NonfreeKernelMo
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)
I should note this was found on a lucid system, but was reproduced on precise.