freebsd-update ignores /boot/kernel/kernel sometimes!?

Andy Hilker ah at crypta.net
Wed Feb 28 22:46:28 UTC 2007


Hi,

i have a strange thing here, maybe someone can give me a hint.

Somehow freebsd-update find /boot/kernel/kernel on some servers and
patches it and on others not. Both kernels are installed from CD
(GENERIC). 

On those servers where it does not display /boot/kernel/kernel,
i can fix this by creating a symlink: ln -s /boot/kernel /boot/GENERIC
Then it will display and patch /boot/GENERIC/kernel.  Other ways
to fix it is nextboot or kernel variable in /boot/loader.conf, but
i do not want a workaround on some servers.  Any idea why this can
happen?

Maybe it is related to the way how the "broken" kernel has been installed:

>From RELEASE CD:
cd kernels
./install.sh GENERIC
mv /boot/GENERIC /boot/kernel

bye,
Andy


- Server 1 with /boot/kernel/kernel (GENERIC from release CD)
# freebsd-update fetch   
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 6.2-RELEASE-p2:
/boot/kernel/kernel
[...]

- Server 2 with /boot/kernel/kernel (GENERIC from release CD)
# freebsd-update fetch                
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature from update1.FreeBSD.org... done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 6.2-RELEASE-p2:
 -- does *not* display /boot/kernel/kernel
 -- if symlink exists, it will patch /boot/GENERIC/kernel
[...]




More information about the freebsd-hackers mailing list