From owner-freebsd-questions@FreeBSD.ORG Sun Oct 17 16:53:58 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 19BDD16A4CE for ; Sun, 17 Oct 2004 16:53:58 +0000 (GMT) Received: from dnsmail3.ior.navy.mil (noca.ior.navy.mil [205.56.210.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id E871D43D49 for ; Sun, 17 Oct 2004 16:53:51 +0000 (GMT) (envelope-from JohnsoBS@vicksburg.navy.mil) Received: from cg69ubd01.vicksburg.navy.mil ([205.95.65.21]) i9HGpmE5008218; Sun, 17 Oct 2004 16:51:53 GMT Received: by CG69UBD01 with Internet Mail Service (5.5.2657.72) id <4QZ74W4G>; Sun, 17 Oct 2004 19:56:42 +0300 Message-ID: From: JohnsoBS@vicksburg.navy.mil To: garya@dreamchaser.org, freebsd-questions@freebsd.org Date: Sun, 17 Oct 2004 19:56:36 +0300 X-Mailer: Internet Mail Service (5.5.2657.72) 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 16:53:58 -0000 > -----Original Message----- > From: Gary Aitken [mailto:garya@dreamchaser.org] > Sent: Sunday, October 17, 2004 6:31 PM > To: FreeBSD Questions > Subject: 4.10 startup sequencing > > > Hello all, > > 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? > > Gary 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