1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00
Commit Graph

55141 Commits

Author SHA1 Message Date
Jan Janssen
1ad2c76d5d meson: Auto detect efi-ld 2021-12-11 11:29:30 +01:00
Jan Janssen
aa22e69856 ci: Build test with different linkers 2021-12-11 11:03:29 +01:00
Jonas Jelten
3abdd4bf2e network-generator: support link6 network configuration
this just brings up an interface in order to have IPv6 link local
connectivity.
2021-12-11 11:03:42 +09:00
igo95862
9ff2b35f87 Export systemd-networkd D-Bus XML introspection 2021-12-11 00:42:39 +00:00
Zbigniew Jędrzejewski-Szmek
40676ce6f8
Merge pull request #21722 from yuwata/bpf-framework
build: include BPF_FRAMEWORK in version string
2021-12-10 17:18:24 +01:00
Frantisek Sumsal
f4ec527492
Merge pull request #21708 from mrc0mmand/mkosi-ci-improvements
ci: check for failed services after boot
2021-12-10 13:50:55 +00:00
Yu Watanabe
d1dfedcf85 test: addresses shell check warning
This fixes the following warning:
-----
In /github/workspace/test/units/testsuite-62.sh line 39:
KERNEL_MINOR="${KERNEL_VERSION#$KERNEL_MAJOR.}"
                               ^-----------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean:
KERNEL_MINOR="${KERNEL_VERSION#"$KERNEL_MAJOR".}"
2021-12-10 20:07:38 +09:00
Yu Watanabe
85445fba22 test: skip TEST-62 if bpf-framework is not supported
Fixes #21718.
2021-12-10 19:54:33 +09:00
Yu Watanabe
6b35ed80ed build: include BPF_FRAMEWORK tag in version string 2021-12-10 19:54:33 +09:00
Yu Watanabe
77a34a3751 meson: use subdir_done() to reduce indent 2021-12-10 19:54:33 +09:00
LaserEyess
ea5e55b311 network: rename SetupState to AdministrativeState
This is more consistent with the terminology used elsewhere. In
particular it is consistent with the name of the property exposed over
dbus for the link state.
2021-12-10 18:42:34 +09:00
Frantisek Sumsal
f7e3951d41 ci: run mkosi in a wrapper
So we can mitigate (to some degree) the reoccurring "dissect timeout"
issue:

```
Run sudo python3 -m mkosi boot systemd.unit=mkosi-check-and-shutdown.service !quiet systemd.log_level=debug systemd.log_target=console udev.log_level=info systemd.default_standard_output=journal+console
Failed to dissect image '/home/runner/work/systemd/systemd/image.raw': Connection timed out
Error: Process completed with exit code 1.
```
2021-12-10 10:25:45 +01:00
Frantisek Sumsal
24acd4064e ci: check for failed services after boot
This should, hopefully, catch issues like systemd/systemd#21671
automagically.
2021-12-10 10:25:43 +01:00
igo95862
e3c6892455 Export D-Bus interfaces to /usr/share/dbus-1/interfaces
Pass -Ddbus-interfaces-dir=no to meson to disable export

Interfaces from:
org.freedesktop.home1
org.freedesktop.hostname1
org.freedesktop.import1
org.freedesktop.locale1
org.freedesktop.LogControl1
org.freedesktop.login1
org.freedesktop.machine1
org.freedesktop.oom1
org.freedesktop.portable1
org.freedesktop.resolve1
org.freedesktop.systemd1
org.freedesktop.timedate1
2021-12-10 08:51:58 +01:00
Luca Boccassi
082c676165 meson: exclude .gitattributes when using install_subdir
It picks the whole content of the directory by default, but we don't
want to install .gitattributes files. Add it to all invocations, not
just the ones on subdirs with .gitattributes, so that we don't regress
in the future.

Fixes #21715
2021-12-10 07:30:58 +01:00
Yu Watanabe
ee1eecfe4d man: fix typo 2021-12-10 07:27:43 +01:00
наб
2dd9285bac journalctl: have -f and -e imply no-value -b
Both of these take multiple seconds, best-case, to get the last few
entries, but do so instantly with -b
2021-12-10 07:27:09 +01:00
Mike Gilbert
9dc78edccc shared: avoid x86_64-specific size assertion on x32
Fixes: https://github.com/systemd/systemd/issues/21713
2021-12-10 07:26:18 +01:00
Zbigniew Jędrzejewski-Szmek
e67a5c14f0 man: let's not say we link to raw .rst file 2021-12-09 19:21:55 +01:00
Daan De Meyer
1f013e0c49 process-util: Fix memory leak 2021-12-09 18:13:04 +01:00
Zbigniew Jędrzejewski-Szmek
e63fa0756c NEWS: final update before -rc1 2021-12-09 15:32:55 +01:00
Zbigniew Jędrzejewski-Szmek
408ad9e4ba
Merge pull request #21704 from keszybz/news-250-2
Adjust news and version numbers for v250-rc1
2021-12-09 15:10:24 +01:00
Ludwig Nussel
a9c3cc8db0 systemctl: add shutdown --show option
Shows the scheduled shutdown action and time if there's one.
2021-12-09 15:07:40 +01:00
Yu Watanabe
b55093ce88 network: dhcp: make IPServiceType= accept "none" to disable tos in the outgoing packet
Fixes #9874.
2021-12-09 15:06:20 +01:00
Zbigniew Jędrzejewski-Szmek
93485626a1
Merge pull request #21700 from keszybz/v250-hwdb
Update hwdb
2021-12-09 15:05:19 +01:00
Daan De Meyer
808b23ecf6 mkosi: Build Fedora 35 images 2021-12-09 15:05:01 +01:00
Yu Watanabe
71df07760e network: sd-ipv4ll and sd-ipv4acd only support ethernet interfaces
The deny list in link_ipv4ll_enabled() are mostly non-ethernet type,
whose link->iftype are not ARPHRD_ETHER, e.g. ARPHRD_NONE for bareudp,
ARPHRD_WIREGURAD for wireguard, ARPHRD_GRE for gre, and so on.

Only the exception is vrf, which is ARPHRD_ETHER, but seems not to
support ARP.
2021-12-09 15:04:43 +01:00
Zbigniew Jędrzejewski-Szmek
014e7dffd4
Merge pull request #21697 from keszybz/run-more-inodes
Allow more inodes in /dev and /tmp
2021-12-09 15:04:16 +01:00
Zbigniew Jędrzejewski-Szmek
831167f9b4 meson: bump numbers for v250-rc1 2021-12-09 13:33:39 +01:00
Zbigniew Jędrzejewski-Szmek
484abbe63b NEWS: add contributors 2021-12-09 13:31:11 +01:00
Zbigniew Jędrzejewski-Szmek
2b3a481f8d
Merge pull request #21696 from keszybz/openssl-suppress-warnings
Suppress openssl-3.0 warnings
2021-12-09 13:25:14 +01:00
Zbigniew Jędrzejewski-Szmek
368910b1bf NEWS: fix crucial cultural misappropriation 2021-12-09 12:53:15 +01:00
Zbigniew Jędrzejewski-Szmek
6abe882bae meson: add missing final newline in jinja2 outputs
I think this might be caused by trim_blocks=True. We were
missing the final newline everywhere.
2021-12-09 12:46:19 +01:00
Zbigniew Jędrzejewski-Szmek
3f532f9216 man: bump Fedora version to 35
Fedora-Cloud-Base-35-1.2.x86_64.qcow2 is again the latest version.
2021-12-09 12:43:34 +01:00
Zbigniew Jędrzejewski-Szmek
dcdc652feb NEWS: adjust wording and reorder by category
Also wrap stuff to 80 columns, fix some spelling mistakes, and remove some
repetitions in phrasing.
2021-12-09 12:40:09 +01:00
Yu Watanabe
01081e2eab
Merge pull request #21692 from yuwata/network-wireguard-allow-to-start-ndisc-or-radv
network: wireguard: allow to start ndisc or radv
2021-12-09 19:53:58 +09:00
Yu Watanabe
63b7d34716 NEWS: add more entries for v250 2021-12-09 19:40:38 +09:00
Daan De Meyer
6959a051cf NEWS file additions 2021-12-09 11:30:00 +01:00
Zbigniew Jędrzejewski-Szmek
cac372a801 Bump the max number of inodes for /tmp to a million too
Fixes #21626. (The bug report talks about /run, but the issue is actually with
/tmp.) People use /tmp for various things that fit in memory, e.g. unpacking
packages, and 400k is not much. Let's raise is a bit.
2021-12-09 11:27:58 +01:00
Zbigniew Jędrzejewski-Szmek
a420bbb6e2 hwdb: update for v250
As usual, there are mostly additions of new entries, and some spelling
correction and company renames, no big removals.
2021-12-09 11:05:15 +01:00
Zbigniew Jędrzejewski-Szmek
2fc5b264c5 hwdb: ninja -C build update-hwdb-autosuspend 2021-12-09 11:00:56 +01:00
Zbigniew Jędrzejewski-Szmek
6a4457fd9d Revert "ci: temporarily set -Wno-deprecated-declarations in Packit"
This reverts commit 684e0a5605.

The warnigs are not suppressed in the C code.
2021-12-09 10:27:18 +01:00
Zbigniew Jędrzejewski-Szmek
acfdfb8620 openssl: supress warnings about functions deprecated by openssl 3.0
We get warnings for RSA_free(), EC_KEY_free(), EC_KEY_new(), etc. Those
functions are now deprecated and we're supposed to use the new "EVP API" that
is all the rage in openssl 3.0.

With some effort I converted dnssec_rsa_verify_raw() to use the new API.  The
code is significantly longer and, if anything, less readable. The EC code is
more complicated and I assume that the EVP API version will be even more
complex. It is possiblet that I'm missing some way to call the new functions in
a better way, but the documentation is abysmal, so it's really hard to figure
out the best way. Of course there are almost no examples, and the ones that are
there are not terribly useful and are also stubs that don't do interesting
things, don't implement error handling, or memory cleanup. I'll submit my
conversion draft as a separate PR. Maybe somebody who knows openssl better
will pick it up and write a proper solution.

For now, let's just use the existing code, but suppress the warnings. The
new version just came out, so it's unlikely that the deprecated functions will
be removed any time soon.

Fixes #21666.
2021-12-09 10:27:18 +01:00
Zbigniew Jędrzejewski-Szmek
e98d0662ff Bump the max number of inodes for /dev to a million
4c733d3046 shows that 95k can be used easily on a large
system. Let's bump it up even more so that we have some "breathing room".
2021-12-09 10:09:17 +01:00
Zbigniew Jędrzejewski-Szmek
0c62d52fe6
Merge pull request #21691 from yuwata/network-route-prefix-length
network: route: several tiny cleanups
2021-12-09 09:24:36 +01:00
Yu Watanabe
ab8a8a4e77 libsystemd-network: ignore -ENETDOWN or friends in recv()
And this makes most errors in io events ignored.
2021-12-09 09:10:51 +01:00
Yu Watanabe
d2d602f4b4 network: refuse empty or numeric route table names 2021-12-09 09:06:41 +01:00
Yu Watanabe
283f7c9872 doc: fix typo 2021-12-09 08:50:19 +01:00
Yu Watanabe
e096cab2f3 network: wireguard: allow to run NDisc and RADV when IPv6LL address is manually configured
Fixes #17380.
2021-12-09 15:57:47 +09:00
Yu Watanabe
78ef25a5aa network: address: add scope in debugging logs 2021-12-09 15:28:06 +09:00