1
0
mirror of https://github.com/systemd/systemd.git synced 2025-02-13 01:57:42 +03:00

76045 Commits

Author SHA1 Message Date
Yu Watanabe
80e038221b test: add more test cases for resolvconf 2024-08-27 05:37:34 +09:00
Yu Watanabe
374825ec05 resolvconf: disable default route when -p is specified
Internally, the switch triggers 'resolvectl default-route INTERFACE no'.

Closes #34112.
2024-08-27 05:30:06 +09:00
Yu Watanabe
189cb2b15f resolvconf: clear domains if nothing specified 2024-08-27 05:23:12 +09:00
Yu Watanabe
b3102c05e1 resolvectl: make enum name consistent with the option name 2024-08-27 05:17:52 +09:00
Martin Srebotnjak
71bcd6c0d7 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
2024-08-27 04:50:58 +09:00
Ronan Pigott
13e15dae9f 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.
2024-08-26 16:57:37 +01:00
Daan De Meyer
3fcf2a2a39 repart: Use streq_ptr() in one more place 2024-08-26 16:55:29 +01:00
Allison Karlitskaya
2bdf027de1 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.
2024-08-26 16:54:59 +01:00
Daan De Meyer
1b275c2acd crash-handler: Add back notice log message
Fixes https://github.com/systemd/systemd/pull/33959#discussion_r1730987738
2024-08-26 16:36:39 +02:00
Lennart Poettering
cb1e7ab533 update TODO 2024-08-26 16:29:07 +02:00
Lennart Poettering
e7c8d78e7f
units: don't set LISTEN_FDNAMES for varlink services explicitly
Now that FileDescriptorName= is properly honored by Accept=yes sockets,
this explicit override is pointless.
2024-08-26 15:40:15 +02:00
Mike Yuan
daa78907af
core: honor FileDescriptorName= too for Accept=yes sockets
So far we manually hardcoded $LISTEN_FDNAMES to "varlink" in various
varlink service units we ship, even though FileDescriptorName=varlink
is specified in associated socket units already, because
FileDescriptorName= is currently silently ignored when combined with
Accept=yes. Let's step away from this, which seems saner.

Note that this is technically a compat break, but a mostly negligible
one as there shall be few users setting FileDescriptorName= but
still expecting LISTEN_FDNAMES=connection in the actual executable.

Preparation for #34080
2024-08-26 15:40:15 +02:00
Daan De Meyer
caf5eb586a 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.
2024-08-26 14:22:29 +01:00
Mike Yuan
2234032c47
core: move check for combination of PAMName= + KillMode= to unit_verify_contexts()
While at it, allow "mixed" for all unit types too, i.e.
also apply ebc2259da1d1579347b86fc2ebca9f96334b6f22 to
socket/mount/swap units.
2024-08-26 14:52:25 +02:00
Mike Yuan
bca5505839
core/socket: refuse MaxConnection=0 for Accept=no sockets too
This makes no sense at all, and we already refuse such setting
for Accept=yes sockets. I see no reason not to extend this to
Accept=no ones.
2024-08-26 14:52:25 +02:00
Mike Yuan
f220d98945
core/socket: use UNIT_ISSET rather than _DEREF where suitable 2024-08-26 14:52:25 +02:00
Luca Boccassi
2e8e32e6d5
Merge pull request #34117 from yuwata/network-routing-policy-rule
network: introduce generic conf parser for [RoutingPolicyRule] section
2024-08-26 12:08:26 +01:00
Yu Watanabe
36f6e87dd3 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.
2024-08-26 11:14:26 +01:00
Yu Watanabe
b1fc342cdd
Merge pull request #34120 from weblate/weblate-systemd-main
Translations update from Fedora Weblate
2024-08-25 21:28:53 +09:00
Oğuz Ersen
8eaceb3814 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
2024-08-25 13:38:32 +02:00
Sergey A
5bac779ca0 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
2024-08-25 13:38:32 +02:00
Léane GRASSER
feef5a773f 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
2024-08-25 13:38:32 +02:00
Weblate Translation Memory
a68c2f5f76 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
2024-08-25 13:38:31 +02:00
Yu Watanabe
605377e7b3 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.
2024-08-25 06:25:07 +09:00
Yu Watanabe
7f66a94ecf 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].
2024-08-25 06:19:51 +09:00
Yu Watanabe
f7a1e57e1f 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.
2024-08-25 06:18:46 +09:00
Yu Watanabe
6db311fdc8 conf-parser: introduce config_parse_uint32_flag()
This is not used currently, but will be used later.
2024-08-25 06:18:37 +09:00
Yu Watanabe
f4810fe237 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.
2024-08-25 06:18:30 +09:00
Yu Watanabe
83c187f585 parse-util: drop unused parse_ip_prefix_length() 2024-08-25 06:18:30 +09:00
Yu Watanabe
74601abcdd 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.
2024-08-25 06:17:05 +09:00
Yu Watanabe
78ff6156d1 network/routing-policy-rule: trivial cleanups for conf-parsers
No functional change, just refactoring.
2024-08-25 06:16:29 +09:00
Yu Watanabe
e0978eb8cf network/routing-policy-rule: rename n -> rule 2024-08-25 05:38:05 +09:00
Sam James
dde6f1d745 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.
2024-08-25 02:31:59 +09:00
Yu Watanabe
07561ff414
Merge pull request #34115 from weblate/weblate-systemd-main
Translations update from Fedora Weblate
2024-08-25 02:14:37 +09:00
Temuri Doghonadze
cf4dbc97ce 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
2024-08-24 12:36:53 +02:00
Yuri Chornoivan
3982d2f960 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
2024-08-24 12:36:53 +02:00
Piotr Drąg
542165f94d 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
2024-08-24 12:36:52 +02:00
김인수
dffe2e4e80 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
2024-08-24 12:36:52 +02:00
Yu Watanabe
4e03518b16
Merge pull request #34111 from yuwata/log_section_full_errno
network: introduce log_section_full_errno() and friends, and use them
2024-08-24 08:31:02 +09:00
Yu Watanabe
b0e6c3261c
Merge pull request #34110 from yuwata/network-routing-policy-cleanups
network/routing-policy-rule: assorted trivial cleanups
2024-08-24 08:30:48 +09:00
Yu Watanabe
4388efca4a network/routing-policy-rule: use log_section_warning_errno() 2024-08-24 00:05:49 +09:00
Yu Watanabe
75f59c6ea5 conf-parser: introduce log_section_full_errno() and friends 2024-08-24 00:05:49 +09:00
Yu Watanabe
5dc74c6667 test-network: check one more rule we configure 2024-08-23 23:57:17 +09:00
Yu Watanabe
361f70f707 network/routing-policy-rule: read FRA_PROTOCOL afer reading other properties
No functional change, just refactoring.
2024-08-23 23:57:17 +09:00
Yu Watanabe
21719d67c1 network/routing-policy-rule: add more assertions 2024-08-23 23:57:17 +09:00
Yu Watanabe
18c9e9acd5 network/routing-policy-rule: sort conf-parser prototypes 2024-08-23 23:57:13 +09:00
Yu Watanabe
407d91d872 labeler: support varlink tag 2024-08-23 16:46:16 +02:00
Lennart Poettering
a3f17a8f88 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.
2024-08-23 23:10:58 +09:00
Yu Watanabe
5537e4417c updatectl: fix typo and drop space in empty lines
Follow-ups for ec15bb71c2ccd57702325a6e6626053a343f3511 (#32363).
2024-08-23 23:10:24 +09:00
Yu Watanabe
a4db21c856
Merge pull request #34108 from mrc0mmand/update-translation-files
po: update translation files
2024-08-23 23:07:57 +09:00