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



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


_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: No updates needed to update system to 6.2-RELEASE-p7?
    ... Looking up update.FreeBSD.org mirrors... ... Fetching metadata signature from update1.FreeBSD.org... ... No updates needed to update system to 6.2-RELEASE-p7. ... The updates coming after 4 did not effect the kernel (which holds the ...
    (freebsd-questions)
  • Re: Sound Problem (slim)
    ... >> I'll add a status file that will keep track of which mirrors have been ... >> some hints as to what is the best way to free up space on a disk. ... >> uncessesary junk left over from upgrades, kernel builds, software ... > # chkconfig nscd on ...
    (Fedora)
  • freebsd-update metadata signature fails
    ... Looking up update.FreeBSD.org mirrors... ... Fetching metadata signature for 6.3-RELEASE from update1.FreeBSD.org... ... The following components of FreeBSD do not seem to be installed: ...
    (freebsd-questions)
  • Re: Redhat 9 Kernel source
    ... Geez now I really do fell like a dumb ass... ... So thats what the updates directory is for in the countless disto mirrors... ... because you are missing the patches that were installed in the three ... > based on major kernel version, as well as the libraries and other crap ...
    (alt.os.linux.redhat)
  • freebsd-update fetching files failed
    ... Looking up update.FreeBSD.org mirrors... ... Fetching metadata signature from update1.FreeBSD.org... ... Fetching 18 patches. ... FreeBSD is a registered trademark of The FreeBSD Foundation. ...
    (freebsd-questions)