Re: 15.0-ALPHA1: _localbase not set in /usr/sbin/periodic

From: J.R. Oldroyd <fbsd_at_opal.com>
Date: Wed, 17 Sep 2025 18:58:56 UTC
On Wed, 17 Sep 2025 18:55:43 +0200 Dag-Erling Smørgrav <des@FreeBSD.org> wrote:
>
> The change in question is effectively a nop.  It does not remove the
> initialization of _localbase as you claim; it moves it from one place
> (/usr/sbin/periodic) to another (/etc/defaults/periodic.conf).  The
> former reads the latter just a few lines below where it previously used
> to initialize _localbase.  Did you forget to run etcupdate?
> 
> DES

Very interesting... the patch of the _localbase setting in
/etc/defaults/periodic.conf had not been applied.

etcupdate was being run but it wasn't doing much.  Turns out that
/var/db/etcupdate/current/ on that system was empty save for small
number of files/dirs.  How everything else there got removed, I have
no idea!

New etcupdate extract run now and diff applied which has added the
patch to /etc/defaults/periodic.conf.

Thanks,
	-jr