freebsd-update and more information

2008-06-30 Thread Zbigniew Szalbot

Dear all,

I read man freebsd-update but it has not answered my questions. That is, 
after I have issued freebsd-update fetch/install, where can I find 
information about if the installed updates require recompiling the 
kernel or system restart?


Thank you in advance!

--
Zbigniew Szalbot
www.LCWords.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: freebsd-update and more information

2008-06-30 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Dear all,

I read man freebsd-update but it has not answered my questions. That 
is, after I have issued freebsd-update fetch/install, where can I find 
information about if the installed updates require recompiling the 
kernel or system restart?


Thank you in advance!


Not all updates include kernel updates, some are just userland.
If you are running a GENERIC, unomdified (from CD) kernel, this will be 
updated in the process. freebsd-update shows you a list of updated 
files, and will also show /boot/kernel/kernel if this is updated. You 
will also see source files in /usr/src/sys being updated on a kernel 
update. Since I always run custom kernels, I just watch for changes in 
/usr/src/sys. If there are updates there and you are running a custom 
kernel, you will have to recompile it. Otherwise you don't have to. The  
uname -a command will still report a previous -pversion until you 
recompile though.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update and more information

2008-06-30 Thread Zbigniew Szalbot

Hello again,


Not all updates include kernel updates, some are just userland.
If you are running a GENERIC, unomdified (from CD) kernel, this will be 
updated in the process. freebsd-update shows you a list of updated 
files, and will also show /boot/kernel/kernel if this is updated. You 
will also see source files in /usr/src/sys being updated on a kernel 
update. Since I always run custom kernels, I just watch for changes in 
/usr/src/sys. If there are updates there and you are running a custom 
kernel, you will have to recompile it. Otherwise you don't have to. The  
uname -a command will still report a previous -pversion until you 
recompile though.


Thanks! How do you go from there? I assume it is not necessary to 
download sources since they have already been fetched by freebsd-update.


I also run a custom kernel and I see modification date change in 
/usr/src/sys/netinet so that's likely to mean I need to recompile the 
kernel. Thank you again!


--
Zbigniew Szalbot
www.LCWords.com


smime.p7s
Description: S/MIME Cryptographic Signature


Re: freebsd-update and more information

2008-06-30 Thread Manolis Kiagias

Zbigniew Szalbot wrote:

Hello again,


Not all updates include kernel updates, some are just userland.
If you are running a GENERIC, unomdified (from CD) kernel, this will 
be updated in the process. freebsd-update shows you a list of updated 
files, and will also show /boot/kernel/kernel if this is updated. You 
will also see source files in /usr/src/sys being updated on a kernel 
update. Since I always run custom kernels, I just watch for changes 
in /usr/src/sys. If there are updates there and you are running a 
custom kernel, you will have to recompile it. Otherwise you don't 
have to. The  uname -a command will still report a previous 
-pversion until you recompile though.


Thanks! How do you go from there? I assume it is not necessary to 
download sources since they have already been fetched by freebsd-update.


Just guessing you updated to 7.0-RELEASE-p2? This actually has kernel 
updates in the TCP/IP code. True, you don't have to download sources, 
you already got them.




I also run a custom kernel and I see modification date change in 
/usr/src/sys/netinet so that's likely to mean I need to recompile the 
kernel. Thank you again!




Yes, you simply repeat your last kernel build/install/reboot procedure, 
i.e. something like:


cd /usr/src
make buildkernel installkernel KERNCONF=YOURKERNELNAME
reboot

and you are set!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update and more information

2008-06-30 Thread David Gurvich
freebsd-update only updates the installed sources, not all sources.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: freebsd-update and more information

2008-06-30 Thread Paul Schmehl
--On June 30, 2008 2:22:41 PM +0200 Zbigniew Szalbot 
[EMAIL PROTECTED] wrote:



Dear all,

I read man freebsd-update but it has not answered my questions. That is,
after I have issued freebsd-update fetch/install, where can I find
information about if the installed updates require recompiling the
kernel or system restart?

Thank you in advance!


Maybe I'm confused, but I thought freebsd-update installed precompiled 
binaries of the generic kernel and world.  Therefore, you would need to 
reboot if the kernel changed.  Freebsd-update should tell you what will be 
changed after it finishes the fetch.  I don't recall if it also tells you 
what it installed.


Paul Schmehl
If it isn't already obvious,
my opinions are my own and not
those of my employer.


Re: freebsd-update and more information

2008-06-30 Thread Manolis Kiagias

Paul Schmehl wrote:
--On June 30, 2008 2:22:41 PM +0200 Zbigniew Szalbot 
[EMAIL PROTECTED] wrote:



Dear all,

I read man freebsd-update but it has not answered my questions. That is,
after I have issued freebsd-update fetch/install, where can I find
information about if the installed updates require recompiling the
kernel or system restart?

Thank you in advance!


Maybe I'm confused, but I thought freebsd-update installed precompiled 
binaries of the generic kernel and world.


True, but it also updates the relevant sources if installed (as another 
poster said, freebsd-update will only update what you have installed - I 
tend to always assume that everybody installs full sources, but that's 
just me)


Therefore, you would need to reboot if the kernel changed.  
Freebsd-update should tell you what will be changed after it finishes 
the fetch.  I don't recall if it also tells you what it installed.


If it tells you it updated /boot/kernel/kernel, you should reboot. If 
you are running a custom kernel and you see files getting updated in 
/usr/src/sys (mind you, not just the /usr/src/sys/conf/newvers.sh, but 
other files too - newvers.sh is always updated to reflect the new -p# in 
uname, if you rebuild your kernel) you should rebuild your custom kernel 
and reboot.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]