From owner-freebsd-security@FreeBSD.ORG Thu Aug 9 13:38:53 2012 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 736041065670 for ; Thu, 9 Aug 2012 13:38:53 +0000 (UTC) (envelope-from robertot@redix.it) Received: from redix.it (60.226.93.77.dsl.static.ip.kpnqwest.it [77.93.226.60]) by mx1.freebsd.org (Postfix) with SMTP id B85438FC0A for ; Thu, 9 Aug 2012 13:38:52 +0000 (UTC) Received: (qmail 20907 invoked by uid 581); 9 Aug 2012 13:38:50 -0000 Received: from robertot@redix.it by mail by uid 504 with qmail-scanner-1.20 ( Clear:RC:1(127.0.0.1):. Processed in 0.005569 secs); 09 Aug 2012 13:38:50 -0000 Received: from unknown (HELO mail.redix.it) (127.0.0.1) by redix.it with SMTP; 9 Aug 2012 13:38:50 -0000 Received: from 192.168.0.107 (SquirrelMail authenticated user robertot) by mail.redix.it:443 with HTTP; Thu, 9 Aug 2012 15:38:50 +0200 (CEST) Message-ID: <33584.192.168.0.107.1344519530.squirrel@mail.redix.it:443> In-Reply-To: <0B65D7562F9DA04FAC3F15C508BF67136B90E09E1F@ESESSCMS0355.eemea.ericsso n.se> References: <31946.192.168.0.107.1344505442.squirrel@mail.redix.it:443> <0B65D7562F9DA04FAC3F15C508BF67136B90E09E1F@ESESSCMS0355.eemea.ericsson.se> Date: Thu, 9 Aug 2012 15:38:50 +0200 (CEST) From: "Roberto" To: =?iso-8859-1?Q?K=E1roly_Arnhoffer?= User-Agent: SquirrelMail/1.4.8 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Mailman-Approved-At: Thu, 09 Aug 2012 15:44:02 +0000 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 13:38:53 -0000 just a try on the server: -------------- % uname -a FreeBSD xxxx.yyyyy 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:46:30 UTC 2012 root@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC zzzz % -------------- and with the update command: -------------- # freebsd-update fetch ... No updates needed to update system to 9.0-RELEASE-p4 -------------- so I think uname will NOT give me enough info on the running os patchlevel (p4), maybe uname could be useful when the kernel itself is updated in the update process and the system rebooted; or I am probably missing something ... regards Roberto On Thu, August 9, 2012 13:44, Károly Arnhoffer wrote: > Hi, > > As I can remember > # uname -a > provides this information. > > Regards, > Karoly > > -----Original Message----- > From: owner-freebsd-security@freebsd.org > [mailto:owner-freebsd-security@freebsd.org] On Behalf Of Roberto > Sent: Thursday, August 09, 2012 11:44 AM > To: freebsd-security@freebsd.org > Subject: getting the running patch level > > > Hi all, > I would like to know if there is a command or a way to retrieve the "patch > level" (the handbook defines it "builds names" like 7.0-RELEASE-p1) of the > running system: just an example, if I run: > > # freebsd-update fetch > ... > No updates needed to update system to 9.0-RELEASE-p4 > > > or: > ... > The following files will be updated as part of updating to 9.0-RELEASE-p4: > ... > > but this give me no info about the current system; I tried a brief search in > config file but no luck; > > again the question is: > is there a way to determine for a running server which "patch level" is > currently at ? > > thanks > Roberto > > _______________________________________________ > freebsd-security@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" >