Bug 153543

Summary: [periodic] [patch] Allow periodic to read periodic.conf from /usr/local/etc/
Product: Base System Reporter: Sean McAfee <smcafee>
Component: confAssignee: freebsd-bugs mailing list <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: unspecified   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Sean McAfee 2010-12-30 12:50:08 UTC
In an effort to simplify our configurations, we tried moving our periodic.conf (which controls a few local periodic scripts installed to /usr/local/etc/periodic/) to /usr/local/etc/, only to find that the only overrides listed in /etc/defaults/periodic.conf are /etc/periodic.conf and /etc/periodic.conf.local.

Since locally installed periodic scripts make their way into /usr/local/etc/periodic (instead of /etc/periodic), it makes sense to have the configuration live in /usr/local/etc/ as well.

This seems to be more of an oversight (or holdover from OpenBSD ported code), than a deliberate decision.

Fix: Apply the attached patch (done against 8.2-RC1).

Patch attached with submission follows:
How-To-Repeat: Attempt to install a /usr/local/etc/periodic.conf that controls which scripts are run.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:59:27 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped