Commit Graph
75293 Commits
Author SHA1 Message Date
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
James Coglan 8c57700b6b resolved: tests for link_allocate_scopes(): LLMNR, MDNS, IPv4/6 2024-07-22 13:29:21 +01:00
James Coglan e2af5073aa resolved: refactor env setup for link_allocate_scopes() tests 2024-07-22 13:27:49 +01:00
James Coglan e204b3711e resolved: basic tests for link_allocate_scopes() 2024-07-22 13:20:14 +01:00
James Coglan 29211c350e resolved: tests for link_find_address() 2024-07-22 13:18:44 +01:00
James Coglan 94dd2bab7c resolved: tests for link_relevant() 2024-07-22 13:17:54 +01:00
James Coglan 83ca174b73 resolved: tests for link_new(), link_process_rtnl() 2024-07-22 13:17:08 +01: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
James Coglan 2927f43d2b resolved: tests for dns_packet_truncate_opt() 2024-07-22 10:30:31 +01:00
James Coglan b6899784b5 resolved: tests for dns_packet_append_opt() 2024-07-22 10:29:51 +01:00
James Coglan 1ac8f468b6 resolved: tests for dns_packet_append_key() domain name compression 2024-07-22 10:29:13 +01:00
James Coglan fc838bd42a resolved: tests for basic usage of dns_packet_append_key() 2024-07-22 10:27:58 +01:00
James Coglan 6bfbacc9b4 resolved: tests for dns_packet_set_flags() 2024-07-22 10:27:00 +01:00
Daan De Meyer 6d9d14e516 Merge pull request #33802 from DaanDeMeyer/packages
mkosi: Various packaging improvements
2024-07-22 11:23:22 +02:00
James Coglan ca93c4fe75 resolved: tests for DNS parameter formatters 2024-07-22 10:21:05 +01:00