From owner-freebsd-stable@FreeBSD.ORG Thu Dec 31 10:25:34 2009 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 07248106566B for ; Thu, 31 Dec 2009 10:25:34 +0000 (UTC) (envelope-from sonic2000gr@gmail.com) Received: from mail-ew0-f226.google.com (mail-ew0-f226.google.com [209.85.219.226]) by mx1.freebsd.org (Postfix) with ESMTP id 87BE78FC1B for ; Thu, 31 Dec 2009 10:25:33 +0000 (UTC) Received: by ewy26 with SMTP id 26so10212789ewy.3 for ; Thu, 31 Dec 2009 02:25:27 -0800 (PST) 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:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=99xP/1DTzwfYcVc0I0vu+e80ORBdR1AVsTLBeAb3rtA=; b=hfmbH7Otc74rD/44LkmYD+bLVJKNxbsDzzuh02mnIh9NPgSYOQJv2CfwQT9+sclz9g QpDVzANXa5nKBPXRREO9aSvvu0egHHr9WNkmiBRMkvRVMGEuysYfDGvK+5zKtlaZO8jD BfZfZhEHYyKSmSMGURrkId7FqN8TQmPO6+Ih4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=EANR+oHBEL45VAyyMXfoPPlijU4g9ShkFMKSQN1Q+AEY/1EeOg4/6w514MyyshIgfA qWsGamTl7pLHr0NeN68NhAmpplVZs6vD/Ueso+l9GI9xrk0VgqrATCoyoJSBYqimYTJB j6NGiOsboHe/EQYFcpbMy8pcksjs5yA0mBDWs= Received: by 10.213.1.199 with SMTP id 7mr16880186ebg.23.1262255126931; Thu, 31 Dec 2009 02:25:26 -0800 (PST) Received: from pulstar.local (athedsl-4563723.home.otenet.gr [94.70.111.19]) by mx.google.com with ESMTPS id 15sm10103504ewy.8.2009.12.31.02.25.24 (version=TLSv1/SSLv3 cipher=RC4-MD5); Thu, 31 Dec 2009 02:25:25 -0800 (PST) Message-ID: <4B3C7C13.9090507@gmail.com> Date: Thu, 31 Dec 2009 12:25:23 +0200 From: Manolis Kiagias User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: In-Reply-To: X-Enigmail-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: Re: uname(1) does not show system is patched via freebsd-update(8) 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: Thu, 31 Dec 2009 10:25:34 -0000 On 31/12/2009 11:40 π.μ., martinko wrote: > Hallo, > > The system here seems to be patched yet I do not see the information > in uname(1) output (see below). Is this a bug or my error or what ? > > Cheers, > > Martin > This is normal. The patch level shown is not updated, unless one of the following applies: 1. You are running a GENERIC kernel *and* the kernel was updated as part of the freebsd-update patching process (This was not the case with 8.0-RELEASE-p1, these patches did not affect the kernel) 2. You rebuild your kernel after the update (you may rebuild GENERIC or your own custom kernel). Assuming you have the sources installed, freebsd-update will update them along with the binaries. The patch level is in the file /usr/src/sys/conf/newvers.sh. Check it out and you will see a line "BRANCH=RELEASE-p1". This is what will be used if you rebuild your kernel. Keep in mind that if the sole purpose of this is to have the patch level info handy, you may simply override the value returned by uname -r using i.e. the following: export UNAME_r=8.0-RELEASE-p1 but you have to remember to keep this synchronized with the actual patch level :)