From owner-freebsd-questions@FreeBSD.ORG Mon Sep 27 15:28:32 2010 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 695F0106566B for ; Mon, 27 Sep 2010 15:28:32 +0000 (UTC) (envelope-from jhelfman@experts-exchange.com) Received: from mail.experts-exchange.com (mail.experts-exchange.com [72.29.183.251]) by mx1.freebsd.org (Postfix) with ESMTP id 4176E8FC0C for ; Mon, 27 Sep 2010 15:28:32 +0000 (UTC) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id 3F969F2F3A7; Mon, 27 Sep 2010 08:10:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d= experts-exchange.com; h=content-transfer-encoding:content-type :content-type:mime-version:user-agent:from:from:subject:subject :date:date:references:in-reply-to:message-id:received:received :received; s=ee; t=1285600237; x=1287414637; bh=ywtMDX1fT5uDFAlX pvTaq9e2MDbe5+aEdJ67vVWCJto=; b=SZWxhdyWkA7pyZsa+H/iTMFPbRLuwbAp I7OyVDiXc0jvPF1gNmvu6g2Jn/1GTxd4s93wodM6Yjw+ajpEamrlJVAIcOU3NU57 jXCQ+stMCd1RY+8+7fQCkLv0vZTlXAWtxkcQ+01Kn9gpePJWN00HldQQm+SP3KId TjEFck5KMXw= X-Virus-Scanned: amavisd-new at experts-exchange.com Received: from mail.experts-exchange.com ([127.0.0.1]) by mail.experts-exchange.com (mail.experts-exchange.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tZJ8M8NwIGpJ; Mon, 27 Sep 2010 08:10:37 -0700 (PDT) Received: from mail.experts-exchange.com (localhost [127.0.0.1]) by mail.experts-exchange.com (Postfix) with ESMTP id E9804F2F39A; Mon, 27 Sep 2010 08:10:36 -0700 (PDT) Received: from 76.209.222.32 (SquirrelMail authenticated user jhelfman) by mail.experts-exchange.com with HTTP; Mon, 27 Sep 2010 08:10:36 -0700 Message-ID: In-Reply-To: References: <20100927144214.GA57011@Jason-Helfmans-MacBook-Pro.local> Date: Mon, 27 Sep 2010 08:10:36 -0700 From: jhelfman@experts-exchange.com To: "c0re" User-Agent: SquirrelMail/1.4.20 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: Jason , freebsd-questions@freebsd.org Subject: Re: freebsd-update 8.1 to 8.1-p1 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, 27 Sep 2010 15:28:32 -0000 > Is not "p1" compiled in kernel during make buildkernel operation? I'm sure it is, but freebsd-update is a binary distribution system, and doesn't build anything on the client. > If yes, /boot/kernel of 8.1 and /boot/kernel 8.1-p1 must be different. > So binary diff of /boot/kernel also must be installed during > freebsd-update. It's my opinion. Why not? > > I think it's not reasonable to have updated system without actually be > possible to know that it's really updated. And I think that if you are > looking for real patch level of your OS, you will look at uname -a, > not in newvers.sh file. > > Correct me if i'm wrong. I believe part of this issue is that if the kernel isn't distributed with a patch, then it needs to be represented somehow. I've heard of some thoughts focusing on reflecting the patch as a sysctl value. > > 2010/9/27 Jason : >> On Mon, Sep 27, 2010 at 09:01:38PM +0700, Phan Quoc Hien thus spake: >>> >>> Try rebuild your kernel and get 8.1-RELEASE-p1! I did it! >>> >>> On Mon, Sep 27, 2010 at 3:29 PM, c0re wrote: >>> >>>> Hello freebsd-questions! >>>> >>>> I've installed freebsd 8.1 and made >>>> freebsd-update fetch >>>> freebsd-update install >>>> reboot >>>> >>>> And in uname -a I still see 8.1-RELEASE, but I want to see >>>> 8.1-RELEASE-p1. >>>> >>>> In /usr/src/sys/conf/newvers.sh I see that it is 8.1-p1 >>>> >>>> REVISION="8.1" >>>> BRANCH="RELEASE-p1" >>>> >>>> Why is it so? I want to know that my system is up to date with >>>> freebsd-update, but uname -a does not show this to me. >>>> _______________________________________________ >>>> freebsd-questions@freebsd.org mailing list >>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions >>>> To unsubscribe, send any mail to " >>>> freebsd-questions-unsubscribe@freebsd.org" >>>> >> >> The kernel wasn't touched during the latest set of security releases, so >> an >> update to 8.1-p1 will show your kernel at 8.1. If you perform another >> freebsd-update, it should show no updates for 8.1-p1. >> >> Based on what you are saying, uname is reporting correctly. >> >> Other than 'sys/conf/newvers.sh,' if the update touches sys, it should >> redistribute the kernel and the patch number in the announcement. After >> it >> is properly applied, 'uname' should match. >> >> I don't recall the reasoning behind newvers.sh in the update software, >> but >> others may have an idea. >> >> -jgh >> > >