#
493908c4 |
| 09-Apr-2024 |
Lexi Winter <lexi@le-fay.org> |
periodic/daily/801.trim-zfs: Add a daily zfs trim script
As mentioned in zpoolprops(7), on some SSDs, it may not be desirable to use ZFS autotrim because a large number of trim requests can degrade
periodic/daily/801.trim-zfs: Add a daily zfs trim script
As mentioned in zpoolprops(7), on some SSDs, it may not be desirable to use ZFS autotrim because a large number of trim requests can degrade disk performance; instead, the pool should be manually trimmed at regular intervals.
Add a new daily periodic script for this purpose, 801.trim-zfs. If enabled (daily_trim_zfs_enable=YES; the default is NO), it will run a 'zpool trim' operation on all online pools, or on the pools listed in 'daily_trim_zfs_pools'.
The trim is not started if the pool is degraded (which matches the behaviour of the existing 800.scrub-zfs script) or if a trim is already running on that pool. Having autotrim enabled does not inhibit the periodic trim; it's sometimes desirable to run periodic trims even with autotrim enabled, because autotrim can elide trims for very small regions.
PR: 275965 MFC after: 1 week Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/956
show more ...
|
Revision tags: release/13.3.0 |
|
#
e2f6bafc |
| 24-Nov-2023 |
Michael Osipov <michaelo@FreeBSD.org> |
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 unrelate
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
show more ...
|
#
15e35d05 |
| 24-Nov-2023 |
Michael Osipov <michaelo@FreeBSD.org> |
periodic: Make daily diff(1) flags configurable with daily_diff_flags
PR: 270266 Approved by: jrm (mentor), karels MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.or
periodic: Make daily diff(1) flags configurable with daily_diff_flags
PR: 270266 Approved by: jrm (mentor), karels MFC after: 1 month Relnotes: yes Differential Revision: https://reviews.freebsd.org/D42900
show more ...
|
#
3aa71ea7 |
| 24-Nov-2023 |
Michael Osipov <michaelo@FreeBSD.org> |
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-
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
show more ...
|
Revision tags: release/14.0.0 |
|
#
fa9896e0 |
| 16-Aug-2023 |
Warner Losh <imp@FreeBSD.org> |
Remove $FreeBSD$: two-line nroff pattern
Remove /^\.\\"\n\.\\"\s*\$FreeBSD\$$\n/
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0 |
|
#
0784121c |
| 09-Mar-2022 |
Matteo Riondato <matteo@FreeBSD.org> |
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)
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
show more ...
|
#
901c52f1 |
| 08-Mar-2022 |
Nils Johannsen <n.johannsen@beckhoff.com> |
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: 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
show more ...
|
Revision tags: release/12.3.0 |
|
#
774bb1c2 |
| 02-Jun-2021 |
Ceri Davies <ceri@FreeBSD.org> |
periodic: add support for .xz and .zcat compressed logs
Also improve temporary file usage in 200.accounting, add an xref to zstd(1) to newsyslog.conf.5, and clarify in periodic.conf that "daily acco
periodic: add support for .xz and .zcat compressed logs
Also improve temporary file usage in 200.accounting, add an xref to zstd(1) to newsyslog.conf.5, and clarify in periodic.conf that "daily accounting" means process accounting and "monthly accounting" is login accounting.
PR: 253868 Reviewed by: allanjude Approved by: blackend (mentor) Differential Revision: https://reviews.freebsd.org/D29267
show more ...
|
Revision tags: release/13.0.0 |
|
#
3701068b |
| 07-Nov-2020 |
Robert Wing <rew@FreeBSD.org> |
Add a periodic script to backup output generated from `gmirror list`.
Disabled by default.
PR: 86388 Submitted by: Miroslav Lachman <000.fbsd@quip.cz> Reviewed by: allanjude, gbe A
Add a periodic script to backup output generated from `gmirror list`.
Disabled by default.
PR: 86388 Submitted by: Miroslav Lachman <000.fbsd@quip.cz> Reviewed by: allanjude, gbe Approved by: allanjude (mentor) MFC after: 4 weeks Event: July 2020 Bugathon Differential Revision: https://reviews.freebsd.org/D25631
show more ...
|
#
eefe831e |
| 06-Nov-2020 |
Robert Wing <rew@FreeBSD.org> |
Add a periodic script to backup output generated from `zfs list`, `zfs get`, `zpool list`, and `zpool get` commands.
Disabled by default.
PR: 86388 Submitted by: Miroslav Lachman <000
Add a periodic script to backup output generated from `zfs list`, `zfs get`, `zpool list`, and `zpool get` commands.
Disabled by default.
PR: 86388 Submitted by: Miroslav Lachman <000.fbsd@quip.cz> Reviewed by: allanjude, 0mp Approved by: allanjude (mentor) MFC after: 4 weeks Event: July 2020 Bugathon Differential Revision: https://reviews.freebsd.org/D25638
show more ...
|
Revision tags: release/12.2.0 |
|
#
5be4c726 |
| 10-Oct-2020 |
Gordon Bergling <gbe@FreeBSD.org> |
man5: Fix a few typos spotted by igor
- fstab(5): conjuction -> conjunction - mount.conf(5): repeated 'the' - periodic.conf(5): Partion -> Partition
MFC after: 1 week
|
#
37d72a91 |
| 09-Sep-2020 |
Robert Wing <rew@FreeBSD.org> |
periodic.conf(5): don't truncate interface names reported by 420.status-network.
The daily periodic script, 420.status-network uses netstat(1) to report interface status. By default, netstat(1) trun
periodic.conf(5): don't truncate interface names reported by 420.status-network.
The daily periodic script, 420.status-network uses netstat(1) to report interface status. By default, netstat(1) truncates interface names.
Add the '-W' flag (avoid truncating interface names) as the default for 'daily_status_network_netstat_flags' in periodic.conf(5).
The default 420.status-network command is now 'netstat -i -d -W -n'.
PR: 163572 Reported by: kes-kes@yandex.ru Reviewed by: allanjude (mentor) bcr (manpages) Approved by: allanjude (mentor) MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D26023
show more ...
|
#
cdfea68b |
| 12-Jul-2020 |
Allan Jude <allanjude@FreeBSD.org> |
periodic.conf: correct capitailization in the middle of a sentence
Reported by: yuripv Event: July 2020 Bugathon
|
#
ce2fe5b1 |
| 11-Jul-2020 |
Allan Jude <allanjude@FreeBSD.org> |
Add a periodic script to backup the partition table and boot code
Optionally, alert you if the contents change from the previous backup
PR: 86388 Submitted by: Rob Fairbanks <rob.fx907@gmail.com>,
Add a periodic script to backup the partition table and boot code
Optionally, alert you if the contents change from the previous backup
PR: 86388 Submitted by: Rob Fairbanks <rob.fx907@gmail.com>, Miroslav Lachman <000.fbsd@quip.cz> (Original Version) MFC after: 4 weeks Relnotes: yes Sponsored by: Klara Inc. Event: July 2020 Bugathon Differential Revision: https://reviews.freebsd.org/D25628
show more ...
|
#
4083cbbf |
| 16-Jun-2020 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Fix typo in the documentation about the daily ntpd status
PR: 245679 Submitted by: Taylor Stearns <t@tstearns.com> MFC after: 3 days
|
Revision tags: release/11.4.0 |
|
#
fd1efedc |
| 03-Mar-2020 |
Conrad Meyer <cem@FreeBSD.org> |
Add extremely useful calendar(1) application to FreeBSD
It does extremely useful things like execute sendmail and spew dubiously accurate factoids.
From the feedback, it seems like it is an essenti
Add extremely useful calendar(1) application to FreeBSD
It does extremely useful things like execute sendmail and spew dubiously accurate factoids.
From the feedback, it seems like it is an essential utility in a modern unix and not at all a useless bikeshed. How do those Linux people live without it? Reverts r358561.
show more ...
|
#
3c565de3 |
| 03-Mar-2020 |
Conrad Meyer <cem@FreeBSD.org> |
Fix typo in r278616
FreeBSD isn't an encyclopedia.
|
Revision tags: release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0 |
|
#
2045d4eb |
| 08-Mar-2018 |
Eitan Adler <eadler@FreeBSD.org> |
Chase rename of rwho script in r290252
The script and associated variable was changed in r290252. Now just chase it.
MFC With: r290252 Reported by: Aaron LI <aly@aaronly.me>
|
Revision tags: release/10.4.0 |
|
#
8fcbcc2d |
| 16-Sep-2017 |
Enji Cooper <ngie@FreeBSD.org> |
MFhead@r323635
|
#
b754c279 |
| 13-Sep-2017 |
Navdeep Parhar <np@FreeBSD.org> |
MFH @ r323558.
|
#
4572fb3f |
| 13-Sep-2017 |
Gordon Tetlow <gordon@FreeBSD.org> |
Deorbit catman. The tradeoff of disk for performance has long since tipped in favor of just rendering the manpage instead of relying on pre-formatted catpages. Note, this does not impede the ability
Deorbit catman. The tradeoff of disk for performance has long since tipped in favor of just rendering the manpage instead of relying on pre-formatted catpages. Note, this does not impede the ability to use existing catpages, it just removes the utility to generate them.
Reviewed by: imp, allanjude Approved by: emaste (mentor) Differential Revision: https://reviews.freebsd.org/D12317
show more ...
|
Revision tags: release/11.1.0 |
|
#
7b2d87d0 |
| 15-Apr-2017 |
Alan Somers <asomers@FreeBSD.org> |
Add 410.status-mfi, a periodic script for mfi(4) arrays
PR: 176049 Submitted by: doconnor@gsoft.com.au Reviewed by: scottl, Larry Rosenman <ler@lerctr.org> MFC after: 3 weeks Relnotes: yes
|
#
a07ecaa3 |
| 01-Apr-2017 |
Alan Somers <asomers@FreeBSD.org> |
Fix man page typo from r316342
Reported by: rgrimes MFC after: 20 days X-MFC-With: 316342
|
#
86571b9c |
| 01-Apr-2017 |
Alan Somers <asomers@FreeBSD.org> |
Consolidate random sleeps in periodic scripts
Multiple periodic scripts sleep for a random amount of time in order to mitigate the thundering herd problem. This is bad, because the sum of multiple u
Consolidate random sleeps in periodic scripts
Multiple periodic scripts sleep for a random amount of time in order to mitigate the thundering herd problem. This is bad, because the sum of multiple uniformly distributed random variables approaches a normal distribution, so the problem isn't mitigated as effectively as it would be with a single sleep.
This change creates a single configurable anticongestion sleep. periodic will only sleep if at least one script requires it, and it will never sleep more than once per invocation. It also won't sleep if periodic was run interactively, fixing an unrelated longstanding bug.
PR: 217055 PR: 210188 Reviewed by: cy MFC after: 3 weeks Differential Revision: https://reviews.freebsd.org/D10211
show more ...
|
Revision tags: release/11.0.1, release/11.0.0 |
|
#
d6084013 |
| 05-Apr-2016 |
Glen Barber <gjb@FreeBSD.org> |
MFH
Sponsored by: The FreeBSD Foundation
|