]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
15 months agoNEWS: mention "resolvconf -p" 34114/head
Yu Watanabe [Mon, 26 Aug 2024 20:42:34 +0000 (05:42 +0900)] 
NEWS: mention "resolvconf -p"

15 months agotest: add more test cases for resolvconf
Yu Watanabe [Sat, 24 Aug 2024 21:54:00 +0000 (06:54 +0900)] 
test: add more test cases for resolvconf

15 months agoresolvconf: disable default route when -p is specified
Yu Watanabe [Sat, 24 Aug 2024 01:37:30 +0000 (10:37 +0900)] 
resolvconf: disable default route when -p is specified

Internally, the switch triggers 'resolvectl default-route INTERFACE no'.

Closes #34112.

15 months agoresolvconf: clear domains if nothing specified
Yu Watanabe [Mon, 26 Aug 2024 20:21:41 +0000 (05:21 +0900)] 
resolvconf: clear domains if nothing specified

15 months agoresolvectl: make enum name consistent with the option name
Yu Watanabe [Sat, 24 Aug 2024 01:01:10 +0000 (10:01 +0900)] 
resolvectl: make enum name consistent with the option name

15 months agopo: Translated using Weblate (Slovenian)
Martin Srebotnjak [Mon, 26 Aug 2024 19:38:32 +0000 (21:38 +0200)] 
po: Translated using Weblate (Slovenian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Martin Srebotnjak <miles@filmsi.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sl/
Translation: systemd/main

15 months agoresolved: clear the AD bit for bypass packets
Ronan Pigott [Mon, 26 Aug 2024 08:39:20 +0000 (01:39 -0700)] 
resolved: clear the AD bit for bypass packets

When the bypass logic is invoked, such as for queries to the stub with
the DO bit set, be certain to clear the AD bit in the reply before
forwarding it if the answer is not known to be authentic.

15 months agorepart: Use streq_ptr() in one more place
Daan De Meyer [Mon, 26 Aug 2024 10:18:37 +0000 (12:18 +0200)] 
repart: Use streq_ptr() in one more place

15 months agoman: document "web" session type
Allison Karlitskaya [Mon, 26 Aug 2024 08:32:47 +0000 (10:32 +0200)] 
man: document "web" session type

This has been supported since e9e74f28d783 but never got documented.
Add it to the man pages (plus one comment in a header).

Closes #34127.

15 months agocrash-handler: Add back notice log message
Daan De Meyer [Mon, 26 Aug 2024 10:02:30 +0000 (12:02 +0200)] 
crash-handler: Add back notice log message

Fixes https://github.com/systemd/systemd/pull/33959#discussion_r1730987738

15 months agoupdate TODO
Lennart Poettering [Tue, 20 Aug 2024 08:28:38 +0000 (10:28 +0200)] 
update TODO

15 months agomkosi: Stop using git commit timestamps for package releases
Daan De Meyer [Mon, 26 Aug 2024 11:08:25 +0000 (13:08 +0200)] 
mkosi: Stop using git commit timestamps for package releases

This prevents bisecting to figure out which commit broke something
as when going backwards the git commit timestamp will be older meaning
package managers will refuse to upgrade to the "older" version. Let's
make sure the release is always newer by using the current date unless
$SOURCE_DATE_EPOCH is set.

15 months agoMerge pull request #34117 from yuwata/network-routing-policy-rule
Luca Boccassi [Mon, 26 Aug 2024 11:08:26 +0000 (12:08 +0100)] 
Merge pull request #34117 from yuwata/network-routing-policy-rule

network: introduce generic conf parser for [RoutingPolicyRule] section

15 months agoman: reword about default route for DNS traffic
Yu Watanabe [Tue, 20 Aug 2024 18:24:06 +0000 (03:24 +0900)] 
man: reword about default route for DNS traffic

DefaultRoute is a D-Bus property, not a valid setting name in .network
files nor resolved.conf.
Whether a link is the default route or not is configured with
DNSDefaultRoute= setting in .network files.

15 months agoMerge pull request #34120 from weblate/weblate-systemd-main
Yu Watanabe [Sun, 25 Aug 2024 12:28:53 +0000 (21:28 +0900)] 
Merge pull request #34120 from weblate/weblate-systemd-main

Translations update from Fedora Weblate

15 months agopo: Translated using Weblate (Turkish) 34120/head
Oğuz Ersen [Sun, 25 Aug 2024 11:38:32 +0000 (13:38 +0200)] 
po: Translated using Weblate (Turkish)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main

15 months agopo: Translated using Weblate (Russian)
Sergey A [Sun, 25 Aug 2024 11:38:32 +0000 (13:38 +0200)] 
po: Translated using Weblate (Russian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Sergey A <Ser82-png@yandex.ru>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ru/
Translation: systemd/main

15 months agopo: Translated using Weblate (French)
Léane GRASSER [Sun, 25 Aug 2024 11:38:32 +0000 (13:38 +0200)] 
po: Translated using Weblate (French)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Léane GRASSER <leane.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main

15 months agopo: Translated using Weblate (French)
Weblate Translation Memory [Sun, 25 Aug 2024 11:38:31 +0000 (13:38 +0200)] 
po: Translated using Weblate (French)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main

15 months agonetwork/routing-policy-rule: use config_parse_routing_policy_rule() more 34117/head
Yu Watanabe [Sat, 24 Aug 2024 20:53:41 +0000 (05:53 +0900)] 
network/routing-policy-rule: use config_parse_routing_policy_rule() more

Then, we can drop allocation of RoutingPolicyRule object in each conf
parsers.

No functional change, just refactoring.

15 months agonetwork/routing-policy-rule: introduce a generic conf-parser for [RoutingPolicyRule...
Yu Watanabe [Sat, 24 Aug 2024 20:50:27 +0000 (05:50 +0900)] 
network/routing-policy-rule: introduce a generic conf-parser for [RoutingPolicyRule] sectin

This introduce config_parse_routing_policy_rule(), which wraps existing
conf parsers. With this, we can drop many custom conf parsers for
[RoutingPolicyRule], and can reuse generic conf parsers in conf-parser.[ch].

15 months agoconf-parser: move config_parse_ip_protocol() from network/netdev/fou-tunnel.c
Yu Watanabe [Sat, 24 Aug 2024 19:58:14 +0000 (04:58 +0900)] 
conf-parser: move config_parse_ip_protocol() from network/netdev/fou-tunnel.c

The function is generic enough. Currently it is used at only one place.
But it will be used at another place.

15 months agoconf-parser: introduce config_parse_uint32_flag()
Yu Watanabe [Sat, 24 Aug 2024 19:56:43 +0000 (04:56 +0900)] 
conf-parser: introduce config_parse_uint32_flag()

This is not used currently, but will be used later.

15 months agoconf-parser: return 1 on success
Yu Watanabe [Sat, 24 Aug 2024 19:53:10 +0000 (04:53 +0900)] 
conf-parser: return 1 on success

Typically, conf parsers will ignore most errors during parsing strings
and return 0. Let's return 1 on success. Otherwise it is hard to reused
these function in another conf parser.

15 months agoparse-util: drop unused parse_ip_prefix_length()
Yu Watanabe [Sat, 24 Aug 2024 20:32:00 +0000 (05:32 +0900)] 
parse-util: drop unused parse_ip_prefix_length()

15 months agonetwork/routing-policy-rule: merge two conf parsers
Yu Watanabe [Sat, 24 Aug 2024 20:31:03 +0000 (05:31 +0900)] 
network/routing-policy-rule: merge two conf parsers

Both conf parsers takes an integer. Only difference is the maximum
value. Let's merge them, and pass the maximum value through ltype.

15 months agonetwork/routing-policy-rule: trivial cleanups for conf-parsers
Yu Watanabe [Sat, 24 Aug 2024 20:09:55 +0000 (05:09 +0900)] 
network/routing-policy-rule: trivial cleanups for conf-parsers

No functional change, just refactoring.

15 months agonetwork/routing-policy-rule: rename n -> rule
Yu Watanabe [Sat, 24 Aug 2024 20:03:26 +0000 (05:03 +0900)] 
network/routing-policy-rule: rename n -> rule

15 months agomeson: search for 'bpf-unknown-none' too
Sam James [Sat, 24 Aug 2024 12:09:47 +0000 (13:09 +0100)] 
meson: search for 'bpf-unknown-none' too

We currently search for 'bpf-gcc' and 'bpf-none-gcc'. Gentoo's
sys-devel/bpf-toolchain package uses 'bpf-unknown-none-gcc', as does Fedora's
cross-binutils. Search for this name too.

15 months agoMerge pull request #34115 from weblate/weblate-systemd-main
Yu Watanabe [Sat, 24 Aug 2024 17:14:37 +0000 (02:14 +0900)] 
Merge pull request #34115 from weblate/weblate-systemd-main

Translations update from Fedora Weblate

15 months agopo: Translated using Weblate (Georgian) 34115/head
Temuri Doghonadze [Sat, 24 Aug 2024 10:36:53 +0000 (12:36 +0200)] 
po: Translated using Weblate (Georgian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ka/
Translation: systemd/main

15 months agopo: Translated using Weblate (Ukrainian)
Yuri Chornoivan [Sat, 24 Aug 2024 10:36:53 +0000 (12:36 +0200)] 
po: Translated using Weblate (Ukrainian)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/
Translation: systemd/main

15 months agopo: Translated using Weblate (Polish)
Piotr Drąg [Sat, 24 Aug 2024 10:36:52 +0000 (12:36 +0200)] 
po: Translated using Weblate (Polish)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pl/
Translation: systemd/main

15 months agopo: Translated using Weblate (Korean)
김인수 [Sat, 24 Aug 2024 10:36:52 +0000 (12:36 +0200)] 
po: Translated using Weblate (Korean)

Currently translated at 100.0% (253 of 253 strings)

Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main

15 months agoMerge pull request #34111 from yuwata/log_section_full_errno
Yu Watanabe [Fri, 23 Aug 2024 23:31:02 +0000 (08:31 +0900)] 
Merge pull request #34111 from yuwata/log_section_full_errno

network: introduce log_section_full_errno() and friends, and use them

15 months agoMerge pull request #34110 from yuwata/network-routing-policy-cleanups
Yu Watanabe [Fri, 23 Aug 2024 23:30:48 +0000 (08:30 +0900)] 
Merge pull request #34110 from yuwata/network-routing-policy-cleanups

network/routing-policy-rule: assorted trivial cleanups

15 months agonetwork/routing-policy-rule: use log_section_warning_errno() 34111/head
Yu Watanabe [Thu, 22 Aug 2024 23:07:30 +0000 (08:07 +0900)] 
network/routing-policy-rule: use log_section_warning_errno()

15 months agoconf-parser: introduce log_section_full_errno() and friends
Yu Watanabe [Thu, 22 Aug 2024 23:07:12 +0000 (08:07 +0900)] 
conf-parser: introduce log_section_full_errno() and friends

15 months agotest-network: check one more rule we configure 34110/head
Yu Watanabe [Thu, 22 Aug 2024 19:30:02 +0000 (04:30 +0900)] 
test-network: check one more rule we configure

15 months agonetwork/routing-policy-rule: read FRA_PROTOCOL afer reading other properties
Yu Watanabe [Thu, 22 Aug 2024 18:44:39 +0000 (03:44 +0900)] 
network/routing-policy-rule: read FRA_PROTOCOL afer reading other properties

No functional change, just refactoring.

15 months agonetwork/routing-policy-rule: add more assertions
Yu Watanabe [Thu, 22 Aug 2024 07:17:32 +0000 (16:17 +0900)] 
network/routing-policy-rule: add more assertions

15 months agonetwork/routing-policy-rule: sort conf-parser prototypes
Yu Watanabe [Thu, 22 Aug 2024 06:01:12 +0000 (15:01 +0900)] 
network/routing-policy-rule: sort conf-parser prototypes

15 months agolabeler: support varlink tag
Yu Watanabe [Fri, 23 Aug 2024 14:15:10 +0000 (23:15 +0900)] 
labeler: support varlink tag

15 months agovarlinkctl: output an expressive error message in case invalid method/interface names...
Lennart Poettering [Fri, 23 Aug 2024 08:41:44 +0000 (10:41 +0200)] 
varlinkctl: output an expressive error message in case invalid method/interface names are specified

Inspired by #34098 → let's make it easier for users to understand and
correct the mistakes they made: let's early refuse invalid
interface/method names.

15 months agoupdatectl: fix typo and drop space in empty lines
Yu Watanabe [Fri, 23 Aug 2024 09:24:56 +0000 (18:24 +0900)] 
updatectl: fix typo and drop space in empty lines

Follow-ups for ec15bb71c2ccd57702325a6e6626053a343f3511 (#32363).

15 months agoMerge pull request #34108 from mrc0mmand/update-translation-files
Yu Watanabe [Fri, 23 Aug 2024 14:07:57 +0000 (23:07 +0900)] 
Merge pull request #34108 from mrc0mmand/update-translation-files

po: update translation files

15 months agopo: drop placeholders and re-add SPDX line 34108/head
Frantisek Sumsal [Fri, 23 Aug 2024 13:37:23 +0000 (15:37 +0200)] 
po: drop placeholders and re-add SPDX line

Follow-up for ecce45cd3f1b4d1fd7f6a6d893f7c12c47c70455.

15 months agopo: update translation files
Frantisek Sumsal [Fri, 23 Aug 2024 13:36:10 +0000 (15:36 +0200)] 
po: update translation files

15 months agoMerge pull request #34102 from yuwata/udev-net_id
Yu Watanabe [Fri, 23 Aug 2024 09:06:06 +0000 (18:06 +0900)] 
Merge pull request #34102 from yuwata/udev-net_id

udev/net_id: trivial cleanups

15 months agoudevadm/test,test-builtin: enable debugging logs by default again
Yu Watanabe [Fri, 23 Aug 2024 01:14:45 +0000 (10:14 +0900)] 
udevadm/test,test-builtin: enable debugging logs by default again

The lines were mistakenly dropped by
aa976d87889ae22b7347787a1ebd03a31dcc0a9e.

15 months agoudev/net_id: update log messages 34102/head
Yu Watanabe [Fri, 23 Aug 2024 00:46:09 +0000 (09:46 +0900)] 
udev/net_id: update log messages

This also downgrades the log level of a message to debug.

15 months agoudev/net_id: move naming scheme check
Yu Watanabe [Fri, 23 Aug 2024 00:54:00 +0000 (09:54 +0900)] 
udev/net_id: move naming scheme check

We usually do not set r = -1 when a functionality is disabled or not
supported. Even though the error code is not used, let's set a negative
errno in such case.

No functional change, just refactoring.

Follow-up for 0a4ecc54cb9f2d3418b970c51bfadb69c34ae9eb.

15 months agotest: use ASSERT_EQ_ID128() and ASSERT_NE_ID128()
Yu Watanabe [Thu, 22 Aug 2024 23:25:53 +0000 (08:25 +0900)] 
test: use ASSERT_EQ_ID128() and ASSERT_NE_ID128()

15 months agoudev-builtin-net_id: ignore firmware_node/sun == 0
Etienne Champetier [Thu, 22 Aug 2024 20:30:56 +0000 (16:30 -0400)] 
udev-builtin-net_id: ignore firmware_node/sun == 0

Since ID_NET_NAME_SLOT was introduced we ignore slot == 0
https://github.com/systemd/systemd/blob/0035597a30d120f70df2dd7da3d6128fb8ba6051/src/udev/udev-builtin-net_id.c#L139

Qemu sets _SUN to PCI_SLOT() for all NICs, so _SUN is not unique.
https://gitlab.com/qemu-project/qemu/-/issues/2530

In my tests with libvirt I can only set 'slot="0x00"' in interface definition,
so all NICs end up with _SUN == 0, and this commit is enough to avoid the issue.

Fixes 0a4ecc54cb9f2d3418b970c51bfadb69c34ae9eb

15 months agoMerge pull request #34087 from DaanDeMeyer/nspawn-init-revert
Yu Watanabe [Thu, 22 Aug 2024 22:42:16 +0000 (07:42 +0900)] 
Merge pull request #34087 from DaanDeMeyer/nspawn-init-revert

Revert "nspawn: Allow specifying custom init program"

15 months agoMerge pull request #34092 from poettering/ambient-caps-fixup
Yu Watanabe [Thu, 22 Aug 2024 21:41:45 +0000 (06:41 +0900)] 
Merge pull request #34092 from poettering/ambient-caps-fixup

minor tweaks to the recent ambient caps rework

15 months agoMerge pull request #34096 from YHNdnzj/logind-followup-256
Yu Watanabe [Thu, 22 Aug 2024 20:38:18 +0000 (05:38 +0900)] 
Merge pull request #34096 from YHNdnzj/logind-followup-256

logind: two follow-ups

15 months agoboot: use MAX() where appropriate
Lennart Poettering [Thu, 22 Aug 2024 16:20:20 +0000 (18:20 +0200)] 
boot: use MAX() where appropriate

15 months agoMerge pull request #34097 from YHNdnzj/journal-browse-prepare
Yu Watanabe [Thu, 22 Aug 2024 20:25:19 +0000 (05:25 +0900)] 
Merge pull request #34097 from YHNdnzj/journal-browse-prepare

shared/logs-show: introduce journal_browse_prepare()

15 months agoRevert "nspawn: Allow specifying custom init program" 34087/head
Daan De Meyer [Thu, 22 Aug 2024 13:59:32 +0000 (15:59 +0200)] 
Revert "nspawn: Allow specifying custom init program"

I don't actually need this anymore since we're going with a
unit based approach for the containers stuff internally so
let's just revert it.

Fixes #34085

This reverts commit ce2291730d5f91190e97e7c515ac772ae4970062.

15 months agoRevert "nspawn: fix settings leak for init parameter"
Daan De Meyer [Thu, 22 Aug 2024 20:20:36 +0000 (22:20 +0200)] 
Revert "nspawn: fix settings leak for init parameter"

This reverts commit 1e2aa88bb238299cd982f9e3f14812a6c7211d31.

15 months agoshared/logs-show: introduce journal_browse_prepare() 34097/head
Mike Yuan [Sat, 17 Aug 2024 17:53:09 +0000 (19:53 +0200)] 
shared/logs-show: introduce journal_browse_prepare()

which combines sigbus_install() and bumping fd limit.

15 months agobasic/sigbus: use FOREACH_ELEMENT where appropriate, assert >= 0 for success
Mike Yuan [Sat, 17 Aug 2024 17:40:55 +0000 (19:40 +0200)] 
basic/sigbus: use FOREACH_ELEMENT where appropriate, assert >= 0 for success

15 months agologind-session: downgrade user@.service dep to Wants= 34096/head
Mike Yuan [Sat, 17 Aug 2024 16:34:46 +0000 (18:34 +0200)] 
logind-session: downgrade user@.service dep to Wants=

This partially reverts 52bcc872b5f97a14a9b4e4e383f45bb3066e1643.

We explicitly support running without user manager,
hence only user-runtime-dir@.service should be
required.

Fixes #33405

15 months agologind: DesignatedMaintenanceTime is added in v257 and constant
Mike Yuan [Fri, 26 Jul 2024 13:31:39 +0000 (15:31 +0200)] 
logind: DesignatedMaintenanceTime is added in v257 and constant

Follow-up for 0e10c3d8724b0a5d07871c9de71565ac91dd55b7

Addresses https://github.com/systemd/systemd/pull/25049#discussion_r1647513862

15 months agomain: make sure the ambient caps set is valid in case we fail to read it 34092/head
Lennart Poettering [Thu, 22 Aug 2024 16:36:23 +0000 (18:36 +0200)] 
main: make sure the ambient caps set is valid in case we fail to read it

We ignore failures when reading this after all. Hence we better leave
the memory properly initialized.

15 months agomain: generate warning when we cannot reset caps
Lennart Poettering [Thu, 22 Aug 2024 16:20:38 +0000 (18:20 +0200)] 
main: generate warning when we cannot reset caps

Follow-up for: #32937

15 months agocore: rename original_ambient_set → saved_ambient_set
Lennart Poettering [Thu, 22 Aug 2024 16:18:41 +0000 (18:18 +0200)] 
core: rename original_ambient_set → saved_ambient_set

We call similar other fields in main.c (notably: rlimit stuff, env vars) "saved",
rather than "original". Hence stick to that kind of naming here too.

Follow-up for: #32937

15 months agomkosi: Update to latest
Daan De Meyer [Thu, 22 Aug 2024 13:22:37 +0000 (15:22 +0200)] 
mkosi: Update to latest

Should fix the Fedora Rawhide CI failure.

15 months agoman: document .membership files that nss-systemd processes
Lennart Poettering [Wed, 21 Aug 2024 08:10:34 +0000 (10:10 +0200)] 
man: document .membership files that nss-systemd processes

This has been a glaring omission the docs: when people create
.user/.group/.user-privileged/.group-privileged drop-in files, they
should also create matching .membership files.

15 months agoMerge pull request #34051 from rpigott/resolved-demote-fallback
Yu Watanabe [Thu, 22 Aug 2024 11:21:33 +0000 (20:21 +0900)] 
Merge pull request #34051 from rpigott/resolved-demote-fallback

resolved: demote only the fallback servers in the global scope

15 months agoMerge pull request #34033 from DaanDeMeyer/mkosi-cage
Daan De Meyer [Thu, 22 Aug 2024 10:57:07 +0000 (12:57 +0200)] 
Merge pull request #34033 from DaanDeMeyer/mkosi-cage

 mkosi: Update to latest

15 months agomkosi: Update to latest 34033/head
Daan De Meyer [Mon, 19 Aug 2024 09:27:26 +0000 (11:27 +0200)] 
mkosi: Update to latest

15 months agoMerge pull request #34076 from yuwata/polkit-message
Lennart Poettering [Thu, 22 Aug 2024 08:56:53 +0000 (10:56 +0200)] 
Merge pull request #34076 from yuwata/polkit-message

polkit: add missing period in polkit messages

15 months agomkosi: Improve formatting
Daan De Meyer [Mon, 19 Aug 2024 09:27:11 +0000 (11:27 +0200)] 
mkosi: Improve formatting

15 months agoMerge pull request #34079 from AdrianVovk/sysupdate-fixups
Yu Watanabe [Thu, 22 Aug 2024 04:59:55 +0000 (13:59 +0900)] 
Merge pull request #34079 from AdrianVovk/sysupdate-fixups

systemd-sysupdated follow-ups

15 months agosysupdate: man: Cleanup sections about flags 34079/head
Adrian Vovk [Thu, 22 Aug 2024 02:10:49 +0000 (22:10 -0400)] 
sysupdate: man: Cleanup sections about flags

15 months agosysupdate: Simplify sysupdate_run_simple callsite
Adrian Vovk [Thu, 22 Aug 2024 01:44:53 +0000 (21:44 -0400)] 
sysupdate: Simplify sysupdate_run_simple callsite

Allows the caller to optionally pass in a target, instead of making
everyone call target_get_argument at the call site.

15 months agosysupdated: Verify inputs more rigorously
Adrian Vovk [Thu, 22 Aug 2024 01:36:25 +0000 (21:36 -0400)] 
sysupdated: Verify inputs more rigorously

Also return better errors

15 months agosysupdated: Fixup redundant constant name
Adrian Vovk [Thu, 22 Aug 2024 01:35:25 +0000 (21:35 -0400)] 
sysupdated: Fixup redundant constant name

SD_ stands for systemd, so SD_SYSTEMD_* is SYSTEMD_SYSTEMD_*

15 months agosysupdated: Fixup minor formatting issues
Adrian Vovk [Wed, 21 Aug 2024 20:15:24 +0000 (16:15 -0400)] 
sysupdated: Fixup minor formatting issues

15 months agolabeler: add more rules
Yu Watanabe [Wed, 21 Aug 2024 21:43:32 +0000 (06:43 +0900)] 
labeler: add more rules

15 months agoMerge pull request #34072 from yuwata/networkd-routing-policy-rule-follow-up
Yu Watanabe [Wed, 21 Aug 2024 22:17:10 +0000 (07:17 +0900)] 
Merge pull request #34072 from yuwata/networkd-routing-policy-rule-follow-up

network/routing-policy-rule: follow up for recent change

15 months agopo: update Japanese translations 34076/head
Yu Watanabe [Wed, 21 Aug 2024 22:10:47 +0000 (07:10 +0900)] 
po: update Japanese translations

15 months agopolkit: add missing period in messages
Yu Watanabe [Wed, 21 Aug 2024 22:08:05 +0000 (07:08 +0900)] 
polkit: add missing period in messages

15 months agopo: update Japanese translations
Yu Watanabe [Wed, 21 Aug 2024 20:02:56 +0000 (05:02 +0900)] 
po: update Japanese translations

15 months agoMerge pull request #32363 from CodethinkLabs/sysupdate-dbus
Adrian Vovk [Wed, 21 Aug 2024 19:35:34 +0000 (15:35 -0400)] 
Merge pull request #32363 from CodethinkLabs/sysupdate-dbus

sysupdate: Implement dbus service

15 months agoMerge pull request #34053 from YHNdnzj/follow-ups
Yu Watanabe [Wed, 21 Aug 2024 19:34:11 +0000 (04:34 +0900)] 
Merge pull request #34053 from YHNdnzj/follow-ups

Two follow-ups for recent PRs

15 months agobootctl: don't load etc/machine-info from cwd
Alyssa Ross [Wed, 21 Aug 2024 12:21:47 +0000 (14:21 +0200)] 
bootctl: don't load etc/machine-info from cwd

arg_root defaults to null, so if --root isn't given, this would try reading
etc/machine-info from the current working directory, which is likely to fail.

Fixes: 77db9ef2ab ("boot: Make sure we take --root into account everywhere.")
15 months agoman: Ensure notify example includes <string.h>
A. Wilcox [Wed, 21 Aug 2024 14:35:58 +0000 (09:35 -0500)] 
man: Ensure notify example includes <string.h>

This ensures that memcpy and strerror are defined.  This is especially
important with GCC 14 as implicit function declarations are now an error.

15 months agohwdb: rename hwdb_bin_paths -> HWDB_BIN_PATHS
Yu Watanabe [Wed, 21 Aug 2024 17:08:20 +0000 (02:08 +0900)] 
hwdb: rename hwdb_bin_paths -> HWDB_BIN_PATHS

We usually use upper letters for constant definitions.

15 months agocore/exec-invoke: document calling setpriority() after sched_setattr()
Ivan Shapovalov [Wed, 21 Aug 2024 17:36:08 +0000 (19:36 +0200)] 
core/exec-invoke: document calling setpriority() after sched_setattr()

Fixes: 711a157738b ("core/exec-invoke: call setpriority() after sched_setattr()")
15 months agotest-network: also test routing policy rules are configured as expected after reconfi... 34072/head
Yu Watanabe [Wed, 21 Aug 2024 19:20:51 +0000 (04:20 +0900)] 
test-network: also test routing policy rules are configured as expected after reconfiguration

For issue #34068.

15 months agotest-network: find routing policy rule by priority
Yu Watanabe [Wed, 21 Aug 2024 19:16:09 +0000 (04:16 +0900)] 
test-network: find routing policy rule by priority

We usually configure a test rule with a unique priority. Hence, finding
rule by priority reduces the lines of output, and we can debug easily.

Also print short comments on check. That's helpful when the check is
called several times.

15 months agonetwork/routing-policy-rule: use address family of existing rule when judging if...
Yu Watanabe [Wed, 21 Aug 2024 19:11:52 +0000 (04:11 +0900)] 
network/routing-policy-rule: use address family of existing rule when judging if existing rule can be updated

Otherwise, the other RoutingPolicyRule object may not have a valid
address family yet, and the existing rule may be wrongly handled as
that it is not requested by any interface, and it may be removed.

Follow-up for 727235006a7e8904f8493d32376cffa6969c5fa9.
Fixes #34068.

15 months agoresolved: demote the fallback dns servers 34051/head
Ronan Pigott [Wed, 21 Aug 2024 14:49:59 +0000 (07:49 -0700)] 
resolved: demote the fallback dns servers

This softens the behavior originally introduced in eded61e410df to apply
only to the fallback dns servers.

The intent is that the global FallbackDNS (instead of DNS) can now be
used in conjunction with the per-link dns, providing a fallback behavior
without introducing a scope overlap.

References: eded61e410df (resolved: demote the global unicast scope, 2024-08-19)

15 months agoresolved: use the fallback servers when no default dns is configured
Ronan Pigott [Tue, 20 Aug 2024 17:25:28 +0000 (10:25 -0700)] 
resolved: use the fallback servers when no default dns is configured

This expands the role of fallback servers so they are applied not only
when there are no dns servers configured, but when all the configured
dns servers are configured only for non-default-route links.

15 months agoresolved: introduce link_set_default_route
Ronan Pigott [Wed, 21 Aug 2024 16:41:35 +0000 (09:41 -0700)] 
resolved: introduce link_set_default_route

15 months agoresolved: introduce dns_server_is_fallback
Ronan Pigott [Wed, 21 Aug 2024 16:36:13 +0000 (09:36 -0700)] 
resolved: introduce dns_server_is_fallback

15 months agoMerge pull request #34055 from whot/wip/eviocrevoke-warnings
Yu Watanabe [Wed, 21 Aug 2024 16:34:35 +0000 (01:34 +0900)] 
Merge pull request #34055 from whot/wip/eviocrevoke-warnings

Update warnings for failed EVIOCREVOKE invocations