Re: freebsd-update: where does it get its target info?

From: Dag-Erling_Smørgrav <des_at_FreeBSD.org>
Date: Thu, 29 Feb 2024 12:03:32 UTC
paul beard <paulbeard@gmail.com> writes:
> I am seeing these messages from a freebsd-update cron job:
>
>     Fetching metadata signature for 12.4-RELEASE from update1.freebsd.org... done.
>
> but I am running 13.2-RELEASE-p10. If I run freebsd-update by hand, it seems to know what to do:
>
>     Fetching metadata signature for 13.2-RELEASE from update2.freebsd.org... done.
>
> my freebsd-update.conf file is untouched.  What is it looking at to
> pull 12.4?

It uses `uname -r`, which normally does `sysctl -n kern.osrelease` but
can be overridden by the UNAME_r environment variable.

DES
-- 
Dag-Erling Smørgrav - des@FreeBSD.org