Subject: pkg/21511: mailman: .pkgsrc left in /var/db/mailman/qfiles is bad
To: None <gnats-bugs@gnats.netbsd.org>
From: None <dme@dme.org>
List: netbsd-bugs
Date: 05/09/2003 10:57:16
>Number:         21511
>Category:       pkg
>Synopsis:       mailman: .pkgsrc left in /var/db/mailman/qfiles is bad
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri May 09 09:58:01 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     David Edmondson
>Release:        NetBSD 1.5.1
>Organization:
	none.
>Environment:
System: NetBSD tiramisu.dme.org 1.5.2 NetBSD 1.5.2 (tiramisu.dme.org) #1: Mon Sep 9 14:59:50 BST 2002 dme@tiramisu.dme.org:/data/netbsd/src-1.5.2/sys/arch/i386/compile/tiramisu.dme.org i386
Postfix from this release.
Apache from pkgsrc.


>Description:
	After pkgsrc based installation of mailman (2.0.12 in this
	case), a file /var/db/mailman/qfiles/.pkgsrc is left behind.
	This causes messages submitted to mailman lists to be queued
	indefinitely, as the mailman 'qrunner' process terminates on
	discovering this file, as it is not named in the expected
	way.

	Log file (/var/db/mailman/logs/qrunner) entries of the form:
May 09 10:38:00 2003 (12005) Unlinking orphaned .msg file: /var/db/mailman/qfiles/.msg
	are seen, indicating that the problem is occuring.

	This system uses postfix as a mailer, which cases some other
	difficulties with the pkg, but they shouldn't be relevant to
	this PR.

>How-To-Repeat:
	cd /usr/pkgsrc/mail/mailman
	make install	(which itself may be the topic of another pr)
		[ update apache configuration ]
	apachectl restart
	/usr/pkg/lib/mailman/bin/newlist test
		[ answer questions ]
		[ update /etc/mail/aliases ]
		[ add a user to the list ]
	mail test@relevant.domain
	
>Fix:
	To fix the problem once it has occurred:
		rm /var/db/mailman/qfiles/.pkgsrc
	A fix for the pkgsrc source is not known.
>Release-Note:
>Audit-Trail:
>Unformatted: