]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
16 months agopath-util: trivial cleanup for find_executable_full()
Mike Yuan [Mon, 22 Jul 2024 20:17:05 +0000 (22:17 +0200)] 
path-util: trivial cleanup for find_executable_full()

16 months agocore: clean up Set/LoadCredential= parsers
Mike Yuan [Wed, 3 Jul 2024 18:49:34 +0000 (20:49 +0200)] 
core: clean up Set/LoadCredential= parsers

Make logging consistent, plus introduce helper function
for adding creds to ExecContext.set_credential too.

16 months agomkosi: Bump device timeout even more
Daan De Meyer [Tue, 23 Jul 2024 12:16:23 +0000 (14:16 +0200)] 
mkosi: Bump device timeout even more

I still manage to hit it in some cases so let's bump again.

16 months agoMerge pull request #33533 from neighbourhoodie/tests/dns-synthesize
Luca Boccassi [Tue, 23 Jul 2024 14:44:40 +0000 (15:44 +0100)] 
Merge pull request #33533 from neighbourhoodie/tests/dns-synthesize

16 months agoresolved: tests for dns_synthesize_family() and dns_synthesize_protocol()
James Coglan [Mon, 24 Jun 2024 13:43:18 +0000 (14:43 +0100)] 
resolved: tests for dns_synthesize_family() and dns_synthesize_protocol()

16 months agoresolved: tests for dns_synthesize_answer()
James Coglan [Mon, 24 Jun 2024 13:23:23 +0000 (14:23 +0100)] 
resolved: tests for dns_synthesize_answer()

16 months agosd-dhcp-server: persist hardware addresses in leases
Mary Strodl [Fri, 12 Jul 2024 13:38:05 +0000 (09:38 -0400)] 
sd-dhcp-server: persist hardware addresses in leases

16 months agoMerge pull request #33531 from neighbourhoodie/tests/dns-zone
Luca Boccassi [Tue, 23 Jul 2024 12:29:03 +0000 (13:29 +0100)] 
Merge pull request #33531 from neighbourhoodie/tests/dns-zone

16 months agoresolved: tests for dns_zone_lookup()
James Coglan [Wed, 5 Jun 2024 11:13:18 +0000 (12:13 +0100)] 
resolved: tests for dns_zone_lookup()

16 months agoresolved: tests for dns_zone_remove_rrs_by_key()
James Coglan [Fri, 31 May 2024 15:50:17 +0000 (16:50 +0100)] 
resolved: tests for dns_zone_remove_rrs_by_key()

16 months agoresolved: tests for dns_zone_remove_rr()
James Coglan [Fri, 31 May 2024 15:35:36 +0000 (16:35 +0100)] 
resolved: tests for dns_zone_remove_rr()

16 months agoresolved: tests for dns_zone_put()
James Coglan [Fri, 31 May 2024 14:42:18 +0000 (15:42 +0100)] 
resolved: tests for dns_zone_put()

16 months agoMerge pull request #33530 from neighbourhoodie/tests/dns-search-domain
Luca Boccassi [Tue, 23 Jul 2024 12:23:44 +0000 (13:23 +0100)] 
Merge pull request #33530 from neighbourhoodie/tests/dns-search-domain

16 months agoresolved: tests for dns_search_domain_find()
James Coglan [Fri, 31 May 2024 14:15:48 +0000 (15:15 +0100)] 
resolved: tests for dns_search_domain_find()

16 months agoresolved: tests for search domain marking and unlinking
James Coglan [Fri, 31 May 2024 14:11:53 +0000 (15:11 +0100)] 
resolved: tests for search domain marking and unlinking

16 months agoresolved: extract function for checking search domains
James Coglan [Fri, 31 May 2024 13:50:20 +0000 (14:50 +0100)] 
resolved: extract function for checking search domains

16 months agoresolved: tests for dns_search_domain_unlink()
James Coglan [Fri, 31 May 2024 13:37:01 +0000 (14:37 +0100)] 
resolved: tests for dns_search_domain_unlink()

16 months agoresolved: tests for dns_search_domain_new()
James Coglan [Fri, 31 May 2024 11:56:11 +0000 (12:56 +0100)] 
resolved: tests for dns_search_domain_new()

16 months agoMerge pull request #33529 from neighbourhoodie/tests/dns-link
Luca Boccassi [Tue, 23 Jul 2024 12:20:25 +0000 (13:20 +0100)] 
Merge pull request #33529 from neighbourhoodie/tests/dns-link

Tests for DNS Link functions

16 months agoMerge pull request #33528 from neighbourhoodie/tests/dns-answer
Luca Boccassi [Tue, 23 Jul 2024 12:15:16 +0000 (13:15 +0100)] 
Merge pull request #33528 from neighbourhoodie/tests/dns-answer

16 months agoresolved: tests for dns_answer_order_by_scope()
James Coglan [Tue, 28 May 2024 15:50:16 +0000 (16:50 +0100)] 
resolved: tests for dns_answer_order_by_scope()

16 months agoresolved: tests for dns_answer_has_dname_for_cname()
James Coglan [Tue, 28 May 2024 15:01:56 +0000 (16:01 +0100)] 
resolved: tests for dns_answer_has_dname_for_cname()

16 months agoresolved: tests for dns_answer_dump()
James Coglan [Tue, 28 May 2024 14:25:15 +0000 (15:25 +0100)] 
resolved: tests for dns_answer_dump()

16 months agoresolved: tests for dns_answer_{copy,move}_by_key()
James Coglan [Tue, 28 May 2024 13:44:58 +0000 (14:44 +0100)] 
resolved: tests for dns_answer_{copy,move}_by_key()

16 months agoresolved: tests for dns_answer_remove_by_answer_keys()
James Coglan [Tue, 28 May 2024 13:05:39 +0000 (14:05 +0100)] 
resolved: tests for dns_answer_remove_by_answer_keys()

16 months agoresolved: tests for dns_answer_remove_by_{key,rr}()
James Coglan [Fri, 24 May 2024 15:48:42 +0000 (16:48 +0100)] 
resolved: tests for dns_answer_remove_by_{key,rr}()

16 months agoresolved: tests for dns_answer_merge() and dns_answer_extend()
James Coglan [Fri, 24 May 2024 15:10:13 +0000 (16:10 +0100)] 
resolved: tests for dns_answer_merge() and dns_answer_extend()

16 months agoresolved: tests for dns_answer_find_soa()
James Coglan [Fri, 24 May 2024 14:22:47 +0000 (15:22 +0100)] 
resolved: tests for dns_answer_find_soa()

16 months agoresolved: tests for dns_answer_add(), dns_answer_match_key()
James Coglan [Fri, 24 May 2024 13:52:41 +0000 (14:52 +0100)] 
resolved: tests for dns_answer_add(), dns_answer_match_key()

16 months agoMerge pull request #33526 from neighbourhoodie/tests/dns-question
Luca Boccassi [Tue, 23 Jul 2024 12:10:01 +0000 (13:10 +0100)] 
Merge pull request #33526 from neighbourhoodie/tests/dns-question

16 months agoresolved: tests for dns_question_merge()
James Coglan [Fri, 31 May 2024 10:18:56 +0000 (11:18 +0100)] 
resolved: tests for dns_question_merge()

16 months agoresolved: tests for dns_question_first_name()
James Coglan [Fri, 31 May 2024 10:08:14 +0000 (11:08 +0100)] 
resolved: tests for dns_question_first_name()

16 months agoresolved: tests for dns_question_dump()
James Coglan [Fri, 31 May 2024 09:55:34 +0000 (10:55 +0100)] 
resolved: tests for dns_question_dump()

16 months agoresolved: tests for dns_question_cname_redirect()
James Coglan [Fri, 31 May 2024 09:29:44 +0000 (10:29 +0100)] 
resolved: tests for dns_question_cname_redirect()

16 months agoresolved: tests for dns_question_is_equal()
James Coglan [Fri, 31 May 2024 08:47:11 +0000 (09:47 +0100)] 
resolved: tests for dns_question_is_equal()

16 months agoresolved: tests for dns_question_is_valid_for_query()
James Coglan [Fri, 31 May 2024 08:37:00 +0000 (09:37 +0100)] 
resolved: tests for dns_question_is_valid_for_query()

16 months agoresolved: tests for dns_question_matches_cname_or_dname()
James Coglan [Thu, 30 May 2024 17:46:12 +0000 (18:46 +0100)] 
resolved: tests for dns_question_matches_cname_or_dname()

16 months agoresolved: tests for dns_question_matches_rr()
James Coglan [Thu, 30 May 2024 17:38:57 +0000 (18:38 +0100)] 
resolved: tests for dns_question_matches_rr()

16 months agoresolved: tests for dns_question_new_service()
James Coglan [Thu, 30 May 2024 17:11:10 +0000 (18:11 +0100)] 
resolved: tests for dns_question_new_service()

16 months agoresolved: tests for dns_question_new_reverse()
James Coglan [Thu, 30 May 2024 16:37:54 +0000 (17:37 +0100)] 
resolved: tests for dns_question_new_reverse()

16 months agoresolved: tests for dns_question_new_address()
James Coglan [Thu, 30 May 2024 16:22:30 +0000 (17:22 +0100)] 
resolved: tests for dns_question_new_address()

16 months agoresolved: tests for dns_question_add()
James Coglan [Thu, 30 May 2024 15:55:34 +0000 (16:55 +0100)] 
resolved: tests for dns_question_add()

16 months agoMerge pull request #33525 from neighbourhoodie/tests/dns-rr
Luca Boccassi [Tue, 23 Jul 2024 11:46:28 +0000 (12:46 +0100)] 
Merge pull request #33525 from neighbourhoodie/tests/dns-rr

16 months agoresolved: tests for dns_resource_record_source(), dns_resource_record_is_synthetic...
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()

16 months agoresolved: tests for dns_resource_record_to_wire_format()
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.

16 months agoresolved: tests for dns_resource_record_to_string()
James Coglan [Wed, 12 Jun 2024 09:24:25 +0000 (10:24 +0100)] 
resolved: tests for dns_resource_record_to_string()

16 months agoresolved: tests for dns_resource_key_{to,from}_json()
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.

16 months agoresolved: tests for dns_resource_record_clamp_ttl()
James Coglan [Wed, 29 May 2024 15:29:56 +0000 (16:29 +0100)] 
resolved: tests for dns_resource_record_clamp_ttl()

16 months agoresolved: tests for dns_resource_record_equal(); LOC records
James Coglan [Wed, 12 Jun 2024 17:47:55 +0000 (18:47 +0100)] 
resolved: tests for dns_resource_record_equal(); LOC records

16 months agoresolved: tests for dns_resource_record_equal(); SVCB records
James Coglan [Wed, 12 Jun 2024 16:56:30 +0000 (17:56 +0100)] 
resolved: tests for dns_resource_record_equal(); SVCB records

16 months agoresolved: tests for dns_resource_record_equal(); RRSIG records
James Coglan [Wed, 12 Jun 2024 16:17:29 +0000 (17:17 +0100)] 
resolved: tests for dns_resource_record_equal(); RRSIG records

16 months agoresolved: tests for dns_resource_record_equal(); NAPTR records
James Coglan [Wed, 12 Jun 2024 16:03:11 +0000 (17:03 +0100)] 
resolved: tests for dns_resource_record_equal(); NAPTR records

16 months agoresolved: tests for dns_resource_record_equal(); SRV records
James Coglan [Wed, 12 Jun 2024 15:39:12 +0000 (16:39 +0100)] 
resolved: tests for dns_resource_record_equal(); SRV records

16 months agoresolved: tests for dns_resource_record_equal(); TXT records
James Coglan [Wed, 12 Jun 2024 15:38:11 +0000 (16:38 +0100)] 
resolved: tests for dns_resource_record_equal(); TXT records

16 months agoresolved: tests for dns_resource_record_equal(); DNAME records
James Coglan [Wed, 12 Jun 2024 15:36:33 +0000 (16:36 +0100)] 
resolved: tests for dns_resource_record_equal(); DNAME records

16 months agoresolved: tests for dns_resource_record_equal(); MX records
James Coglan [Wed, 12 Jun 2024 15:33:41 +0000 (16:33 +0100)] 
resolved: tests for dns_resource_record_equal(); MX records

16 months agoresolved: tests for dns_resource_record_equal(); HINFO records
James Coglan [Wed, 12 Jun 2024 15:33:02 +0000 (16:33 +0100)] 
resolved: tests for dns_resource_record_equal(); HINFO records

16 months agoresolved: tests for dns_resource_record_equal(); PTR records
James Coglan [Wed, 12 Jun 2024 15:32:10 +0000 (16:32 +0100)] 
resolved: tests for dns_resource_record_equal(); PTR records

16 months agoresolved: tests for dns_resource_record_equal(); SOA records
James Coglan [Wed, 12 Jun 2024 15:31:24 +0000 (16:31 +0100)] 
resolved: tests for dns_resource_record_equal(); SOA records

16 months agoresolved: tests for dns_resource_record_equal(); CNAME records
James Coglan [Wed, 12 Jun 2024 15:30:37 +0000 (16:30 +0100)] 
resolved: tests for dns_resource_record_equal(); CNAME records

16 months agoresolved: tests for dns_resource_record_equal(); NS records
James Coglan [Wed, 12 Jun 2024 15:29:04 +0000 (16:29 +0100)] 
resolved: tests for dns_resource_record_equal(); NS records

16 months agoresolved: tests for dns_resource_record_equal(); A and AAAA 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

16 months agoresolved: tests for dns_resource_record_equal(); general cases
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.

16 months agoresolved: tests for dns_resource_record_new_address(), dns_resource_record_new_reverse()
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()

16 months agoresolved: tests for dns_resource_key_reduce()
James Coglan [Wed, 29 May 2024 12:51:31 +0000 (13:51 +0100)] 
resolved: tests for dns_resource_key_reduce()

16 months agoresolved: tests for dns_resource_key_to_string()
James Coglan [Wed, 29 May 2024 12:42:29 +0000 (13:42 +0100)] 
resolved: tests for dns_resource_key_to_string()

16 months agoresolved: tests for dns_resource_key_match_cname_or_dname(), dns_resource_key_match_soa()
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()

16 months agoresolved: tests for dns_resource_key_equal() and dns_resource_key_match_rr()
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()

16 months agoresolved: tests for dns_resource_key_is_{address, dnssd_ptr, dnssd_two_label_ptr}
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}

16 months agoresolved: tests for dns_resource_key_new_append_suffix()
James Coglan [Wed, 29 May 2024 09:19:46 +0000 (10:19 +0100)] 
resolved: tests for dns_resource_key_new_append_suffix()

16 months agoresolved: tests for dns_resource_key_new() and dns_resource_key_new_redirect()
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()

16 months agoresolved: test for DNS_RESOURCE_RECORD_RDATA()
James Coglan [Wed, 29 May 2024 08:20:08 +0000 (09:20 +0100)] 
resolved: test for DNS_RESOURCE_RECORD_RDATA()

16 months agoMerge pull request #33524 from neighbourhoodie/tests/dns-packet
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

16 months agoMerge pull request #33804 from keszybz/assorted-cleanups
Luca Boccassi [Tue, 23 Jul 2024 09:38:08 +0000 (10:38 +0100)] 
Merge pull request #33804 from keszybz/assorted-cleanups

Assorted cleanups

16 months agoMerge pull request #33791 from YHNdnzj/sd-notify-pidref
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

16 months agoMerge pull request #33814 from AnoukCeyssens/daemon
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

16 months agofix compilation errors 33814/head
Anouk Ceyssens [Mon, 22 Jul 2024 21:57:00 +0000 (23:57 +0200)] 
fix compilation errors

16 months agotest-clock: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 20:43:59 +0000 (22:43 +0200)] 
test-clock: use new assertion macros

16 months agotest-dev-setup: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 21:40:21 +0000 (23:40 +0200)] 
test-dev-setup: use new assertion macros

16 months agotest-date: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 21:33:40 +0000 (23:33 +0200)] 
test-date: use new assertion macros

16 months agotest-daemon: use new assertion macros
Anouk Ceyssens [Mon, 22 Jul 2024 21:27:52 +0000 (23:27 +0200)] 
test-daemon: use new assertion macros

16 months agoresolved: tests for link_allocate_scopes(): LLMNR, MDNS, IPv4/6 33529/head
James Coglan [Tue, 25 Jun 2024 16:32:35 +0000 (17:32 +0100)] 
resolved: tests for link_allocate_scopes(): LLMNR, MDNS, IPv4/6

16 months agoresolved: refactor env setup for link_allocate_scopes() tests
James Coglan [Tue, 25 Jun 2024 15:52:41 +0000 (16:52 +0100)] 
resolved: refactor env setup for link_allocate_scopes() tests

16 months agoresolved: basic tests for link_allocate_scopes()
James Coglan [Tue, 25 Jun 2024 15:36:47 +0000 (16:36 +0100)] 
resolved: basic tests for link_allocate_scopes()

16 months agoresolved: tests for link_find_address()
James Coglan [Tue, 25 Jun 2024 14:36:37 +0000 (15:36 +0100)] 
resolved: tests for link_find_address()

16 months agoresolved: tests for link_relevant()
James Coglan [Tue, 25 Jun 2024 14:14:08 +0000 (15:14 +0100)] 
resolved: tests for link_relevant()

16 months agoresolved: tests for link_new(), link_process_rtnl()
James Coglan [Tue, 25 Jun 2024 11:15:38 +0000 (12:15 +0100)] 
resolved: tests for link_new(), link_process_rtnl()

16 months agoman/systemd-repart: extend description and reword some sentences
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.

16 months agoMerge pull request #33597 from keszybz/fetch-distro
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

16 months agoDocument that MemorySwapMax supports % configuration
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 %.

16 months agocore: when switching root remove /run/systemd before executing the binary specified...
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.

16 months agoMake vcs-tag do something useful for non-developer mode as well
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.

16 months agoresolved: tests for dns_packet_dup() 33524/head
James Coglan [Tue, 11 Jun 2024 15:32:28 +0000 (16:32 +0100)] 
resolved: tests for dns_packet_dup()

16 months agoshared/exec-util: add macro to autoinsert sentinel for fork_agent() 33804/head
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()

16 months agorepart: use new style for pointers in function signatures
Zbigniew Jędrzejewski-Szmek [Sun, 14 Jul 2024 12:29:35 +0000 (14:29 +0200)] 
repart: use new style for pointers in function signatures

16 months agoselinux-util: add missing char in comment
Zbigniew Jędrzejewski-Szmek [Sun, 14 Jul 2024 12:02:20 +0000 (14:02 +0200)] 
selinux-util: add missing char in comment

16 months agoresolved: tests for dns_packet_patch_max_udp_size()
James Coglan [Tue, 11 Jun 2024 13:08:15 +0000 (14:08 +0100)] 
resolved: tests for dns_packet_patch_max_udp_size()

16 months agoresolved: tests for dns_packet_append_answer(); LOC records
James Coglan [Wed, 12 Jun 2024 17:47:04 +0000 (18:47 +0100)] 
resolved: tests for dns_packet_append_answer(); LOC records

16 months agoresolved: tests for dns_packet_append_answer(); TXT records
James Coglan [Wed, 12 Jun 2024 12:31:12 +0000 (13:31 +0100)] 
resolved: tests for dns_packet_append_answer(); TXT records

16 months agoresolved: tests for dns_packet_append_answer(); NAPTR records
James Coglan [Mon, 10 Jun 2024 16:45:58 +0000 (17:45 +0100)] 
resolved: tests for dns_packet_append_answer(); NAPTR records