From owner-freebsd-stable@FreeBSD.ORG Sun Jan 8 00:26:10 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF8181065670 for ; Sun, 8 Jan 2012 00:26:10 +0000 (UTC) (envelope-from ari@ish.com.au) Received: from fish.ish.com.au (eth5921.nsw.adsl.internode.on.net [59.167.240.32]) by mx1.freebsd.org (Postfix) with ESMTP id 0AE708FC08 for ; Sun, 8 Jan 2012 00:26:09 +0000 (UTC) Received: from [10.29.62.5] (port=62566 helo=Aris-MacBook-Pro.local) by fish.ish.com.au with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.76) (envelope-from ) id 1RjgaK-00077Q-0Z; Sun, 08 Jan 2012 11:26:05 +1100 X-CTCH-RefID: str=0001.0A150203.4F08E29C.00B2,ss=1,re=0.000,fgs=0 Message-ID: <4F08E298.4040708@ish.com.au> Date: Sun, 08 Jan 2012 11:26:00 +1100 From: Aristedes Maniatis User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:10.0) Gecko/20111222 Thunderbird/10.0 MIME-Version: 1.0 To: Gianni Vialetto References: <4F07F0BC.7060309@ish.com.au> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable Subject: Re: freebsd-update problems X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 08 Jan 2012 00:26:10 -0000 On 7/01/12 9:17 PM, Gianni Vialetto wrote: > 2012/1/7 Aristedes Maniatis: >> [...] >> 1. I am clearly running 8.2-p5, but the final message says "no updates >> needed". That's clearly not correct since p5< p8. And running uname again >> after this results in still seeing p5. > > That's not really true. > Unless an update upgrades the kernel, the result of "uname -a" will > not change. For it to change, you have to recompile the kernel > yourself - using the generic of a custom configuration. > > Your current release level is the fourth field in > /var/db/freebsd-update/tag, IIRC. Thanks for that clarification. That is a very obscure place to look, but it appears to be correct. I had never noticed before the difference between kernel patch level (in uname) and overall system patch level. Many years ago I used to upgrade FreeBSD by compiling kernel and world every time, so I guess those things used to match. But binary updating is so much faster these days and the benefits of optimising the kernel with only the things I need are fairly negligible. If I could make a suggestion for freebsd-update. When it runs, it might spit out this: Current system: -- running kernel 8.1-RELEASE-p4 -- installed kernel 8.1-RELEASE-p5 (will be running after reboot) -- intalled system 8.1-RELEASE-p8 The second line would be conditionally output only if it differs from the first line. And of course, some suggestion about how to resolve the modified locally files would be ideal. Ari -- --------------------------> Aristedes Maniatis ish http://www.ish.com.au Level 1, 30 Wilson Street Newtown 2042 Australia phone +61 2 9550 5001 fax +61 2 9550 4001 GPG fingerprint CBFB 84B4 738D 4E87 5E5C 5EFA EF6A 7D2E 3E49 102A