From owner-freebsd-questions@FreeBSD.ORG Tue Aug 22 07:31:39 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 31A2916A4DE for ; Tue, 22 Aug 2006 07:31:39 +0000 (UTC) (envelope-from keramida@ceid.upatras.gr) Received: from igloo.linux.gr (igloo.linux.gr [62.1.205.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E27543D64 for ; Tue, 22 Aug 2006 07:31:38 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from gothmog.pc (host5.bedc.ondsl.gr [62.103.39.229]) (authenticated bits=128) by igloo.linux.gr (8.13.7/8.13.7/Debian-2) with ESMTP id k7M7VMS5003660 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 22 Aug 2006 10:31:24 +0300 Received: from gothmog.pc (gothmog [127.0.0.1]) by gothmog.pc (8.13.7/8.13.7) with ESMTP id k7M7VWHg094946; Tue, 22 Aug 2006 10:31:32 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Received: (from giorgos@localhost) by gothmog.pc (8.13.7/8.13.7/Submit) id k7M7VTZb094945; Tue, 22 Aug 2006 10:31:29 +0300 (EEST) (envelope-from keramida@ceid.upatras.gr) Date: Tue, 22 Aug 2006 10:31:29 +0300 From: Giorgos Keramidas To: beno Message-ID: <20060822073129.GC93501@gothmog.pc> References: <44EA1789.5040707@2012.vi> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <44EA1789.5040707@2012.vi> X-Hellug-MailScanner: Found to be clean X-Hellug-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.886, required 5, autolearn=not spam, AWL -0.29, BAYES_00 -2.60, UNPARSEABLE_RELAY 0.00) X-Hellug-MailScanner-From: keramida@ceid.upatras.gr X-Spam-Status: No Cc: freebsd-questions@freebsd.org 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 07:31:39 -0000 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'. > Are these commands sufficient? > > make buildkernel > make installkernel Not necessarily. > or do I need to redo all this? > > make buildkernel > make installkernel > sh /etc/rc.shutdown > pkill sendmail > pkill syslogd > mergemaster -p > make installworld > mergemaster > reboot > /usr/local/bin/portmanager -u -f -l -y > make delete-old-libs Why are you running `/etc/rc.shutdown' manually? Why are you using `pkill' on Sendmail and syslogd?