Commit Graph
75200 Commits
Author SHA1 Message Date
James Coglan 54ea4112c1 resolved: tests for dns_resource_record_equal(); DNAME records 2024-07-23 12:44:35 +01:00
James Coglan b6e12ea7a4 resolved: tests for dns_resource_record_equal(); MX records 2024-07-23 12:44:35 +01:00
James Coglan 4c2d48ef72 resolved: tests for dns_resource_record_equal(); HINFO records 2024-07-23 12:44:35 +01:00
James Coglan 392dd81098 resolved: tests for dns_resource_record_equal(); PTR records 2024-07-23 12:44:35 +01:00
James Coglan dd470cd0f8 resolved: tests for dns_resource_record_equal(); SOA records 2024-07-23 12:44:35 +01:00
James Coglan 55b18acf51 resolved: tests for dns_resource_record_equal(); CNAME records 2024-07-23 12:44:35 +01:00
James Coglan 3f4a63c6d3 resolved: tests for dns_resource_record_equal(); NS records 2024-07-23 12:44:35 +01:00
James Coglan b914cda4a9 resolved: tests for dns_resource_record_equal(); A and AAAA records 2024-07-23 12:44:35 +01:00
James Coglan 60ebacc5d4 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.
2024-07-23 12:44:35 +01:00
James Coglan 43e32a2081 resolved: tests for dns_resource_record_new_address(), dns_resource_record_new_reverse() 2024-07-23 12:44:35 +01:00
James Coglan 6104ba9d42 resolved: tests for dns_resource_key_reduce() 2024-07-23 12:44:35 +01:00
James Coglan 5982caccd7 resolved: tests for dns_resource_key_to_string() 2024-07-23 12:44:35 +01:00
James Coglan 25e627704e resolved: tests for dns_resource_key_match_cname_or_dname(), dns_resource_key_match_soa() 2024-07-23 12:44:35 +01:00
James Coglan e3970f6227 resolved: tests for dns_resource_key_equal() and dns_resource_key_match_rr() 2024-07-23 12:44:35 +01:00
James Coglan f1cc0c3a1d resolved: tests for dns_resource_key_is_{address, dnssd_ptr, dnssd_two_label_ptr} 2024-07-23 12:44:35 +01:00
James Coglan d2f786d824 resolved: tests for dns_resource_key_new_append_suffix() 2024-07-23 12:44:35 +01:00
James Coglan 123a99a06b resolved: tests for dns_resource_key_new() and dns_resource_key_new_redirect() 2024-07-23 12:44:35 +01:00
James Coglan 0a2ec21bd9 resolved: test for DNS_RESOURCE_RECORD_RDATA() 2024-07-23 12:44:34 +01:00
Luca Boccassi 99f1646540 Merge pull request #33524 from neighbourhoodie/tests/dns-packet
Tests for DNS packet parsing/serialising
2024-07-23 10:39:29 +01:00
Luca Boccassi ed86c1bf5f Merge pull request #33804 from keszybz/assorted-cleanups
Assorted cleanups
2024-07-23 10:38:08 +01:00
Luca Boccassi d47cd4d347 Merge pull request #33791 from YHNdnzj/sd-notify-pidref
core: pin notify sender through pidfd (potentially SCM_PIDFD) plus various cleanups
2024-07-23 10:36:57 +01:00
Daan De Meyer 076c69360f Merge pull request #33814 from AnoukCeyssens/daemon
test: use new assertion macros more
2024-07-23 07:23:55 +02:00
Anouk Ceyssens 32ef5f305f fix compilation errors 2024-07-22 23:57:00 +02:00
Anouk Ceyssens 364a0ba2d4 test-clock: use new assertion macros 2024-07-22 23:41:00 +02:00
Anouk Ceyssens a923ca6945 test-dev-setup: use new assertion macros 2024-07-22 23:40:21 +02:00
Anouk Ceyssens 5bc7ab7086 test-date: use new assertion macros 2024-07-22 23:33:40 +02:00
Anouk Ceyssens e07d3a917a test-daemon: use new assertion macros 2024-07-22 23:27:52 +02:00
Zbigniew Jędrzejewski-Szmek d202ea5754 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.
2024-07-22 12:14:23 +01:00
Luca Boccassi 9547b25ce8 Merge pull request #33597 from keszybz/fetch-distro
Extend the distro fetching script to check the repository out
2024-07-22 11:46:43 +01:00
Steve Traylen 8af38e5b04 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 %.
2024-07-22 11:39:33 +01:00
Franck Bui 8c28dd2442 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.
2024-07-22 11:29:08 +01:00
Daan De Meyer 944faf6598 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.
2024-07-22 12:04:40 +02:00
James Coglan ce9b6819d6 resolved: tests for dns_packet_dup() 2024-07-22 10:48:52 +01:00
Zbigniew Jędrzejewski-Szmek df5b65e15d shared/exec-util: add macro to autoinsert sentinel for fork_agent() 2024-07-22 11:48:26 +02:00
Zbigniew Jędrzejewski-Szmek 52031044bf repart: use new style for pointers in function signatures 2024-07-22 11:48:26 +02:00
Zbigniew Jędrzejewski-Szmek 262fa6864b selinux-util: add missing char in comment 2024-07-22 11:48:26 +02:00
James Coglan d6f1f962fe resolved: tests for dns_packet_patch_max_udp_size() 2024-07-22 10:47:59 +01:00
James Coglan b81b8faa43 resolved: tests for dns_packet_append_answer(); LOC records 2024-07-22 10:47:25 +01:00
James Coglan 346b0d3b18 resolved: tests for dns_packet_append_answer(); TXT records 2024-07-22 10:46:40 +01:00
James Coglan 053ec2c5a2 resolved: tests for dns_packet_append_answer(); NAPTR records 2024-07-22 10:45:34 +01:00
James Coglan 3c7ede7b88 resolved: tests for dns_packet_append_answer(); SVCB and HTTPS records 2024-07-22 10:44:02 +01:00
Zbigniew Jędrzejewski-Szmek 1c85d56349 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.
2024-07-22 11:38:08 +02:00
Zbigniew Jędrzejewski-Szmek 8e84e15445 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.
2024-07-22 11:38:08 +02:00
Zbigniew Jędrzejewski-Szmek 82c459f910 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.
2024-07-22 11:38:08 +02:00
James Coglan 6ff5ca8e09 resolved: tests for dns_packet_append_answer(); HINFO records 2024-07-22 10:37:44 +01:00
James Coglan 945a75c88c resolved: tests for dns_packet_append_answer(); RRSIG records 2024-07-22 10:36:56 +01:00
Collin L 733518b413 zsh/_networkctl: remove duplicated argument for completion (#31926)
It is unnecessary, which will mess the completion.
2024-07-22 10:36:47 +01:00
James Coglan 1f66bd238f resolved: tests for dns_packet_append_answer(); SRV records 2024-07-22 10:35:01 +01:00
James Coglan bcd218151f resolved: tests for dns_packet_append_answer(); NS, CNAME, PTR and MX records 2024-07-22 10:34:11 +01:00
James Coglan 1516ebfc02 resolved: tests for dns_packet_append_answer(); single A record 2024-07-22 10:31:11 +01:00