From owner-freebsd-questions@FreeBSD.ORG Tue Aug 22 12:43:50 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 6B54916A4DA for ; Tue, 22 Aug 2006 12:43:50 +0000 (UTC) (envelope-from zope@2012.vi) Received: from mail.dunhill.ws (satnet64-79.wctc.net [66.208.64.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0CF3C43D7C for ; Tue, 22 Aug 2006 12:43:38 +0000 (GMT) (envelope-from zope@2012.vi) Received: from [10.0.0.172] (60puntacana97.codetel.net.do [200.88.97.60]) by mail.dunhill.ws (Weasel v1.73); 22 Aug 2006 08:43:31 -0400 Message-ID: <44EAFBE7.2030704@2012.vi> Date: Tue, 22 Aug 2006 08:43:19 -0400 From: beno User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: Giorgos Keramidas , freebsd-questions@freebsd.org References: <44EA1789.5040707@2012.vi> <20060822073129.GC93501@gothmog.pc> In-Reply-To: <20060822073129.GC93501@gothmog.pc> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Rebuilding Kernel 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: Tue, 22 Aug 2006 12:43:50 -0000 Giorgos Keramidas wrote: > On 2006-08-21 16:28, beno wrote: > >> Hi; >> I just barely finished upgrading from 5.3 to 6.1 and all is well, >> however, now I realize I have to rebuild my kernel again to accommodate >> PF. I've edited the correct GENERIC file (I'm on an i386 box). >> > > Don't edit GENERIC. It's very rarely a good idea. If you spend some > time to fine tune GENERIC to your own particular setup, matching your > own preferences, you may be surprised in a very bad way after the next > CVSup run, when all your local modifications are blown away by CVSup as > it updates your 'GENERIC' configuration to the official GENERIC status. > > It is a *FAR* better idea to copy GENERIC and edit a copy. Most of the > time I even go as far as copying GENERIC _outside_ of the `/usr/src' > tree, i.e. in `/root/kernconf/LOCAL' and symlink that file inside the > source tree, i.e. at `/usr/src/sys/i386/conf'. > Great. I added that to my script and copied over GENERIC to a separate folder, as per your idea. Now, since I had already rebuilt the kernel, I presume I don't have to concern myself with this issue until the next time I do so, is that correct? > Why are you running `/etc/rc.shutdown' manually? > > Why are you using `pkill' on Sendmail and syslogd? > As Mikhail Goriachev stated, I followed his instructions explicitly because I figured (correctly) that he_knew_what_he_was_doing, even if (as it now appears) it was overkill. Better safe than sorry :) beno