Re: 6.3 uname -a weirdness

2009-12-03 Thread andrew clarke
On Thu 2009-12-03 14:46:26 UTC+0100, Andrea Venturoli (m...@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 ozzmo...@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 ozzmo...@blizzard [~]touch x
1:59 ozzmo...@blizzard [~]ls -l /usr/src/sys/conf/newvers.sh x
-rw-r--r-- 1 root wheel3795 2009-12-03 21:24 
/usr/src/sys/conf/newvers.sh
-rw-r--r-- 1 ozzmosis ozzmosis0 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
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 6.3 uname -a weirdness

2009-12-03 Thread Andrea Venturoli

Diego F. Arias R. ha scritto:

If you are using freebsd-update to keep your system up-to-date is 
normal. Unless updates apply to kernel it will keep the number of the 
last one who patch it.


As I said above, I did a source upgrade.

 bye & Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: 6.3 uname -a weirdness

2009-12-03 Thread Diego F. Arias R.
On Thu, Dec 3, 2009 at 8:46 AM, Andrea Venturoli  wrote:

> Hello.
>
> Due to the recent advisories, on an i386 6.3 box, i just did:
>
> cd /usr/src
> make update
> make buildworld
> make kernel KERNCONF=MYKERNEL
> make installworld
> shutdown -r now
>
>
> 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]
> ...
>
>
>
> I think the above does not affect the kernel; in fact I recompiled it just
> to be able to check the OS version with uname.
> Just curious on whether this is normal...
>
>  bye & Thanks
>av.
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscr...@freebsd.org"
>

If you are using freebsd-update to keep your system up-to-date is normal.
Unless updates apply to kernel it will keep the number of the last one who
patch it.

-- 
mmm, interesante.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


6.3 uname -a weirdness

2009-12-03 Thread Andrea Venturoli

Hello.

Due to the recent advisories, on an i386 6.3 box, i just did:

cd /usr/src
make update
make buildworld
make kernel KERNCONF=MYKERNEL
make installworld
shutdown -r now


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]
...



I think the above does not affect the kernel; in fact I recompiled it 
just to be able to check the OS version with uname.

Just curious on whether this is normal...

 bye & Thanks
av.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"