periodic: Make daily diff(1) output as small is possible
Make, by default, daily diff(1) ignore whitespace changes and the unified output
a context of zero (0) lines. This reduces output of unrelated lines in e-mails
delivered to root.
PR: 270266
Approved by: jrm (mentor), karels
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D42762
periodic: Make security diff(1) output as small is possible
Make, by default, security diff(1) produce a unified output with a context of
zero (0) lines. This reduces output of unrelated lines in e-mails delivered
to root.
PR: 270266
Approved by: jrm (mentor), karels
MFC after: 1 month
Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D43071
periodic: Honor kern.localbase
Take kern.localbase into account with fallback to /usr/local and
also allow for LOCALBASE/etc/periodic.conf (similarly to what
many other utilities do).
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D40435
(cherry picked from commit e5d7100c09e03e66535eee69d7e454c01e4a9d28)
periodic: Honor kern.localbase
Take kern.localbase into account with fallback to /usr/local and
also allow for LOCALBASE/etc/periodic.conf (similarly to what
many other utilities do).
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D40435
MFC after: 2 weeks
pfdenied: support reporting on additional anchors
The security/520-pfdenied script only reports blocked packets from the
main ruleset or any blocklistd(8) anchor.
Add an option to periodic.conf(5) to make it possible to specify
additional anchors to report.
PR: 262446
Reviewed by: kp
periodic: remove obsolete news.expire
With the initial import of 386BSD 0.1 in 1993, the daily execution of
/etc/news.expire was introduced (see commit 1bf9d5d9518e).
In 1997, this was brought into periodic resulting in daily/330.news
(see commit 28dce04d1975). But as far as I see, /etc/news.expire has
never existed.
PR: 256238
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D30631
periodic: by default, skip 221.backup-gpart in jails
It can still be enabled as usual in /etc/periodic.conf
PR: 256253
Reported by: delphij
Submitted by: Miroslav Lachman <000.fbsd at quip.cz>
(cherry picked from commit fcf2227a557552e45646bbcf2422a98baab5c8a8)
Merge branch 'freebsd/13-stable/main' into hardened/13-stable/master
* freebsd/13-stable/main:
periodic: by default, skip 221.backup-gpart in jails
fusefs: ensure that FUSE ops' headers' unique values are actually unique
fusefs: also debug INIT operations in the test suite
fusefs: delete dead code
fusefs: support EVFILT_WRITE on /dev/fuse
fusefs: improve warnings about buggy FUSE servers
fusefs: delete dead code
vn_fullpath.9: update args after rev 364633
id: sanitize arguments better
periodic: by default, skip 221.backup-gpart in jails
It can still be enabled as usual in /etc/periodic.conf
PR: 256253
Reported by: delphij
Submitted by: Miroslav Lachman <000.fbsd at quip.cz>
(cherry picked from commit fcf2227a557552e45646bbcf2422a98baab5c8a8)
periodic: by default, skip 221.backup-gpart in jails
It can still be enabled as usual in /etc/periodic.conf
PR: 256253
Reported by: delphij
Submitted by: Miroslav Lachman <000.fbsd at quip.cz>
MFC after: 2 weeks
Merge branch 'freebsd/12-stable/master' into hardened/12-stable/master
* freebsd/12-stable/master:
MFC r363169 by allanjude: Actually install the new 221.backup-gpart periodic script
MFC r367436 and r367443 by rew:
MFC r366615: man5: Fix a few typos spotted by igor