Bug 153543 - [periodic] [patch] Allow periodic to read periodic.conf from /usr/local/etc/
Summary: [periodic] [patch] Allow periodic to read periodic.conf from /usr/local/etc/
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: Unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2010-12-30 12:50 UTC by Sean McAfee
Modified: 2018-01-03 05:13 UTC (History)
0 users

See Also:

file.diff (434 bytes, patch)
2010-12-30 12:50 UTC, Sean McAfee
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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