On Mon, Apr 10, 2023, at 6:28 PM, Heppler, J. Scott wrote:
> On a new amd64 install w/ install73.img there was a shutdown message
> about kernel relinking failing.
>
>
> A manual sha256 -h /var/db/KERNEL.SHA256 /bsd also failed - no such
> file.
>
> My /var/db had kernel.SHA256 but no KERNEL.SHA256.
>
> I'm not the only one:
>
> https://daemonforums.org/showthread.php?t=12389
>
> My fix was to cp kernel.SHA256 KERNEL.SHA256 and run
> sha256 -h /var/db/KERNEL.SHA256 /bsd
>
> My other machine was running an up-to-date current and /var/db is also
> populated w/ kernel.SHA256.

If you look near the top of /usr/libexec/reorder_kernel , you will see the file 
that is used is /var/db/kernel.SHA256 . I don't know where any of the folks 
posting got the idea to use a file in all uppercase, but in reading 
reorder_kernel ,  I don't see how that would work or be relevant in any way.

Brian

Reply via email to