Date: Fri, 4 Dec 2009 02:08:16 +1100 From: andrew clarke <mail@ozzmosis.com> To: Andrea Venturoli <ml@netfence.it> Cc: questions@freebsd.org Subject: Re: 6.3 uname -a weirdness Message-ID: <20091203150816.GA63952@ozzmosis.com> In-Reply-To: <4B17C132.2040609@netfence.it> References: <4B17C132.2040609@netfence.it>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu 2009-12-03 14:46:26 UTC+0100, Andrea Venturoli (ml@netfence.it) wrote: > Now "uname -a" reports 6.3p13, although "cat /usr/src/UPDATING" gives: > > ... > 20091203: p14 FreeBSD-SA-09:15.ssl, > FreeBSD-SA-09:17.freebsd-update > Disable SSL renegotiation in order to protect against a serious > protocol flaw. [09:15] > > Fix permissions in freebsd-update in order to prevent leakage of > sensitive files. [09:17] > ... >From what I understand the version number compiled into the kernel is retrived from /usr/src/sys/conf/newvers.sh at build time. Maybe one of the developers forgot to update this file to p14 for FreeBSD 6.3. Or perhaps newvers.sh is only updated when the kernel is modified. But the latter theory does not match my experience on the FreeBSD 7.2 machine I run here: 1:52 ozzmosis@blizzard [~]grep -v # /usr/src/sys/conf/newvers.sh | head TYPE="FreeBSD" REVISION="7.2" BRANCH="RELEASE-p5" ... Here, newvers.sh was modified only a few hours ago when I ran freebsd-update to upgrade from 7.2-REL-p4 to 7.2-REL-p5: 1:58 ozzmosis@blizzard [~]touch x 1:59 ozzmosis@blizzard [~]ls -l /usr/src/sys/conf/newvers.sh x -rw-r--r-- 1 root wheel 3795 2009-12-03 21:24 /usr/src/sys/conf/newvers.sh -rw-r--r-- 1 ozzmosis ozzmosis 0 2009-12-04 01:59 x > I think the above does not affect the kernel; Yes, I believe ihis is correct for the recent security patches for 7.2. I saw no kernel modifications (so presumably no need to reboot the machine). > in fact I recompiled it just to be able to check the OS version with > uname. Just curious on whether this is normal... I wonder if the FreeBSD developers would consider it worthwhile to make it a bit easier to find out what "patch level" the system is at. "uname -a" only reflects the kernel patch level. I don't think there's an unambiguous way to determine the userland patch level. Most Linux distros use /etc/issue. Maybe FreeBSD could have something like that. Regards Andrew
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091203150816.GA63952>
