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

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Wed, 17 Sep 2025 13:26:26 UTC
Hi,

> On 17 Sep 2025, at 15:17, J.R. Oldroyd <fbsd@opal.com> wrote:
> 
> Commit c8b89c11a1181e900acb638cfde7a55e92553175 removes the initialization
> of $_localbase in /usr/sbin/periodic.
> 
> This causes $dirlist to be set to:
> " /etc/periodic /etc/periodic"
> and that causes all scripts in /etc/periodic to be executed twice per
> security run (the security run emails show everything happening twice).
> $dirlist should be:
> " /etc/periodic /usr/local/etc/periodic"
> 
> Need to partially revert that commit to re-add the initialization of
> $_localbase.

Do you happen to have any local modifications to /etc/defaults/periodic.conf?


—
Juraj Lutter
otis@FreeBSD.org