Subject: pkg/21511: mailman: .pkgsrc left in /var/db/mailman/qfiles is bad
To: None <>
From: None <>
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
>Originator:     David Edmondson
>Release:        NetBSD 1.5.1
System: NetBSD 1.5.2 NetBSD 1.5.2 ( #1: Mon Sep 9 14:59:50 BST 2002 i386
Postfix from this release.
Apache from pkgsrc.

	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

	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.

	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
	To fix the problem once it has occurred:
		rm /var/db/mailman/qfiles/.pkgsrc
	A fix for the pkgsrc source is not known.