Date: Thu, 9 Aug 2012 18:05:12 +0200 From: "Cedric GROSS" <cgross@2blc.com> To: "'Roberto'" <robertot@redix.it> Cc: freebsd-security@freebsd.org Subject: RE: getting the running patch level Message-ID: <001701cd7648$c2520350$46f609f0$@com> In-Reply-To: <33584.192.168.0.107.1344519530.squirrel@mail.redix.it:443> References: <31946.192.168.0.107.1344505442.squirrel@mail.redix.it:443> <0B65D7562F9DA04FAC3F15C508BF67136B90E09E1F@ESESSCMS0355.eemea.ericsson.se> <33584.192.168.0.107.1344519530.squirrel@mail.redix.it:443>
next in thread | previous in thread | raw e-mail | index | archive | help
Hello Roberto, In fact "uname -a" report patch level BUT if you update your system by freebsd-update, patch level could be an old one. As discuss here http://forums.freebsd.org/archive/index.php/t-20154.html Regards Cedric -----Message d'origine----- De=A0: owner-freebsd-security@freebsd.org [mailto:owner-freebsd-security@freebsd.org] De la part de Roberto Envoy=E9=A0: jeudi 9 ao=FBt 2012 15:39 =C0=A0: K=E1roly Arnhoffer Cc=A0: freebsd-security@freebsd.org Objet=A0: RE: getting the running patch level Importance=A0: Haute 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=E1roly 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=20 > "patch level" (the handbook defines it "builds names" like=20 > 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=20 > search in config file but no luck; > > again the question is: > is there a way to determine for a running server which "patch level"=20 > is currently at ? > > thanks > Roberto > > _______________________________________________ > freebsd-security@freebsd.org mailing list=20 > http://lists.freebsd.org/mailman/listinfo/freebsd-security > To unsubscribe, send any mail to "freebsd-security-unsubscribe@freebsd.org" > _______________________________________________ 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"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001701cd7648$c2520350$46f609f0$>