From owner-freebsd-questions@FreeBSD.ORG Tue Aug 22 08:01:43 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 53E0316A4E2 for ; Tue, 22 Aug 2006 08:01:43 +0000 (UTC) (envelope-from mikhailg@webanoide.org) Received: from overlord.navalradio.cl (overlord.navalradio.cl [201.236.67.146]) by mx1.FreeBSD.org (Postfix) with ESMTP id 272CC43D8A for ; Tue, 22 Aug 2006 08:01:24 +0000 (GMT) (envelope-from mikhailg@webanoide.org) Received: from [192.168.0.4] (ppp108-110.static.internode.on.net [150.101.108.110]) (authenticated bits=0) by overlord.navalradio.cl (8.13.6/8.13.6) with ESMTP id k7M80uc6009204; Tue, 22 Aug 2006 04:00:59 -0400 (CLT) (envelope-from mikhailg@webanoide.org) Message-ID: <44EAB9B3.6020803@webanoide.org> Date: Tue, 22 Aug 2006 18:00:51 +1000 From: Mikhail Goriachev Organization: Webanoide User-Agent: Thunderbird 1.5.0.5 (Macintosh/20060719) MIME-Version: 1.0 To: Giorgos Keramidas References: <44EA1789.5040707@2012.vi> <20060822073129.GC93501@gothmog.pc> In-Reply-To: <20060822073129.GC93501@gothmog.pc> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-100.0 required=5.0 tests=USER_IN_WHITELIST autolearn=failed version=3.1.4 X-Spam-Checker-Version: SpamAssassin 3.1.4 (2006-07-25) on overlord.navalradio.cl Cc: beno , 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 08:01:43 -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'. > >> 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? That was just an *example*[1] I gave Beno for the remote upgrade. Apparently, it's been taken very seriously and copy-pasted. Cheers, Mikhail. [1] - http://lists.freebsd.org/pipermail/freebsd-questions/2006-August/129129.html -- Mikhail Goriachev Webanoide Telephone: +61 (0)3 62252501 Mobile Phone: +61 (0)4 38255158 E-Mail: mikhailg@webanoide.org Web: http://www.webanoide.org PGP Key ID: 0x4E148A3B PGP Key Fingerprint: D96B 7C14 79A5 8824 B99D 9562 F50E 2F5D 4E14 8A3B