]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
3 years agoUpdate translation files 18044/head
Weblate [Sat, 2 Jan 2021 00:37:01 +0000 (01:37 +0100)] 
Update translation files

Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/
Translation: systemd/master

3 years agoTranslated using Weblate (French)
Julien Humbert [Sat, 2 Jan 2021 00:37:01 +0000 (01:37 +0100)] 
Translated using Weblate (French)

Currently translated at 98.3% (184 of 187 strings)

Co-authored-by: Julien Humbert <julroy67@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/fr/
Translation: systemd/master

3 years agoTranslated using Weblate (Romanian)
Vlad [Sat, 2 Jan 2021 00:37:01 +0000 (01:37 +0100)] 
Translated using Weblate (Romanian)

Currently translated at 100.0% (187 of 187 strings)

Co-authored-by: Vlad <milovlad@outlook.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/ro/
Translation: systemd/master

3 years agoTranslated using Weblate (Punjabi)
A S Alam [Sat, 2 Jan 2021 00:37:00 +0000 (01:37 +0100)] 
Translated using Weblate (Punjabi)

Currently translated at 3.2% (6 of 187 strings)

Added translation using Weblate (Punjabi)

Co-authored-by: A S Alam <amanpreet.alam@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/pa/
Translation: systemd/master

3 years agoEnable more mkosi options
Daan De Meyer [Wed, 9 Dec 2020 21:51:56 +0000 (21:51 +0000)] 
Enable more mkosi options

- HostonlyInitrd reduces the size of the initramfs which speeds up
QEMU boot times.
- Autologin and deleting the root password remove
the manual login step whenever starting the systemd-nspawn container
or QEMU vm.
- NetworkVeth passes --network-veth to the nspawn container when
using mkosi boot and emulates --network-veth with a tap device
and networkd's 80-vm-vt.network builtin network file when using
mkosi qemu. --network-veth makes it easier to test network and
resolved in mkosi's nspawn container or QEMU vm.

3 years agoCI: Update to mkosi github action to v9
Daan De Meyer [Fri, 1 Jan 2021 14:32:52 +0000 (15:32 +0100)] 
CI: Update to mkosi github action to v9

3 years agoman: fix path reference to unit file
Gaël PORTAY [Thu, 5 Mar 2020 17:38:31 +0000 (12:38 -0500)] 
man: fix path reference to unit file

The unit files are located at path /usr/lib/systemd/system.

This fixes the path reference to the unit file by adding the missing
path component system.

3 years agodocs: fix the link to boot loader specification
Gaël PORTAY [Wed, 30 Dec 2020 14:29:36 +0000 (09:29 -0500)] 
docs: fix the link to boot loader specification

The boot loader specification link points to the boot loader interface
documentation.

This fixes the link to point to BOOT_LOADER_SPECIFICATION instead of
BOOTLOADER_INTERFACE which is itself.

3 years agoMerge pull request #18109 from yuwata/network-routing-policy-rule-family-both-fixes
Luca Boccassi [Wed, 30 Dec 2020 11:27:24 +0000 (11:27 +0000)] 
Merge pull request #18109 from yuwata/network-routing-policy-rule-family-both-fixes

network: fixes related to Family=both in [RoutingPolicyRule]

3 years agoMerge pull request #18105 from yuwata/fuzz-fix-timeout
Yu Watanabe [Wed, 30 Dec 2020 03:11:23 +0000 (12:11 +0900)] 
Merge pull request #18105 from yuwata/fuzz-fix-timeout

Fuzz fix timeout

3 years agoA typo fix in bootctl.c (#18106)
Endre Szabo [Wed, 30 Dec 2020 03:10:24 +0000 (04:10 +0100)] 
A typo fix in bootctl.c (#18106)

3 years agoresolve: slightly optimize dns_answer_add() 18105/head
Yu Watanabe [Tue, 29 Dec 2020 14:50:54 +0000 (23:50 +0900)] 
resolve: slightly optimize dns_answer_add()

Previously, dns_answer_add() was O(n^2).
With this change dns_packet_extract() becomes ~15 times faster for some
extremal case.

Before:
```
$ time ./fuzz-dns-packet ~/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808
/home/watanabe/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808... ok

real    0m15.453s
user    0m15.430s
sys     0m0.007s
```

After:
```
$ time ./fuzz-dns-packet ~/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808
/home/watanabe/downloads/clusterfuzz-testcase-minimized-fuzz-dns-packet-5631106733047808... ok

real    0m0.831s
user    0m0.824s
sys     0m0.006s
```

Hopefully fixes oss-fuzz#19227.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19227

3 years agoresolve: field size in dns resource record may be zero
Yu Watanabe [Tue, 29 Dec 2020 16:48:35 +0000 (01:48 +0900)] 
resolve: field size in dns resource record may be zero

3 years agosiphash: introduce siphash24_compress_safe()
Yu Watanabe [Tue, 29 Dec 2020 16:44:04 +0000 (01:44 +0900)] 
siphash: introduce siphash24_compress_safe()

3 years agotest-network: add tests for fib rules with Family=both vs networkctl reload or reconf... 18109/head
Yu Watanabe [Tue, 29 Dec 2020 18:32:07 +0000 (03:32 +0900)] 
test-network: add tests for fib rules with Family=both vs networkctl reload or reconfigure

3 years agonetwork: drop fib rules configured with Family=both
Yu Watanabe [Tue, 29 Dec 2020 18:15:44 +0000 (03:15 +0900)] 
network: drop fib rules configured with Family=both

3 years agonetwork: set RoutingPolicyRule::family based on Family= setting
Yu Watanabe [Tue, 29 Dec 2020 18:07:33 +0000 (03:07 +0900)] 
network: set RoutingPolicyRule::family based on Family= setting

3 years agonetwork: always re-configure rules even if already exist
Yu Watanabe [Tue, 29 Dec 2020 17:45:25 +0000 (02:45 +0900)] 
network: always re-configure rules even if already exist

routing_policy_rule_get() in link_set_routing_policy_rules() does not
work when [RoutingPolicyRule] section does not have From= or To=.

3 years agonetwork: drop unnecessary checks
Yu Watanabe [Tue, 29 Dec 2020 18:17:35 +0000 (03:17 +0900)] 
network: drop unnecessary checks

By the previous commit, the checks are not necessary any more.

3 years agonetwork: fix possible memory leak
Yu Watanabe [Tue, 29 Dec 2020 17:11:32 +0000 (02:11 +0900)] 
network: fix possible memory leak

When set_put() returns 0, then already stored rule will be unref()ed
from Manager.

3 years agonetwork: constify several arguments
Yu Watanabe [Tue, 29 Dec 2020 17:03:48 +0000 (02:03 +0900)] 
network: constify several arguments

3 years agoresolve: do not compare key twice
Yu Watanabe [Tue, 29 Dec 2020 14:44:53 +0000 (23:44 +0900)] 
resolve: do not compare key twice

3 years agoresolve: slightly shorten dns_resource_key_compare_func()
Yu Watanabe [Tue, 29 Dec 2020 13:29:21 +0000 (22:29 +0900)] 
resolve: slightly shorten dns_resource_key_compare_func()

3 years agoresolve: fix typo
Yu Watanabe [Tue, 29 Dec 2020 16:22:56 +0000 (01:22 +0900)] 
resolve: fix typo

3 years agofuzzers: set maximum length for several fuzzers
Yu Watanabe [Tue, 29 Dec 2020 08:26:43 +0000 (17:26 +0900)] 
fuzzers: set maximum length for several fuzzers

Hopefully fixes oss-fuzz#19081, oss-fuzz#21731, oss-fuzz#21755.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19081
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21731
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=21755

3 years agoMerge pull request #17477 from yuwata/network-drop-serialization-routing-policy-rule
Yu Watanabe [Tue, 29 Dec 2020 15:18:24 +0000 (00:18 +0900)] 
Merge pull request #17477 from yuwata/network-drop-serialization-routing-policy-rule

network: do not serialize/deserialize routing policy rules

3 years agonetwork: do not serialize/deserialize routing policy rules 17477/head
Yu Watanabe [Wed, 28 Oct 2020 08:02:41 +0000 (17:02 +0900)] 
network: do not serialize/deserialize routing policy rules

We already handle foreign routing policy rules correctly by the previous
commit. So, the serialization/deserialization of rules are not necessary
anymore.

3 years agonetwork: drop unnecessary routing policy rules
Yu Watanabe [Wed, 28 Oct 2020 11:27:23 +0000 (20:27 +0900)] 
network: drop unnecessary routing policy rules

networkd already drop foreign address, routes, and nexthops on startup,
except those created by kernel. However, previously, routing policy
rules were not. The logic of serialization/deserialization of rules only
works for rules created by previous invocation of networkd, and does not
work for one created by other tools like `ip rule`.

This makes networkd drop foreign routing policy rules except created by
kernel on startup. Also, remove rules created by networkd when the
corresponding links are dropped or networkd is stopping.

3 years agonetwork: treat rule which has l3mdev flag as created by kernel
Yu Watanabe [Thu, 29 Oct 2020 02:55:12 +0000 (11:55 +0900)] 
network: treat rule which has l3mdev flag as created by kernel

3 years agonetwork: adjust protocol of rules sent from kernel when kernel does not support FRA_P...
Yu Watanabe [Thu, 29 Oct 2020 02:34:36 +0000 (11:34 +0900)] 
network: adjust protocol of rules sent from kernel when kernel does not support FRA_PROTOCOL

Otherwise, each configured rule is treated as foreign.

3 years agonetwork: set FRA_PROTOCOL to RTPROT_STATIC by default
Yu Watanabe [Wed, 28 Oct 2020 07:54:51 +0000 (16:54 +0900)] 
network: set FRA_PROTOCOL to RTPROT_STATIC by default

3 years agoMerge pull request #18048 from poettering/timesync-man-more
Luca Boccassi [Mon, 28 Dec 2020 12:28:35 +0000 (12:28 +0000)] 
Merge pull request #18048 from poettering/timesync-man-more

man: extend time-{set,sync}.target + systemd-timesyncd/wait-sync docs

3 years agoman: apply @Minoru's suggestions from code review 18048/head
Lennart Poettering [Mon, 28 Dec 2020 09:43:10 +0000 (10:43 +0100)] 
man: apply @Minoru's suggestions from code review

Co-authored-by: Alexander Batischev <eual.jp@gmail.com>
3 years agoman: extend time-{set,sync}.target + systemd-timesyncd/wait-sync docs
Lennart Poettering [Sun, 20 Dec 2020 20:03:53 +0000 (21:03 +0100)] 
man: extend time-{set,sync}.target + systemd-timesyncd/wait-sync docs

Let's link the three man pages together more tightly and explain what
the two targets are about, emphasizing local/quick/reliable/approximate
vs remote/slow/unreliable/accurate synchronization.

Follow-up for: 1431b2f701f7ba71e5d8664e709b1fad26797918 fe934b42e480473afba8a29a4a0d3d0e789543ac

3 years agoshared/dns: fix dlopen_idn return code check
Luca Boccassi [Mon, 28 Dec 2020 00:23:14 +0000 (00:23 +0000)] 
shared/dns: fix dlopen_idn return code check

Fixes https://github.com/systemd/systemd/issues/18078

3 years agosd-dhcp-client: avoid "maybe-uninitialized" warning in client_timeout_resend()
Thomas Haller [Wed, 23 Dec 2020 12:18:56 +0000 (13:18 +0100)] 
sd-dhcp-client: avoid "maybe-uninitialized" warning in client_timeout_resend()

When compiling with CFLAGS='-Werror=maybe-uninitialized -Og' we get a
warning about uninitialized "next_timeout" variable.

Avoid the warning by adding an (unreachable) "default" label.

Fixes: c24288d21ee9 ("sd-dhcp-client: correct dhcpv4 renew/rebind retransmit timeouts")
3 years agoMerge pull request #18021 from ssahani/route-allow-list
Yu Watanabe [Thu, 24 Dec 2020 13:31:37 +0000 (22:31 +0900)] 
Merge pull request #18021 from ssahani/route-allow-list

networkd: add support for prefix allow-list and route allow-list

3 years agotest-network: add tests for [IPv6AcceptRA] PrefixDenyList= or friends 18021/head
Yu Watanabe [Thu, 24 Dec 2020 04:50:48 +0000 (13:50 +0900)] 
test-network: add tests for [IPv6AcceptRA] PrefixDenyList= or friends

3 years agonetwork: introduce RouterAllowList= and RouterDenyList= in [IPv6AcceptRA]
Yu Watanabe [Thu, 24 Dec 2020 05:27:25 +0000 (14:27 +0900)] 
network: introduce RouterAllowList= and RouterDenyList= in [IPv6AcceptRA]

3 years agonetworkd: add support for prefix allow-list and route allow-list
Susant Sahani [Fri, 18 Dec 2020 19:28:38 +0000 (20:28 +0100)] 
networkd: add support for prefix allow-list and route allow-list

3 years agonetwork: rename DenyList= -> PrefixDenyList=
Yu Watanabe [Thu, 24 Dec 2020 05:00:24 +0000 (14:00 +0900)] 
network: rename DenyList= -> PrefixDenyList=

3 years agonetwork: make RouteDenyList= filter route prefix rather than gateway address
Yu Watanabe [Thu, 24 Dec 2020 04:12:40 +0000 (13:12 +0900)] 
network: make RouteDenyList= filter route prefix rather than gateway address

DenyList= filters provided prefixes, not router address.
So, RouteDenyLisy= should so for consistency.

Fixes 16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4.

3 years agonetwork: fix condition for checking the provided gateway is assigned to link
Yu Watanabe [Thu, 24 Dec 2020 04:07:30 +0000 (13:07 +0900)] 
network: fix condition for checking the provided gateway is assigned to link

Fix bug introduced by 221019166f315252304b3459902ead613b905de5.

3 years agosd-ndisc: fix indentation
Yu Watanabe [Thu, 24 Dec 2020 03:48:21 +0000 (12:48 +0900)] 
sd-ndisc: fix indentation

3 years agonetwork: drop redundant TAKE_PTR()
Yu Watanabe [Thu, 24 Dec 2020 00:13:47 +0000 (09:13 +0900)] 
network: drop redundant TAKE_PTR()

Follow-up for 16c89e649d248b0fc7c1dc7ad9f3323be4eac0f4.

3 years agoImprove instructions for debugging failing service
Sebastiaan van Stijn [Wed, 23 Dec 2020 22:51:04 +0000 (23:51 +0100)] 
Improve instructions for debugging failing service

In situations where a service fails to start, systemd suggests the user to
use "journalctl -xe" to get details about the failure. While running this
command does provide some additional details, most of the information is
similar to what was already printed when the service fails.

often the actual reason for the failure can be found in the logs of the
service that fails to start.

This patch updates the wording to suggest using "-u" to view the service
logs instead.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
3 years agoMerge pull request #18069 from flokli/ipv6-privacy-extensions-kernel
Yu Watanabe [Wed, 23 Dec 2020 23:56:24 +0000 (08:56 +0900)] 
Merge pull request #18069 from flokli/ipv6-privacy-extensions-kernel

network: fix IPv6PrivacyExtensions=kernel

3 years agonetwork: fix IPv6PrivacyExtensions=kernel handling 18069/head
Florian Klink [Wed, 23 Dec 2020 11:57:47 +0000 (12:57 +0100)] 
network: fix IPv6PrivacyExtensions=kernel handling

When set to "kernel", systemd is not supposed to touch that sysctl.

5e0534f1c13cd50ec2b143a8b18156cd37e502f7, part of
https://github.com/systemd/systemd/pull/17240 forgot to handle that
case.

Fixes https://github.com/systemd/systemd/issues/18003

3 years agonetwork: fix typo
Florian Klink [Wed, 23 Dec 2020 11:56:45 +0000 (12:56 +0100)] 
network: fix typo

IPv6 privacy extensions are plural, not singular.

3 years agocryptsetup: add support for workqueue options
Jonathan G. Underwood [Tue, 22 Dec 2020 20:04:52 +0000 (20:04 +0000)] 
cryptsetup: add support for workqueue options

This commit adds support for disabling the read and write
workqueues with the new crypttab options no-read-workqueue
and no-write-workqueue. These correspond to the cryptsetup
options --perf-no_read_workqueue and --perf-no_write_workqueue
respectively.

3 years agoman/systemd-nspawn: document hashing machine name for uid base
Dmitry Borodaenko [Wed, 23 Dec 2020 01:54:04 +0000 (17:54 -0800)] 
man/systemd-nspawn: document hashing machine name for uid base

Explicitly document the behavior introduced in #7437: when picking a new
UID shift base with "-U", a hash of the machine name will be tried
before falling back to fully random UID base candidates.

3 years agoudev: Updates for cdrom_id helper
pali [Sun, 20 Dec 2020 02:24:51 +0000 (03:24 +0100)] 
udev: Updates for cdrom_id helper

cdrom_id udev helper does not parse all MMC profiles. Following change
fixes this issue and parse all 34 profiles from all MMC standard versions.
Also it replaces magic constants by macros provided by linux/cdrom.h and
fixes cd_profiles_old_mmc() to issue READ_DISC_INFO command in two steps,
like it is doing kernel and also mkudffs.

3 years agobasic: add make_mount_point_inode helper
Luca Boccassi [Sat, 19 Dec 2020 21:40:47 +0000 (21:40 +0000)] 
basic: add make_mount_point_inode helper

Creates a file or a directory depending on the source path, useful
for creating mount points.

3 years agoudev: fix memleak
Yu Watanabe [Mon, 21 Dec 2020 06:28:19 +0000 (15:28 +0900)] 
udev: fix memleak

Fixes #18039.

3 years agojournal-importer: ignore invalid field at one more place
Yu Watanabe [Mon, 21 Dec 2020 07:33:20 +0000 (16:33 +0900)] 
journal-importer: ignore invalid field at one more place

Fixes oss-fuzz#28817.
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=28817

3 years agoman/localtime: document default timezone
Luca BRUNO [Mon, 21 Dec 2020 09:55:04 +0000 (09:55 +0000)] 
man/localtime: document default timezone

This explicitly documents the default `UTC` timezone which is used
by systemd and (other softwares) when `/etc/localtime` is not present.

Ref: https://github.com/systemd/systemd/blob/v247/src/basic/time-util.c#L1460-L1469

3 years agoman/systemd.netdev: clarify the wireguard AllowedIPs= setting
Florian Klink [Sun, 20 Dec 2020 17:24:05 +0000 (18:24 +0100)] 
man/systemd.netdev: clarify the wireguard AllowedIPs= setting

`AllowedIPs=` only affects "routing inside the network interface
itself", as in, which wireguard peer packets with a specific destination
address are sent to, and what source addresses are accepted from which
peer.

To cause packets to be sent via wireguard in first place, a route via
that interface needs to be added - either in the `[Routes]` section on
the `.network` matching the wireguard interface, or outside of networkd.

This is a common cause of misunderstanding, because tools like wg-quick
also add routes to the interface. However, those tools are meant as a
"extremely simple script for easily bringing up a WireGuard interface,
suitable for a few common use cases (from their manpage).

Networkd also should support other usecases - like setting AllowedIPs to
0.0.0.0/0 and ::/0 and having a dynamic routing protocol setting more
specific routes (or the user manually setting them).

Reported-In: https://github.com/systemd/systemd/issues/14176

3 years agoMerge pull request #18040 from mrc0mmand/cryptenroll-unused-variable
Yu Watanabe [Mon, 21 Dec 2020 00:21:22 +0000 (09:21 +0900)] 
Merge pull request #18040 from mrc0mmand/cryptenroll-unused-variable

cryptenroll: drop an unused variable

3 years agogithub: add the missing tpm2 optional dependency 18040/head
Frantisek Sumsal [Sun, 20 Dec 2020 21:27:36 +0000 (22:27 +0100)] 
github: add the missing tpm2 optional dependency

3 years agotravis: add missing optional build dependencies
Frantisek Sumsal [Sun, 20 Dec 2020 21:21:35 +0000 (22:21 +0100)] 
travis: add missing optional build dependencies

3 years agocryptenroll: drop an unused variable
Frantisek Sumsal [Sun, 20 Dec 2020 21:15:52 +0000 (22:15 +0100)] 
cryptenroll: drop an unused variable

Fixes following warning/error w/ clang:
../src/cryptenroll/cryptenroll-tpm2.c:64:64: error: unused variable 'a' [-Werror,-Wunused-variable]
        _cleanup_(json_variant_unrefp) JsonVariant *v = NULL, *a = NULL;
                                                               ^
1 error generated.

3 years agoMerge pull request #18029 from bluca/minor_fixes
Yu Watanabe [Sun, 20 Dec 2020 01:01:59 +0000 (10:01 +0900)] 
Merge pull request #18029 from bluca/minor_fixes

Minor test script runner and labeller bot fixes

3 years agomkosi: Add basic editors to final images
Daan De Meyer [Sat, 19 Dec 2020 18:47:50 +0000 (19:47 +0100)] 
mkosi: Add basic editors to final images

It's often useful to have an editor available to edit some random
config file in the final image. Let's install some basic editors
that don't take up too much space.

3 years agoAdd more matching rules to GA labeler bot for subcomponents 18029/head
Luca Boccassi [Sat, 19 Dec 2020 18:43:59 +0000 (18:43 +0000)] 
Add more matching rules to GA labeler bot for subcomponents

3 years agoFalse positives in GA labeler bot
Luca Boccassi [Sat, 19 Dec 2020 18:43:27 +0000 (18:43 +0000)] 
False positives in GA labeler bot

Don't automatically match on man/* and **/meson.build, since we change those
files as part of larger changes that we usually don't mark that way

3 years agotest: fix regex in run-integration-tests.sh
Luca Boccassi [Sat, 19 Dec 2020 18:42:20 +0000 (18:42 +0000)] 
test: fix regex in run-integration-tests.sh

The regex results in calls of "make setup run -again" which is broken

3 years agotest: use deny-list in run-integration-tests.sh
Luca Boccassi [Sat, 19 Dec 2020 18:41:03 +0000 (18:41 +0000)] 
test: use deny-list in run-integration-tests.sh

The old env var doesn't seem to be used anywhere, and the script
currently doesn't work, so it seems safe to change immediately

3 years agomkosi: Use --only-changed meson option when installing
Daan De Meyer [Sat, 19 Dec 2020 14:25:41 +0000 (15:25 +0100)] 
mkosi: Use --only-changed meson option when installing

Recently, mkosi gained support for specifying an --install-directory
option to save the contents of the install directory between bulids.
By enabling the --only-changed meson install option, meson won't
overwrite the contents of files that haven't changed since the last
build when using --install-directory.

3 years agoman: Advertise systemd-time-wait-sync.service more (#17729)
Alexander Batischev [Sat, 19 Dec 2020 11:17:49 +0000 (14:17 +0300)] 
man: Advertise systemd-time-wait-sync.service more (#17729)

* man: Advertise systemd-time-wait-sync.service more

The description of time-sync.target says that NTP services *should* pull
that target, but doesn't mention that e.g. systemd-timesyncd.service
doesn't actually do that. As a result, time-sync.target is reached way
earlier than people expect; see #5097, #8861, #11008.

systemd provides systemd-time-wait-sync.service to ameliorate this
problem, but doesn't feature it prominently in relevant manpages. In
fact, it's only mentioned in passing in systemd-timesyncd.service(8). As
a result, I ended up re-implementing that service, and I'm not the first
one: https://github.com/NixOS/nixpkgs/pull/51338

This patch adds a mention right in the description of time-sync.target,
which will hopefully raise awareness of this helper service.

3 years agotmpfiles: fix typo
Yu Watanabe [Fri, 18 Dec 2020 14:15:36 +0000 (23:15 +0900)] 
tmpfiles: fix typo

Follow-up for 94566540e3863032df3a8a89f948b94d764ca2b4.

3 years agoMerge pull request #18019 from yuwata/hostname-drop-libudev
Yu Watanabe [Fri, 18 Dec 2020 15:57:36 +0000 (00:57 +0900)] 
Merge pull request #18019 from yuwata/hostname-drop-libudev

hostname: fix build failure

3 years agoman: update org.freedesktop.hostname1.xml 18019/head
Yu Watanabe [Fri, 18 Dec 2020 14:25:43 +0000 (23:25 +0900)] 
man: update org.freedesktop.hostname1.xml

3 years agomemory-id: fix never hit condition
Yu Watanabe [Fri, 18 Dec 2020 09:47:44 +0000 (18:47 +0900)] 
memory-id: fix never hit condition

As sizeof(int64_t) is always 8.

3 years agohostname: fix build failure
Yu Watanabe [Fri, 18 Dec 2020 14:08:41 +0000 (23:08 +0900)] 
hostname: fix build failure

Follow-up for b9d8069832425b34211a6812e06537e0c50d46b6.

libudev.h was dropped from most of our binaries.

3 years agoMerge pull request #15531 from felipeborges/add-device-model-field-to-hostnamed
Lennart Poettering [Fri, 18 Dec 2020 13:26:32 +0000 (14:26 +0100)] 
Merge pull request #15531 from felipeborges/add-device-model-field-to-hostnamed

hostnamed: Add "Model" field

3 years agonetworkd: add RouteDenyList
Devon Pringle [Mon, 14 Dec 2020 06:23:17 +0000 (16:23 +1000)] 
networkd: add RouteDenyList

Allow configuration for IPv6 discovered routes to be ignored instead of
adding them as a route. This can be used to block unwanted routes, for
example, you may wish to not receive some set of routes on an interface
if they are causing issues.

3 years agoMerge pull request #18015 from keszybz/dmi-test-mesonification2
Yu Watanabe [Fri, 18 Dec 2020 12:44:00 +0000 (21:44 +0900)] 
Merge pull request #18015 from keszybz/dmi-test-mesonification2

Dmi test mesonification2

3 years agoMerge pull request #18011 from yuwata/trivial-fixes
Yu Watanabe [Fri, 18 Dec 2020 11:12:02 +0000 (20:12 +0900)] 
Merge pull request #18011 from yuwata/trivial-fixes

Trivial fixes for recently merged PRs

3 years agoMerge pull request #17693 from yuwata/tmpfiles-compress-nocow-on-btrfs
Yu Watanabe [Fri, 18 Dec 2020 07:52:29 +0000 (16:52 +0900)] 
Merge pull request #17693 from yuwata/tmpfiles-compress-nocow-on-btrfs

tmpfiles: try to set file attributes one by one

3 years agoMerge pull request #18009 from poettering/time-set-sync-target
Yu Watanabe [Fri, 18 Dec 2020 07:02:56 +0000 (16:02 +0900)] 
Merge pull request #18009 from poettering/time-set-sync-target

tweaks for time-sync.target and time-set.target

3 years agonetlink: fix size of fib rule messages 18011/head
Yu Watanabe [Fri, 18 Dec 2020 04:26:44 +0000 (13:26 +0900)] 
netlink: fix size of fib rule messages

3 years agomeson: sort files
Yu Watanabe [Fri, 18 Dec 2020 04:24:30 +0000 (13:24 +0900)] 
meson: sort files

3 years agonspawn: sort headers
Yu Watanabe [Fri, 18 Dec 2020 04:21:07 +0000 (13:21 +0900)] 
nspawn: sort headers

3 years agonetlink: fix indentation
Yu Watanabe [Fri, 18 Dec 2020 04:18:37 +0000 (13:18 +0900)] 
netlink: fix indentation

3 years agonetlink: drop unnecessary error handling
Yu Watanabe [Fri, 18 Dec 2020 04:17:49 +0000 (13:17 +0900)] 
netlink: drop unnecessary error handling

3 years agonetlink: use whitespace instead of tab
Yu Watanabe [Fri, 18 Dec 2020 04:14:08 +0000 (13:14 +0900)] 
netlink: use whitespace instead of tab

3 years agosd-netlink: add several assertions
Yu Watanabe [Fri, 18 Dec 2020 04:12:09 +0000 (13:12 +0900)] 
sd-netlink: add several assertions

3 years agosd-netlink: replace *messages[] -> **messages
Yu Watanabe [Fri, 18 Dec 2020 04:11:06 +0000 (13:11 +0900)] 
sd-netlink: replace *messages[] -> **messages

3 years agomeson: add missing headers
Yu Watanabe [Fri, 18 Dec 2020 04:05:19 +0000 (13:05 +0900)] 
meson: add missing headers

3 years agonetwork: move variable declaration
Yu Watanabe [Fri, 18 Dec 2020 04:00:57 +0000 (13:00 +0900)] 
network: move variable declaration

3 years agotree-wide: fix typo
Yu Watanabe [Fri, 18 Dec 2020 03:59:29 +0000 (12:59 +0900)] 
tree-wide: fix typo

3 years agotmpfiles: try to set file attributes one by one 17693/head
Yu Watanabe [Mon, 23 Nov 2020 06:49:51 +0000 (15:49 +0900)] 
tmpfiles: try to set file attributes one by one

Closes #17690.

3 years agochattr-util: introduce fallback mode to set file attributes one by one
Yu Watanabe [Fri, 27 Nov 2020 03:47:05 +0000 (12:47 +0900)] 
chattr-util: introduce fallback mode to set file attributes one by one

3 years agonetwork: Allow to configure unreachable/blackhole RoutingPolicyRule (#17984)
Susant Sahani [Fri, 18 Dec 2020 03:21:15 +0000 (08:51 +0530)] 
network: Allow to configure unreachable/blackhole RoutingPolicyRule (#17984)

3 years agoMerge pull request #17741 from poettering/cryptsetup-fido2
Lennart Poettering [Thu, 17 Dec 2020 21:37:22 +0000 (22:37 +0100)] 
Merge pull request #17741 from poettering/cryptsetup-fido2

cryptsetup: add support for unlocking cryptsetup volumes via FIDO2 + TPM2 + add systemd-cryptenroll tool + more

3 years agoman: document that .timer units now have After= on both time-set.target + time-sync... 18009/head
Lennart Poettering [Thu, 17 Dec 2020 19:26:24 +0000 (20:26 +0100)] 
man: document that .timer units now have After= on both time-set.target + time-sync.target

3 years agocore: order timer units after both time-sync.target and time-set.target
Lennart Poettering [Thu, 17 Dec 2020 19:21:46 +0000 (20:21 +0100)] 
core: order timer units after both time-sync.target and time-set.target

If users do not enable a service like systemd-time-wait-sync.target
(because they don't want to delay boot for external events, such as an
NTP sync), then timers should still take the the weaker time-set.target
feature into account, so that the clock is at least monotonic.

Hence, order timer units after both of the targets: time-sync.target
*and* time-set.target. That way, the right thing will happen regardless
if people have no NTP server (and thus also no
systemd-time-wait-sync.service or equivalent) or, only have an NTP
server (and no systemd-time-wait-sync.service), or have both.

Ordering after time-set.target is basically "free". The logic it is
backed by should be instant, without communication with the outside
going on. It's useful still so that time servers that implement the
timestamp from /var/ logic can run in later boot.

3 years agounits: don't pull in time-sync.target from systemd-timesyncd.service
Lennart Poettering [Thu, 17 Dec 2020 19:19:44 +0000 (20:19 +0100)] 
units: don't pull in time-sync.target from systemd-timesyncd.service

systemd-timesyncd.service only applies the much weaker monotonic clock
from file logic, i.e should pull in and order itself before
time-set.target. The strong time-sync.target unit is pulled in by
systemd-time-wait-sync.service.

3 years agoupdate TODO 17741/head
Lennart Poettering [Thu, 26 Nov 2020 13:42:23 +0000 (14:42 +0100)] 
update TODO

3 years agomkosi: add TPM2 packages to debian/ubuntu/fedora mkosi files
Lennart Poettering [Thu, 17 Dec 2020 13:16:15 +0000 (14:16 +0100)] 
mkosi: add TPM2 packages to debian/ubuntu/fedora mkosi files

As suggested: https://github.com/systemd/systemd/pull/17741#issuecomment-743479834