Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 01 May 2014 19:24:48 +0100
From:      Paul Macdonald <paul@ifdnrg.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Latest 9.2-RELEASE-p5 update keeps wanting to install /boot/kernel/linker.hints
Message-ID:  <53629170.7000202@ifdnrg.com>
In-Reply-To: <20140501170847.GA29302@ozzmosis.com>
References:  <51EB2D64-1000-404B-BB63-8BB6F9D72A01@gromit.dlib.vt.edu> <20140501170847.GA29302@ozzmosis.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> A quick googling shows this is quite an old bug!
>
> Short answer: It's annoying but you can safely ignore it.
>
> Long answer: linker.hints is actually generated locally when
> freebsd-update runs "kldxref -R /boot/". The problem is then sometimes
> the local checksum doesn't match the freebsd-update server's remote
> checksum of linker.hints, because kldxref in 9.2-REL does not take
> into account that the order of a directory can be different between
> machines/filesystems.
>
> A patch was submitted to 9-stable & 10-stable in Dec 2013:
>
> http://www.freebsd.org/cgi/query-pr.cgi?pr=182098
>
> I think the only way to fix this properly is for the FreeBSD team to
> backport the kldxref.c patch to 9.2-REL and issue it as 9.2-REL-p6.
> The machines generating the freebsd-update files need the kldxref
> patch for local and remote checksums of linker.hints to match; it's
> not enough to just patch kldxref on your local machine.
>
> Regards
> Andrew

it's also showing up on 8.4 machines and adding it to IgnorePaths in 
/etc/freebsd-update.conf has no effect.

I'd also say its not just an annoyance, if you script stuff so you can 
see what needs updated..

Paul.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53629170.7000202>