Bug 253868 - Various periodic(8) fixes
Summary: Various periodic(8) fixes
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: bin (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2021-02-26 10:28 UTC by Ceri Davies
Modified: 2021-03-15 09:54 UTC (History)
1 user (show)

See Also:

Patch to address issues described. (4.78 KB, patch)
2021-02-26 10:28 UTC, Ceri Davies
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ceri Davies 2021-02-26 10:28:12 UTC
Created attachment 222842 [details]
Patch to address issues described.

1) /etc/periodic has special cases for zcat and bzcat,
 but not for zstd and xz which newsyslog also supports.

2) newsyslog.conf manpage does not have a xref for zstd(1).

3) usr.sbin/periodic/etc/monthly/200.accounting does not use temporary
    files appropriately.

4) periodic.conf(5) refers to "daily accounting" and
    "monthly accounting" withouth being clear that "daily"
    means process accounting and "monthly" is login accounting.
Comment 1 Ceri Davies 2021-03-15 09:49:11 UTC