From owner-freebsd-rc@FreeBSD.ORG Tue Feb 27 18:24:02 2007 Return-Path: X-Original-To: freebsd-rc@freebsd.org Delivered-To: freebsd-rc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id E3E7416A400 for ; Tue, 27 Feb 2007 18:24:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id 827E113C494 for ; Tue, 27 Feb 2007 18:24:02 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 31553 invoked by uid 399); 27 Feb 2007 18:24:01 -0000 Received: from localhost (HELO ?192.168.0.4?) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 27 Feb 2007 18:24:01 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45E47739.9050108@FreeBSD.org> Date: Tue, 27 Feb 2007 10:23:53 -0800 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (Windows/20070116) MIME-Version: 1.0 To: Alexander Shikoff References: <20070227133824.GA49950@crete.org.ua> In-Reply-To: <20070227133824.GA49950@crete.org.ua> X-Enigmail-Version: 0.94.2.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: scheidell@secnap.net, freebsd-rc@freebsd.org Subject: Re: rc.subr in 6.2 RELEASE X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Discussion related to /etc/rc.d design and implementation." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Feb 2007 18:24:03 -0000 Alexander Shikoff wrote: > Hello, > > I guess my issue is more related to this mailing list rather than to > SpamAssassin one. You could also have submitted your question to freebsd-ports@freebsd.org, but there is nothing wrong with asking here. :) > I use SpamAssassin built from ports tree on 6.2-RELEASE box. > When debug is enabled via adding --debug flag to spamd_flags in rc.conf > then rcNG script does not stop process: It's not rcNG anymore, btw. We refer to it as rc.d now. And can you send the output of 'grep spamd /etc/rc.conf*' please? I suspect that your problem is the way that the default flags are specified in the script. We have: : ${spamd_flags="-c %%SQL_FLAG%% %%RUN_AS_USER%%"} If you put: spamd_flags="--debug" in /etc/rc.conf[.local], then you won't get those default flags, and I suspect that is the cause of the problems you're seeing. For the maintainer, I wonder if it's possible for those default flags to be added to command_args to avoid this issue? hth, Doug -- This .signature sanitized for your protection