PDA

View Full Version : howto change 'uname -a' after base system U/G


fallen
07-15-2008, 03:10 PM
Hi all,
I want to do a workaround - I'm updating the base system part (lately the BIND for example) and I want to have 'uname -a' output modified.

For example it was 6.3-p2 then I updated BIND from the base system and the question is how to reach output of 'uname -a' to be 6.3-p3 w/o recompile the kernel?

Thanks.

Nightweaver
07-15-2008, 03:15 PM
Yes, recompiling kernel will change your 'uname -a' output.:) You patched your BIND with freebsd-update, right?

richardpl
07-15-2008, 05:46 PM
This is pointless, kernel will be updated via freebsd-update only if it have security bugs, in your special case, problem is in BIND - not in kernel - reason why output of uname -a is still same.

From: http://security.freebsd.org/advisories/FreeBSD-SA-08:06.bind.asc kernel is not mentioned.

Conclusion, uname -a doesnt need to get changed after every update.

lumiwa
07-15-2008, 10:39 PM
I updated my system (freebsd 7.0) with freebsd-update and I have ...p3. Do I need to rebuild my kernel? I have a custom kernel.

Thanks.

killasmurf86
07-15-2008, 10:42 PM
show
uname -a output

lumiwa
07-15-2008, 10:56 PM
show
uname -a output

FreeBSD bla.bla.com 7.0-RELEASE FreeBSD 7.0-RELEASE #1

killasmurf86
07-15-2008, 11:09 PM
I'd say you don't need to update kernel (my guess)

cajunman4life
07-16-2008, 12:47 AM
So do you want your system to show "-p3" so your users know it's at the latest "patch level," or are you simply doing it for your own benefit?

The bind patch had nothing to do with the kernel, and as such, a kernel build was not necessary, so your uname -a output will not change. However, if you wish to rebuild everything from source, then your uname -a will show "-p3" but really it's pointless.

lumiwa
07-16-2008, 02:24 AM
So do you want your system to show "-p3" so your users know it's at the latest "patch level," or are you simply doing it for your own benefit?

The bind patch had nothing to do with the kernel, and as such, a kernel build was not necessary, so your uname -a output will not change. However, if you wish to rebuild everything from source, then your uname -a will show "-p3" but really it's pointless.

Thank you very much. Now it is clear for myself.