[Bug 282614] ${LOCALBASE}/etc/periodic.conf is ignored

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 10 Nov 2024 17:04:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282614

--- Comment #5 from Helge Oldach <freebsd@oldach.net> ---
(In reply to Mark Johnston from comment #4)
I merely wanted to point out the difference in logic: rc(8) reads _localbase
from sysctl while defaults/rc.conf provides a default for _localbase in case
it's still undefined. That is different from periodic(8), which reads
_localbase from sysctl *and* provides a default for _localbase, while
defaults/periodic.conf doesn't touch _localbase at all.

That has impact as how _localbase is seen in sub-shells using source_rc_confs
resp. source_periodic_confs.

-- 
You are receiving this mail because:
You are the assignee for the bug.