Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 27 |
Nodes: | 6 (0 / 6) |
Uptime: | 38:44:32 |
Calls: | 631 |
Calls today: | 2 |
Files: | 1,187 |
D/L today: |
23 files (29,781K bytes) |
Messages: | 174,060 |
On 17 Sep 2025, at 15:17, J.R. Oldroyd <fbsd@opal.com> wrote:Do you happen to have any local modifications to /etc/defaults/periodic.conf? rCo
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.
Commit c8b89c11a1181e900acb638cfde7a55e92553175 removes the initializationThe 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
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.
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). TheVery interesting... the patch of the _localbase setting in /etc/defaults/periodic.conf had not been applied.
former reads the latter just a few lines below where it previously used
to initialize _localbase. Did you forget to run etcupdate?
DES