Subject: pkg/30652: mailman's MESSAGE doesn't mention qrunner
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: seebs <seebs@vash.cel.plethora.net>
List: pkgsrc-bugs
Date: 07/01/2005 18:16:00
>Number:         30652
>Category:       pkg
>Synopsis:       mailman's MESSAGE doesn't mention qrunner
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 01 18:16:00 +0000 2005
>Originator:     seebs
>Release:        NetBSD 3.99.7
>Organization:
>Environment:
System: NetBSD vash.cel.plethora.net 3.99.7 NetBSD 3.99.7 (VASH) #2: Wed Jun 29 21:39:41 CDT 2005 root@vash.cel.plethora.net:/usr/src/sys/arch/i386/compile/VASH i386
Architecture: i386
Machine: i386
>Description:
	The MESSAGE file for mailman doesn't mention the need to start
	qrunner, resulting in a strangely dead mailman installation.

>How-To-Repeat:
	"make install", follow instructions printed.

>Fix:
	I would think the ideal thing would be to create an rc.d script
	suitable for starting mailman.  Here's a rough draft, adapted from
	rc.d/rwho:

	#!/bin/sh
	#
	# $NetBSD: rwho,v 1.6 2004/08/13 18:08:03 mycroft Exp $
	#

	# PROVIDE: mailman
	# REQUIRE: DAEMON
	# BEFORE:  LOGIN

	$_rc_subr_loaded . /etc/rc.subr

	name="mailman"
	rcvar=$name
	command="/usr/sbin/mailmanctl"

	load_rc_config $name
	run_rc_command "$1"