From owner-freebsd-security@FreeBSD.ORG Thu Aug 9 22:00:43 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 62CAD106566C for ; Thu, 9 Aug 2012 22:00:43 +0000 (UTC) (envelope-from brett@lariat.org) Received: from lariat.net (lariat.net [66.62.230.51]) by mx1.freebsd.org (Postfix) with ESMTP id 10B4C8FC0C for ; Thu, 9 Aug 2012 22:00:42 +0000 (UTC) Received: from WildRover.lariat.org (IDENT:ppp1000.lariat.net@lariat.net [66.119.58.2] (may be forged)) by lariat.net (8.9.3/8.9.3) with ESMTP id PAA02727; Thu, 9 Aug 2012 15:31:43 -0600 (MDT) Message-Id: <201208092131.PAA02727@lariat.net> X-Mailer: QUALCOMM Windows Eudora Version 7.1.0.9 Date: Thu, 09 Aug 2012 15:31:25 -0600 To: Henrik Andersen , cronfy From: Brett Glass In-Reply-To: References: <5023a174.c4df440a.09cc.ffffd3d2SMTPIN_ADDED@mx.google.com> <3FB858A6-807A-45E7-880B-F27D9C884827@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Cc: freebsd-security@freebsd.org Subject: Re: getting the running patch level X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Aug 2012 22:00:43 -0000 Yes, uname -v will work. Unfortunately, it has an annoying side effect. If one tries to use the "sysinstall" program to install binary packages, it will fail when a system patched by freebsd-update tries to access the FTP server, because the FTP server doesn't know about patch levels. One must MANUALLY go to the Options screen and remove the patch level (-p3, -p4 or whatever) from the version string before one can install a binary package. I realize that sysinstall is deprecated in favor of the new installer, but the new installer doesn't have the ability to install binary packages. Until and unless there's a convenient menu-based installer for binary packages, would it be possible to fix this glitch? --Brett Glass At 09:43 AM 8/9/2012, Henrik Andersen wrote: >Hi all, > >You can find the current patch level in /usr/src/sys/conf/newvers.sh ex: > TYPE="FreeBSD" > REVISION="8.3" > BRANCH="RELEASE-p4" > >uname -v on the same server: >FreeBSD 8.3-RELEASE #0: Mon Apr 9 21:23:18 UTC 2012 >root@mason.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC > >If I read the handbook correctly this should always be true on systems >using freebsd-update. >http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/updating-upgrading-freebsdupdate.html > >Regards, >Henrik