net/wireguard-tools: Add possibility to configure keys in rc script
Add possibility to ingest WireGuard keys from files using the rc script.
It basically adds two more options: "wireguard_<iface>_key" and
"wireguard_<iface>_psk". Both are optional.
PR: 291997
x86 lapic: Dump LVTs from the ddb show lapic command
Add description for each LVT element, use it in show lapic dump.
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
mdmfs: Fix soft updates logic
Now that newfs(8) has a command-line argument to disable soft updates,
use that instead of running tunefs(8) after the fact to turn them off.
MFC after: 1 week
Sponsored by: Klara, Inc.
Sponsored by: NetApp, Inc.
Reviewed by: mckusick, imp
Differential Revision: https://reviews.freebsd.org/D54783
net/rsync: Reinstate rrsync by flavorizing
The previous update removed the rrsync script from binary packages built
with the default options. This replaces the PYTHON option with a python
flavor so there is a package available that contains rrsync.
PR: 286073
Reported by: Dan Langille <dvl at freebsd.org>
devel/onetbb: Fix more tests
Fix/improve the following tests (see patches for details):
29 - test_resumable_tasks (SEGFAULT)
63 - test_hw_concurrency (ILLEGAL)
66 - test_global_control (Subprocess aborted)
67 - test_task (SEGFAULT)
74 - test_tbb_header (Failed)
105 - conformance_resumable_tasks (SEGFAULT)
131 - test_malloc_compliance (Subprocess aborted)
This leads to a single test still failing:
63 - test_hw_concurrency (Subprocess aborted)
because get_cpuset_indices() is not working on FreeBSD.
PR: 292088
Reported by: diizzy
syslogd/tests: Fix flakiness in forwarding tests
syslogd_start() waits for the local log socket to appear before
returning, to ensure that the daemon is ready to handle log messages.
Some tests start two daemons, so by default the socket already exists
when the second daemon is started, so syslogd_start() returns early.
The test subsequently sends a message to this second daemon, which
sometimes isn't ready.
Define a separate log socket for the second daemon. Add a check to
syslogd_start() to help catch this type of bug.
Reviewed by: jlduran
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D54800
syslogd/tests: Address races
I occasionally see failures in the syslogd test suite. The problem is
that the tests are racy: they send a message using logger(1), then
immediately check whether the message was logged to a log file. If the
syslogd instance under test doesn't get a chance to run before the
second step, the test fails.
This change reworks things to avoid the race while minimizing the amount
of time sleeping.
1) Each test uses a single logfile, so have them use a new common
variable, SYSLOGD_LOGFILE, instead of something test-specific.
2) In syslogd_start(), if the configuration references SYSLOGD_LOGFILE,
wait for it to be created by syslogd before returning.
3) Add a helper syslogd_check_log(), to check for a given log entry in
the last line of SYSLOGD_LOGFILE, instead of using atf_check
directly.
4) In syslogd_check_log(), poll the logfile until the desired log entry
appears, or the test times out.
[8 lines not shown]
syslogd/tests: Use a helper function to log from within a jail
This is just for consistency with all other logger(1) invocations, which
happen from the syslogd_log() function.
No functional change intended.
Reviewed by: jlduran
MFC after: 2 weeks
Differential Revision: https://reviews.freebsd.org/D54778