]>
git.ipfire.org Git - thirdparty/systemd.git/log
James Coglan [Fri, 24 May 2024 14:22:47 +0000 (15:22 +0100)]
resolved: tests for dns_answer_find_soa()
James Coglan [Fri, 24 May 2024 13:52:41 +0000 (14:52 +0100)]
resolved: tests for dns_answer_add(), dns_answer_match_key()
Luca Boccassi [Tue, 23 Jul 2024 12:10:01 +0000 (13:10 +0100)]
Merge pull request #33526 from neighbourhoodie/tests/dns-question
James Coglan [Fri, 31 May 2024 10:18:56 +0000 (11:18 +0100)]
resolved: tests for dns_question_merge()
James Coglan [Fri, 31 May 2024 10:08:14 +0000 (11:08 +0100)]
resolved: tests for dns_question_first_name()
James Coglan [Fri, 31 May 2024 09:55:34 +0000 (10:55 +0100)]
resolved: tests for dns_question_dump()
James Coglan [Fri, 31 May 2024 09:29:44 +0000 (10:29 +0100)]
resolved: tests for dns_question_cname_redirect()
James Coglan [Fri, 31 May 2024 08:47:11 +0000 (09:47 +0100)]
resolved: tests for dns_question_is_equal()
James Coglan [Fri, 31 May 2024 08:37:00 +0000 (09:37 +0100)]
resolved: tests for dns_question_is_valid_for_query()
James Coglan [Thu, 30 May 2024 17:46:12 +0000 (18:46 +0100)]
resolved: tests for dns_question_matches_cname_or_dname()
James Coglan [Thu, 30 May 2024 17:38:57 +0000 (18:38 +0100)]
resolved: tests for dns_question_matches_rr()
James Coglan [Thu, 30 May 2024 17:11:10 +0000 (18:11 +0100)]
resolved: tests for dns_question_new_service()
James Coglan [Thu, 30 May 2024 16:37:54 +0000 (17:37 +0100)]
resolved: tests for dns_question_new_reverse()
James Coglan [Thu, 30 May 2024 16:22:30 +0000 (17:22 +0100)]
resolved: tests for dns_question_new_address()
James Coglan [Thu, 30 May 2024 15:55:34 +0000 (16:55 +0100)]
resolved: tests for dns_question_add()
Luca Boccassi [Tue, 23 Jul 2024 11:46:28 +0000 (12:46 +0100)]
Merge pull request #33525 from neighbourhoodie/tests/dns-rr
James Coglan [Wed, 12 Jun 2024 10:07:03 +0000 (11:07 +0100)]
resolved: tests for dns_resource_record_source(), dns_resource_record_is_synthetic(), dns_resource_record_signer(), dns_resource_record_is_signer()
James Coglan [Wed, 12 Jun 2024 09:50:05 +0000 (10:50 +0100)]
resolved: tests for dns_resource_record_to_wire_format()
Note this function does not produce compressed domain names in the RDATA
when serializing the RR.
James Coglan [Wed, 12 Jun 2024 09:24:25 +0000 (10:24 +0100)]
resolved: tests for dns_resource_record_to_string()
James Coglan [Wed, 29 May 2024 15:45:01 +0000 (16:45 +0100)]
resolved: tests for dns_resource_key_{to,from}_json()
This test doesn't check the generated JSON data in detail, it simply
tests that round-tripping an RR key through the JSON representation
preserves its data.
James Coglan [Wed, 29 May 2024 15:29:56 +0000 (16:29 +0100)]
resolved: tests for dns_resource_record_clamp_ttl()
James Coglan [Wed, 12 Jun 2024 17:47:55 +0000 (18:47 +0100)]
resolved: tests for dns_resource_record_equal(); LOC records
James Coglan [Wed, 12 Jun 2024 16:56:30 +0000 (17:56 +0100)]
resolved: tests for dns_resource_record_equal(); SVCB records
James Coglan [Wed, 12 Jun 2024 16:17:29 +0000 (17:17 +0100)]
resolved: tests for dns_resource_record_equal(); RRSIG records
James Coglan [Wed, 12 Jun 2024 16:03:11 +0000 (17:03 +0100)]
resolved: tests for dns_resource_record_equal(); NAPTR records
James Coglan [Wed, 12 Jun 2024 15:39:12 +0000 (16:39 +0100)]
resolved: tests for dns_resource_record_equal(); SRV records
James Coglan [Wed, 12 Jun 2024 15:38:11 +0000 (16:38 +0100)]
resolved: tests for dns_resource_record_equal(); TXT records
James Coglan [Wed, 12 Jun 2024 15:36:33 +0000 (16:36 +0100)]
resolved: tests for dns_resource_record_equal(); DNAME records
James Coglan [Wed, 12 Jun 2024 15:33:41 +0000 (16:33 +0100)]
resolved: tests for dns_resource_record_equal(); MX records
James Coglan [Wed, 12 Jun 2024 15:33:02 +0000 (16:33 +0100)]
resolved: tests for dns_resource_record_equal(); HINFO records
James Coglan [Wed, 12 Jun 2024 15:32:10 +0000 (16:32 +0100)]
resolved: tests for dns_resource_record_equal(); PTR records
James Coglan [Wed, 12 Jun 2024 15:31:24 +0000 (16:31 +0100)]
resolved: tests for dns_resource_record_equal(); SOA records
James Coglan [Wed, 12 Jun 2024 15:30:37 +0000 (16:30 +0100)]
resolved: tests for dns_resource_record_equal(); CNAME records
James Coglan [Wed, 12 Jun 2024 15:29:04 +0000 (16:29 +0100)]
resolved: tests for dns_resource_record_equal(); NS records
James Coglan [Wed, 12 Jun 2024 15:27:47 +0000 (16:27 +0100)]
resolved: tests for dns_resource_record_equal(); A and AAAA records
James Coglan [Wed, 12 Jun 2024 15:27:38 +0000 (16:27 +0100)]
resolved: tests for dns_resource_record_equal(); general cases
These tests cover comparisons between RR objects that are not class- or
type-specific, i.e. they don't check any of the RDATA fields.
James Coglan [Wed, 29 May 2024 13:20:15 +0000 (14:20 +0100)]
resolved: tests for dns_resource_record_new_address(), dns_resource_record_new_reverse()
James Coglan [Wed, 29 May 2024 12:51:31 +0000 (13:51 +0100)]
resolved: tests for dns_resource_key_reduce()
James Coglan [Wed, 29 May 2024 12:42:29 +0000 (13:42 +0100)]
resolved: tests for dns_resource_key_to_string()
James Coglan [Wed, 29 May 2024 12:24:17 +0000 (13:24 +0100)]
resolved: tests for dns_resource_key_match_cname_or_dname(), dns_resource_key_match_soa()
James Coglan [Wed, 29 May 2024 09:56:29 +0000 (10:56 +0100)]
resolved: tests for dns_resource_key_equal() and dns_resource_key_match_rr()
James Coglan [Wed, 29 May 2024 09:39:48 +0000 (10:39 +0100)]
resolved: tests for dns_resource_key_is_{address, dnssd_ptr, dnssd_two_label_ptr}
James Coglan [Wed, 29 May 2024 09:19:46 +0000 (10:19 +0100)]
resolved: tests for dns_resource_key_new_append_suffix()
James Coglan [Wed, 29 May 2024 08:53:31 +0000 (09:53 +0100)]
resolved: tests for dns_resource_key_new() and dns_resource_key_new_redirect()
James Coglan [Wed, 29 May 2024 08:20:08 +0000 (09:20 +0100)]
resolved: test for DNS_RESOURCE_RECORD_RDATA()
Luca Boccassi [Tue, 23 Jul 2024 09:39:29 +0000 (10:39 +0100)]
Merge pull request #33524 from neighbourhoodie/tests/dns-packet
Tests for DNS packet parsing/serialising
Luca Boccassi [Tue, 23 Jul 2024 09:38:08 +0000 (10:38 +0100)]
Merge pull request #33804 from keszybz/assorted-cleanups
Assorted cleanups
Luca Boccassi [Tue, 23 Jul 2024 09:36:57 +0000 (10:36 +0100)]
Merge pull request #33791 from YHNdnzj/sd-notify-pidref
core: pin notify sender through pidfd (potentially SCM_PIDFD) plus various cleanups
Daan De Meyer [Tue, 23 Jul 2024 05:23:55 +0000 (07:23 +0200)]
Merge pull request #33814 from AnoukCeyssens/daemon
test: use new assertion macros more
Anouk Ceyssens [Mon, 22 Jul 2024 21:57:00 +0000 (23:57 +0200)]
fix compilation errors
Anouk Ceyssens [Mon, 22 Jul 2024 20:43:59 +0000 (22:43 +0200)]
test-clock: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 21:40:21 +0000 (23:40 +0200)]
test-dev-setup: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 21:33:40 +0000 (23:33 +0200)]
test-date: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 21:27:52 +0000 (23:27 +0200)]
test-daemon: use new assertion macros
Zbigniew Jędrzejewski-Szmek [Sun, 14 Jul 2024 12:25:59 +0000 (14:25 +0200)]
man/systemd-repart: extend description and reword some sentences
The page was written when systemd-repart was primarily intended to be used on a
running system. But nowadays it's more often used to create images, so extend
that part of the description.
While at it, fix some whitespace issues and trim some overly complicated sentences.
Luca Boccassi [Mon, 22 Jul 2024 10:46:43 +0000 (11:46 +0100)]
Merge pull request #33597 from keszybz/fetch-distro
Extend the distro fetching script to check the repository out
Steve Traylen [Wed, 3 Jul 2024 12:19:08 +0000 (14:19 +0200)]
Document that MemorySwapMax supports % configuration
Certainly on systemd 252 at least a configuration of
```
MemorySwapMax=40%
```
is supported but this was missing from the man page.
Only MemoryMax was documented as supporting a %.
Franck Bui [Wed, 17 Jul 2024 09:02:03 +0000 (11:02 +0200)]
core: when switching root remove /run/systemd before executing the binary specified by init=
It's important if the binary specified by the init= boot option is not systemd
otherwise it confuses systemctl that incorrectly assumes that systemd is still
the init system due to the presence of /run/systemd/system.
Also some tools might also check the presence of /run/systemd/private to test
if systemd is running as pid1.
Daan De Meyer [Fri, 19 Jul 2024 11:05:11 +0000 (13:05 +0200)]
Make vcs-tag do something useful for non-developer mode as well
When building packages of arbitrary commits of systemd-stable,
distributors might want to include a git sha of the exact commit
they're on. Let's extend vcs-tag a little to make this possible.
If we're on a commit matching a tag, don't generate a git sha at all.
If we're not on a commit matching a tag, generate a vcs tag as usually.
However, if we're not in developer mode, don't append a '^' if the tree
is dirty to accomodate package builds applying various patches to the
tree which shouldn't be considered as "dirty" edits.
James Coglan [Tue, 11 Jun 2024 15:32:28 +0000 (16:32 +0100)]
resolved: tests for dns_packet_dup()
Zbigniew Jędrzejewski-Szmek [Mon, 22 Jul 2024 09:47:42 +0000 (11:47 +0200)]
shared/exec-util: add macro to autoinsert sentinel for fork_agent()
Zbigniew Jędrzejewski-Szmek [Sun, 14 Jul 2024 12:29:35 +0000 (14:29 +0200)]
repart: use new style for pointers in function signatures
Zbigniew Jędrzejewski-Szmek [Sun, 14 Jul 2024 12:02:20 +0000 (14:02 +0200)]
selinux-util: add missing char in comment
James Coglan [Tue, 11 Jun 2024 13:08:15 +0000 (14:08 +0100)]
resolved: tests for dns_packet_patch_max_udp_size()
James Coglan [Wed, 12 Jun 2024 17:47:04 +0000 (18:47 +0100)]
resolved: tests for dns_packet_append_answer(); LOC records
James Coglan [Wed, 12 Jun 2024 12:31:12 +0000 (13:31 +0100)]
resolved: tests for dns_packet_append_answer(); TXT records
James Coglan [Mon, 10 Jun 2024 16:45:58 +0000 (17:45 +0100)]
resolved: tests for dns_packet_append_answer(); NAPTR records
James Coglan [Mon, 10 Jun 2024 16:28:37 +0000 (17:28 +0100)]
resolved: tests for dns_packet_append_answer(); SVCB and HTTPS records
Zbigniew Jędrzejewski-Szmek [Wed, 3 Jul 2024 14:11:43 +0000 (16:11 +0200)]
tools/fetch-distro: switch to the target branch
We switch opensuse from "factory" to "devel". I had an old checkout that was
using the stale branch.
Zbigniew Jędrzejewski-Szmek [Wed, 3 Jul 2024 14:10:49 +0000 (16:10 +0200)]
tools/fetch-distro: only fetch the configured branch
We don't need the other branches. This mostly cuts down on the
noise in output. But add '-v' to show what we're fetching.
Zbigniew Jędrzejewski-Szmek [Wed, 3 Jul 2024 14:01:03 +0000 (16:01 +0200)]
tools/update-distro-hash: rename, fetch the repository if appropriate
Let's rename the tool to tools/fetch-distro. It's useful to be able to fetch
the distro directly. But when that functionality is added, the old name is
confusing.
Now --update/-u must be specified to update the commits.
--reference-if-able is used to speed up the clone of debian.
It saves about 75% of the download.
James Coglan [Mon, 10 Jun 2024 16:05:13 +0000 (17:05 +0100)]
resolved: tests for dns_packet_append_answer(); HINFO records
James Coglan [Mon, 10 Jun 2024 15:41:12 +0000 (16:41 +0100)]
resolved: tests for dns_packet_append_answer(); RRSIG records
Collin L [Mon, 22 Jul 2024 09:36:47 +0000 (17:36 +0800)]
zsh/_networkctl: remove duplicated argument for completion (#31926)
It is unnecessary, which will mess the completion.
James Coglan [Mon, 10 Jun 2024 15:21:40 +0000 (16:21 +0100)]
resolved: tests for dns_packet_append_answer(); SRV records
James Coglan [Mon, 10 Jun 2024 15:21:32 +0000 (16:21 +0100)]
resolved: tests for dns_packet_append_answer(); NS, CNAME, PTR and MX records
James Coglan [Mon, 10 Jun 2024 13:16:50 +0000 (14:16 +0100)]
resolved: tests for dns_packet_append_answer(); single A record
James Coglan [Mon, 10 Jun 2024 12:27:19 +0000 (13:27 +0100)]
resolved: tests for dns_packet_truncate_opt()
James Coglan [Mon, 10 Jun 2024 12:15:53 +0000 (13:15 +0100)]
resolved: tests for dns_packet_append_opt()
James Coglan [Mon, 10 Jun 2024 11:30:48 +0000 (12:30 +0100)]
resolved: tests for dns_packet_append_key() domain name compression
James Coglan [Mon, 10 Jun 2024 10:12:51 +0000 (11:12 +0100)]
resolved: tests for basic usage of dns_packet_append_key()
James Coglan [Mon, 10 Jun 2024 09:16:01 +0000 (10:16 +0100)]
resolved: tests for dns_packet_set_flags()
Daan De Meyer [Mon, 22 Jul 2024 09:23:22 +0000 (11:23 +0200)]
Merge pull request #33802 from DaanDeMeyer/packages
mkosi: Various packaging improvements
James Coglan [Tue, 11 Jun 2024 15:14:09 +0000 (16:14 +0100)]
resolved: tests for DNS parameter formatters
James Coglan [Tue, 11 Jun 2024 09:54:18 +0000 (10:54 +0100)]
resolved: tests for dns_packet_is_reply_for()
James Coglan [Mon, 10 Jun 2024 09:15:19 +0000 (10:15 +0100)]
resolved: tests for dns_packet_validate_{query,reply}()
James Coglan [Tue, 11 Jun 2024 14:48:30 +0000 (15:48 +0100)]
resolved: tests for dns_packet_has_nsid_request()
James Coglan [Tue, 11 Jun 2024 14:26:27 +0000 (15:26 +0100)]
resolved: tests for dns_packet_ede_rcode()
James Coglan [Tue, 11 Jun 2024 13:47:59 +0000 (14:47 +0100)]
resolved: tests for dns_ede_rcode_is_dnssec()
James Coglan [Tue, 11 Jun 2024 13:44:26 +0000 (14:44 +0100)]
resolved: tests for dns_packet_equal()
James Coglan [Wed, 12 Jun 2024 17:47:30 +0000 (18:47 +0100)]
resolved: tests for dns_packet_extract(); parsing LOC records
James Coglan [Wed, 12 Jun 2024 12:27:52 +0000 (13:27 +0100)]
resolved: tests for dns_packet_extract(); parsing TXT records
Mauri de Souza Meneguzzo [Tue, 25 Jun 2024 02:47:15 +0000 (23:47 -0300)]
shared: log error when execve fail
If there is an error with the execv call in fork_agent the
program exits without any meaningful log message. Log the
command and errno so the user gets more information about
the failure.
Fixes: #33418
Signed-off-by: Mauri de Souza Meneguzzo <mauri870@gmail.com>
James Coglan [Tue, 11 Jun 2024 10:57:36 +0000 (11:57 +0100)]
resolved: tests for dns_packet_extract(); parsing OPT records
These tests identify a couple of problems with OPT pseudo-RR parsing.
First, any TTL value with the high bit set is replaced with zero before
checking the record type. For most types this is correct, since TTLs
have the range of signed int32. But for OPT records where the TTL is
repurposed to hold the extended RCODE, EDNS version and flags, it means
that the high bit cannot be used in extended RCODEs. Any RCODE with the
high bit set will be read as zero.
Second, the DNS_PACKET_RCODE() function bit-shifts the extended RCODE by
24 places instead of 20, so that it ends up forming the lower 8 bits of
a 12-bit RCODE, instead of the upper 8 bits as intended.
We intend to fix these issues in other pull requests.
James Coglan [Tue, 11 Jun 2024 09:36:10 +0000 (10:36 +0100)]
resolved: tests for dns_packet_extract(); parsing NAPTR records
James Coglan [Tue, 11 Jun 2024 09:26:02 +0000 (10:26 +0100)]
resolved: tests for dns_packet_extract(); parsing HINFO records
James Coglan [Tue, 11 Jun 2024 08:32:24 +0000 (09:32 +0100)]
resolved: tests for dns_packet_extract(); parsing SVCB and HTTPS records
Luca Boccassi [Mon, 22 Jul 2024 09:06:16 +0000 (10:06 +0100)]
Merge pull request #33432 from gregorHerburger/add_IFLA_BR_FDB_MAX_LEARNED_support
network: bridge: add support for IFLA_BR_FDB_MAX_LEARNED
James Coglan [Fri, 7 Jun 2024 14:42:31 +0000 (15:42 +0100)]
resolved: tests for dns_packet_extract(); parsing RRSIG records
James Coglan [Fri, 7 Jun 2024 13:45:56 +0000 (14:45 +0100)]
resolved: tests for dns_packet_extract(); parsing SRV records