From owner-freebsd-questions@FreeBSD.ORG Mon Jul 14 23:59:39 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D08801065685 for ; Mon, 14 Jul 2008 23:59:39 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.188]) by mx1.freebsd.org (Postfix) with ESMTP id 68BC48FC17 for ; Mon, 14 Jul 2008 23:59:39 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: by fk-out-0910.google.com with SMTP id k31so3057096fkk.11 for ; Mon, 14 Jul 2008 16:59:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=MePuN3vF/+kdewuSw9La3RuNVE58YOWBaTxBVCcydXo=; b=g/DZ1yeR1z6Up2/h0ku5zQImTH4nJ868WwcpJ225WRkn0+HioGn4VdaCfXuyR/Sq1a M9oiE2NTyJGTARe5PujLkWhvdsNl4B0NJMrnR9jDd02Spr0Y1P/6hLwMTAcyBMTPdLYo TAKH5vBG9j8ENr93XjCUosNXn6QxOOr0zhnpw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=xpxn4y0eiIwETUPBQQvOKZtXODhMzoUeoYTQwe6K1Bry0J8PXj3ti8gpfPIkdTWp4M U8AyshcGXkXpEXjvgOkPIZypDQfpV9GI9PtNTNzRUtIZmSldo1ls7EXBNZJFVVNf8HT/ J0/Ro/UfxboWeZ1sy1kUZLu7VGOMIp5kaAwrA= Received: by 10.187.159.15 with SMTP id l15mr2064233fao.95.1216079977907; Mon, 14 Jul 2008 16:59:37 -0700 (PDT) Received: from atlantis.dyndns.org ( [79.130.57.134]) by mx.google.com with ESMTPS id g28sm12818925fkg.8.2008.07.14.16.59.36 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 14 Jul 2008 16:59:37 -0700 (PDT) Message-ID: <487BE866.2000309@gmail.com> Date: Tue, 15 Jul 2008 02:59:34 +0300 From: Manolis Kiagias User-Agent: Thunderbird 2.0.0.14 (X11/20080703) MIME-Version: 1.0 To: booloo@ucsc.edu References: <20080714233542.GA59789@root.ucsc.edu> In-Reply-To: <20080714233542.GA59789@root.ucsc.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: freebsd-update says -p3, but i've got -p2 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: Mon, 14 Jul 2008 23:59:39 -0000 Mark Boolootian wrote: > Hi folks, > > I've done a couple of fresh installs on 7.0-RELEASE today, and > subsequently run freebsd-update. freebsd-update reports: > > The following files will be updated as part of updating to 7.0-RELEASE-p3: > /boot/kernel/kernel > /boot/kernel/kernel.symbols > /usr/bin/dig > /usr/bin/host > /usr/bin/nslookup > /usr/bin/nsupdate > /usr/include/netinet/tcp.h > /usr/lib/libssh.a > /usr/lib/libssh.so.4 > /usr/lib/libssh_p.a > /usr/sbin/dnssec-signzone > /usr/sbin/lwresd > /usr/sbin/named > /usr/sbin/named-checkconf > /usr/sbin/named-checkzone > /usr/sbin/named-compilezone > /usr/sbin/sshd > /usr/src/sys/conf/newvers.sh > /usr/src/sys/netinet/tcp.h > /usr/src/sys/netinet/tcp_output.c > > which leads me to conclude I've got -p3, including the BIND update. > However 'uname -a' says something else: > > FreeBSD mumble.ucsc.edu 7.0-RELEASE-p2 FreeBSD 7.0-RELEASE-p2 #0: Wed Jun 18 07:33:20 UTC 2008 root@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC i386 > > And although /usr/sbin/named has been updated, it appears not to have > been upgraded: > > $ /usr/sbin/named -v > BIND 9.4.2 > > Thoughts? > > You've got p3, don't worry. There was no kernel update in p3, hence you got the p2 GENERIC kernel. If you want uname to actually show p3, you will have to recompile your kernel, using something like this (assuming you got the kernel sources installed and intend to keep using GENERIC): cd /usr/src make buildkernel installkernel KERNCONF=GENERIC and then reboot However the only difference will be in the -p number, nothing else so you don't have to do it. FWIW, the /usr/src/sys/conf/newvers.sh contains the -p number you see in uname, and this changes everytime freebsd-update fetches updates - whether they include kernel updates or not. Some people (especially those responsible for large number of machines) will recompile the kernel anyway, so they can easily see their patchlevel using uname.