From owner-freebsd-isp Sun Feb 9 13:18:18 2003 Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7A1F637B405 for ; Sun, 9 Feb 2003 13:18:17 -0800 (PST) Received: from out003.verizon.net (out003pub.verizon.net [206.46.170.103]) by mx1.FreeBSD.org (Postfix) with ESMTP id D089B43F3F for ; Sun, 9 Feb 2003 13:18:15 -0800 (PST) (envelope-from cswiger@mac.com) Received: from mac.com ([129.44.42.238]) by out003.verizon.net (InterMail vM.5.01.05.20 201-253-122-126-120-20021101) with ESMTP id <20030209211815.XIYR3094.out003.verizon.net@mac.com> for ; Sun, 9 Feb 2003 15:18:15 -0600 Message-ID: <3E46C590.4060106@mac.com> Date: Sun, 09 Feb 2003 16:18:08 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.3a) Gecko/20021212 X-Accept-Language: en-us, en MIME-Version: 1.0 Cc: freebsd-isp@FreeBSD.ORG Subject: Re: Local package initialization References: <1044818277.3e46a965d3e52@webmail.isot.com> <20030209200034.GA25652@users.munk.nu> In-Reply-To: <20030209200034.GA25652@users.munk.nu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Authentication-Info: Submitted using SMTP AUTH at out003.verizon.net from [129.44.42.238] at Sun, 9 Feb 2003 15:18:14 -0600 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Jez Hancock wrote: [ ... ] > As an example, if the files in /usr/local/etc/rc.d dir looks like this: > > -rwxr-x--- 1 root wheel 181 Dec 23 22:05 000.mysql-client.sh* > -r-xr-xr-x 1 root wheel 248 Dec 14 09:26 000.pkgtools.sh* > -r-xr-xr-x 1 root wheel 307 Jan 19 16:32 100.apache.sh* > -rwxr-x--x 1 root wheel 316 Nov 11 01:19 200.idled.sh* > -rwxr-x--- 1 root wheel 181 Dec 23 22:05 300.mysql.sh* > -rwxr-xr-x 1 root wheel 1742 Jan 14 18:03 999.ipfw.sh* > > Then the scripts will be run in the order: > > mysql-client > pkgtools > apache > idled > ipfw Note that the above ordering leaves a window of vulnerability after a system reboot, where the firewall rules are not yet in place. It's safer to start up the firewall first, and then everything else. -Chuck To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message