From owner-freebsd-questions@FreeBSD.ORG Fri Sep 7 15:44:21 2012 Return-Path: Delivered-To: questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B89AB106564A for ; Fri, 7 Sep 2012 15:44:21 +0000 (UTC) (envelope-from levitch@iglou.com) Received: from rdsmtp.iglou.com (rdsmtp.iglou.com [192.107.41.63]) by mx1.freebsd.org (Postfix) with ESMTP id 72EC28FC08 for ; Fri, 7 Sep 2012 15:44:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=iglou.com; s=alpha; h=Content-Type:MIME-Version:References:Message-ID:In-Reply-To:Subject:cc:To:From:Date; bh=r6xzIYAgxgppmqU88leQimAiASq4HGiIG/uPepi2RG4=; b=Pm5O4HWimyKwkWXFyHfgeM6iFBAFjqySZ6HPy4shZAPA8hAfL2MvLIQzevr6OeYoJfxQj+b1nxvkH57KHLAZwxevgXUC0kDCkwsKTeQotivtzx8kBSyWYoMiUmlhHVi7ag6yAE2fU4vd2eYLLZpNsqKAhHUGzbNoINWElkJuLzI=; Received: from iglou1.iglou.com ([192.107.41.3]:33816 helo=mail.iglou.com) by rdsmtp.iglou.com with esmtpa (Exim MTA/8.19.3) (envelope-from ) id 1TA0jE-000420-FT by authid with igloumta_auth for questions@freebsd.org; Fri, 07 Sep 2012 11:44:20 -0400 Received: from shell1.iglou.com ([192.107.41.17]:57982 helo=shell1) by mail.iglou.com with esmtps (TLS cipher TLSv1:AES256-SHA:256) (Exim MTA/8.19.3) (envelope-from ) id 1TA0jD-0006Ky-Rg; Fri, 07 Sep 2012 11:44:20 -0400 Date: Fri, 7 Sep 2012 11:44:19 -0400 (EDT) From: Darrel X-X-Sender: levitch@shell1 To: Polytropon In-Reply-To: <20120907150550.5cd87924.freebsd@edvax.de> Message-ID: References: <20120907093108.fa9930aeb87e5935f3d0e3a2@gmx.net> <20120907150550.5cd87924.freebsd@edvax.de> User-Agent: Alpine 2.00 (GSO 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Originating-IP: 192.107.41.17 X-IgLou-Customer: 3cb6f76205bd20f518810676a67a982b Cc: questions@freebsd.org Subject: Re: openbsd packet firewall X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 Sep 2012 15:44:21 -0000 On Fri, 7 Sep 2012, Polytropon wrote: > On Fri, 7 Sep 2012 09:00:27 -0400 (EDT), Darrel wrote: >> when i updated from fbsd82 to fbsd90 using buildworld, buildkernel, >> installkernel, reboot, installworld, mergemaster, and make check-old, then >> packet filter simply did not load. > > That's nmot 100% the procedure. Please refer to the comment > header of /usr/src/Makefile for the full description. It should > also be mentioned in The FreeBSD Handbook. > > 1. `cd /usr/src' (or to the directory containing your source tree). > 2. `make buildworld' > 3. `make buildkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). > 4. `make installkernel KERNCONF=YOUR_KERNEL_HERE' (default is GENERIC). > [steps 3. & 4. can be combined by using the "kernel" target] > 5. `reboot' (in single user mode: boot -s from the loader prompt). > 6. `mergemaster -p' > 7. `make installworld' > 8. `make delete-old' > 9. `mergemaster' (you may wish to use -i, along with -U or -F). > 10. `reboot' > 11. `make delete-old-libs' (in case no 3rd party program uses them anymore) > > The proper use of mergemaster and the two delete* targets > seems to be different from your description. You are correct, of course. Actually that is what I have been doing, except that I have been running 'make delete-old' after mergemaster. Also, I have been deleting /usr/obj/* before 'cd /usr/src' and after 'cd /usr/src' running 'make cleandir && make cleandir'. Thanks for the clarification. Darrel