From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 26 21:30:24 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BDA8D16A4CE for ; Tue, 26 Oct 2004 21:30:24 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E16B43D1F for ; Tue, 26 Oct 2004 21:30:24 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i9QLUOQL011417 for ; Tue, 26 Oct 2004 21:30:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9QLUNI8011405; Tue, 26 Oct 2004 21:30:24 GMT (envelope-from gnats) Resent-Date: Tue, 26 Oct 2004 21:30:24 GMT Resent-Message-Id: <200410262130.i9QLUNI8011405@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tom Uffner Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7749716A4CE for ; Tue, 26 Oct 2004 21:21:38 +0000 (GMT) Received: from www.freebsd.org (www.freebsd.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 61D1543D53 for ; Tue, 26 Oct 2004 21:21:38 +0000 (GMT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.11/8.12.11) with ESMTP id i9QLLcci099894 for ; Tue, 26 Oct 2004 21:21:38 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.11/8.12.11/Submit) id i9QLLcWF099891; Tue, 26 Oct 2004 21:21:38 GMT (envelope-from nobody) Message-Id: <200410262121.i9QLLcWF099891@www.freebsd.org> Date: Tue, 26 Oct 2004 21:21:38 GMT From: Tom Uffner To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-2.3 Subject: ports/73179: [sysutils/munin-node] sendmail plugins don't work on FreeBSD (patch included) X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Oct 2004 21:30:25 -0000 >Number: 73179 >Category: ports >Synopsis: [sysutils/munin-node] sendmail plugins don't work on FreeBSD (patch included) >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 26 21:30:23 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Tom Uffner >Release: 5.x, 6.0-Current >Organization: Tom Uffner & Associates, Inc. >Environment: FreeBSD xiombarg.uffner.com 6.0-CURRENT FreeBSD 6.0-CURRENT #6: Fri Oct 22 18:48:27 EDT 2004 tom@xiombarg.uffner.com:/usr/obj/usr/src/sys/XIOMBARG i386 >Description: sendmail_mailqueue plugin does not work because the standard location of the MSP queue dir is /var/spool/clientmqueue (not mqueue-client). this may be FreeBSD specific. sendmail_mailstats plugin does not work because "/dev/null" is misspelled as "/dev/nul". this patch should probably be submitted to the munin project as well. sendmail_mailtraffic plugin works except that it depends on sendmail_mailstats. >How-To-Repeat: install munin-node and enable sendmail_* plugins >Fix: --- munin-1.0.2/node/node.d/sendmail_mailqueue.in.orig Wed Feb 18 13:40:02 2004 +++ munin-1.0.2/node/node.d/sendmail_mailqueue.in Tue Oct 26 16:47:13 2004 @@ -20,7 +20,7 @@ # # -MSP_QUEUE=/var/spool/mqueue-client +MSP_QUEUE=/var/spool/clientmqueue MTA_QUEUE=/var/spool/mqueue if [ "$mspqueue" ]; then MSP_QUEUE=$mspqueue ; fi if [ "$mtaqueue" ]; then MTA_QUEUE=$mspqueue ; fi --- munin-1.0.2/node/node.d/sendmail_mailstats.in.orig Wed Feb 18 13:40:03 2004 +++ munin-1.0.2/node/node.d/sendmail_mailstats.in Tue Oct 26 16:48:11 2004 @@ -18,7 +18,7 @@ TEMP_FILE=/tmp/lrrd-sendmail if [ "$1" = "autoconf" ]; then - if which mailstats 2>&1 > /dev/nul ; then + if which mailstats 2>&1 > /dev/null ; then echo yes exit 0 else >Release-Note: >Audit-Trail: >Unformatted: