Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 16:10:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282614] ${LOCALBASE}/etc/periodic.conf is ignored
Message-ID:  <bug-282614-227-T6lgBmML2x@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282614-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282614-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282614

--- Comment #3 from Helge Oldach <freebsd@oldach.net> ---
Simple fix is to prepend "export" in /usr/sbin/periodic on this line:

_localbase=3D`/sbin/sysctl -n user.localbase 2> /dev/null`

However it smells like it's more adequate to follow the _localbase logic
implemented by rc(8), which is defaulting _localbase in defaults/rc.conf.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282614-227-T6lgBmML2x>