From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 19:44:48 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A61CB16A4CE for ; Sun, 17 Oct 2004 19:44:48 +0000 (GMT) Received: from nightmare.dreamchaser.org (nightmare.dreamchaser.org [12.32.36.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id D51C343D3F for ; Sun, 17 Oct 2004 19:44:47 +0000 (GMT) (envelope-from garya@dreamchaser.org) Received: from [12.32.36.74] (imagination.dreamchaser.org. [12.32.36.74]) i9HJiSI8000208; Sun, 17 Oct 2004 13:44:28 -0600 (MDT) (envelope-from garya@dreamchaser.org) Message-ID: <4172CBA5.3050902@dreamchaser.org> Date: Sun, 17 Oct 2004 13:44:37 -0600 From: Gary Aitken User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: JohnsoBS@vicksburg.navy.mil, h References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.5.3 (nightmare.dreamchaser.org [12.32.36.73]); Sun, 17 Oct 2004 13:44:29 -0600 (MDT) cc: freebsd-questions@freebsd.org Subject: Re: 4.10 startup sequencing X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Oct 2004 19:44:48 -0000 JohnsoBS@vicksburg.navy.mil wrote: > You could remove all the startup scripts from rc.conf and put them in > numbered order in /usr/local/etc/rc.d > > 010.milter > 020.sendmail > 030.etc sendmail startup is triggered by mta_start_script in rc, with mta_start_script defaulted in /etc/defaults/rc.conf not from rc.conf, so I'd have to tweak rc anyway to do that. Or are you suggesting setting mta_start_script to null in /etc/rc.conf to prevent its starting "normally", then start it via /usr/local/etc/rc.d? That seems a bit convoluted, but it would work. h wrote: > i'm not sure about the order but have you tried rc.local ? rc.local fires after sendmail has been started > On Sunday 17 October 2004 18:31, Gary Aitken wrote: >>Since 4.10 doesn't use /etc/rc.d to merge standard and local startup >>sequencing, I'm wondering what the right way is to get a daemon to >>start up before one of the standard daemons. Specifically, I would >>like to start a milter before sendmail. I know it will work if >>started afterwards, or at least it seems to, but I would like to get >>rid of the WARNING message posted to the console at startup because >>the socket isn't present when sendmail starts. >> >>I don't see a way to do this short of modifying /etc/rc. >>Is there a better way, or should I just live with the warning until >>upgrading to 5.x, where /etc/rc.d and /usr/local/etc/rc.d sequencing >>hints are merged?