Yu Watanabe
751b440063
core: fix typo
2020-11-27 14:35:20 +09:00
Yu Watanabe
1c1729c9be
coccinelle: add rules for log_unit_error_errno() or friends
2020-11-27 14:35:20 +09:00
Yu Watanabe
72f092815a
network: fix return values
2020-11-27 14:35:20 +09:00
Yu Watanabe
5a9494bedb
network: use SYNTHETIC_ERRNO() macro
2020-11-27 14:35:20 +09:00
Yu Watanabe
d85ff94477
core: use SYNTHETIC_ERRNO() macro
2020-11-27 14:35:20 +09:00
Yu Watanabe
2762ce2d89
core/timer: drop unnecessary brackets
2020-11-27 14:35:20 +09:00
Yu Watanabe
dca63b5b46
Merge pull request #17474 from yuwata/network-drop-link-deserialization-logic
...
network: drop link deserialization logic
2020-11-27 09:08:01 +09:00
Yu Watanabe
0d5eb02134
Merge pull request #17478 from yuwata/split-network-internal
...
libsystemd-network: split network-internal.c
2020-11-27 09:04:19 +09:00
Pavel Sapezhko
6d8325f66a
resolved: allow cache responses from local DNS servers
2020-11-27 09:03:42 +09:00
Christian Hesse
2bb703e440
oom: fix oomd.conf install location
...
The file is read in pkgsysconfdir, so install it there.
2020-11-27 09:03:18 +09:00
Christian Hesse
72a4466e6e
home: fix homed.conf install location
...
The install location changed in d7aa78c32f
,
I think this was not intentional. Keep the condition but revert the path.
2020-11-27 09:02:55 +09:00
Zbigniew Jędrzejewski-Szmek
4d484e14bb
Merge pull request #17738 from keszybz/hwdb-news-update-v247
...
Update hwdb and news for v247
2020-11-26 19:00:50 +01:00
Zbigniew Jędrzejewski-Szmek
d5923e38bc
shared/seccomp-util: address family filtering is broken on ppc
...
This reverts the gist of da1921a5c3
and
0d9fca76bb
(for ppc).
Quoting #17559 :
> libseccomp 2.5 added socket syscall multiplexing on ppc64(el):
> https://github.com/seccomp/libseccomp/pull/229
>
> Like with i386, s390 and s390x this breaks socket argument filtering, so
> RestrictAddressFamilies doesn't work.
>
> This causes the unit test to fail:
> /* test_restrict_address_families */
> Operating on architecture: ppc
> Failed to install socket family rules for architecture ppc, skipping: Operation canceled
> Operating on architecture: ppc64
> Failed to add socket() rule for architecture ppc64, skipping: Invalid argument
> Operating on architecture: ppc64-le
> Failed to add socket() rule for architecture ppc64-le, skipping: Invalid argument
> Assertion 'fd < 0' failed at src/test/test-seccomp.c:424, function test_restrict_address_families(). Aborting.
>
> The socket filters can't be added so `socket(AF_UNIX, SOCK_DGRAM, 0);` still
> works, triggering the assertion.
Fixes #17559 .
2020-11-26 14:23:15 +01:00
Zbigniew Jędrzejewski-Szmek
d90922fbd3
NEWS: fix kernel version number reference
...
Fixes #17736 .
2020-11-26 14:01:09 +01:00
Zbigniew Jędrzejewski-Szmek
d0dcf59b78
NEWS: version 247
2020-11-26 13:54:37 +01:00
Zbigniew Jędrzejewski-Szmek
fe7576e345
hwdb: update chromiumos autosuspend rules
2020-11-26 13:54:37 +01:00
Zbigniew Jędrzejewski-Szmek
6a8b36e7aa
hwdb: update for v247
...
Only some small changes, because we updated recently. As usual, it seems that there are mostly
additions with a smaller amount of corrections, no big removals.
2020-11-26 13:54:37 +01:00
Zbigniew Jędrzejewski-Szmek
89341c83c3
docs/RELEASE: clarify which steps are done when
2020-11-26 13:54:37 +01:00
Dan Streetman
ebc815cd1c
test: use cap_last_cap() for max supported cap number, not capability_list_length()
...
This test assumes capability_list_length() is an invalid cap number,
but that isn't true if the running kernel supports more caps than we were
compiled with, which results in the test failing.
Instead use cap_last_cap() + 1.
If cap_last_cap() is 63, there are no more 'invalid' cap numbers to test with,
so the invalid cap number test part is skipped.
2020-11-26 13:35:48 +01:00
Whired Planck
9684a01ce4
Translated using Weblate (Chinese (Simplified))
...
Currently translated at 83.9% (157 of 187 strings)
Co-authored-by: Whired Planck <fungdaat31@outlook.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/master/zh_CN/
Translation: systemd/master
2020-11-26 12:52:34 +01:00
Zbigniew Jędrzejewski-Szmek
18c4e13457
Merge pull request #17622 from yuwata/udev-database-set-udev-version
...
sd-device: make sd_device_has_current_tag() compatible with udev database generated by older udevd
2020-11-26 12:48:05 +01:00
Lee Whalen
362ddd7756
add touchpad-edge-detect output for the Lenovo Thinkpad Extreme to evdev.hwdb
2020-11-26 10:51:38 +01:00
Yu Watanabe
35ad7113db
Merge pull request #17709 from yuwata/test-seccomp-skip
...
test: skip several tests in test-seccomp when running under valgrind or ASAN
2020-11-26 09:31:10 +09:00
Yu Watanabe
6ece7cd2b7
sd-device: make sd_device_has_current_tag() and friends compatible with database version 0
2020-11-26 08:29:17 +09:00
Yu Watanabe
58b30ada0b
sd-device: introduce database version and save it in udev database V field
2020-11-26 06:38:38 +09:00
Yu Watanabe
9e25cca130
sd-device: make device_add_property_internal() inline
2020-11-26 05:58:32 +09:00
Yu Watanabe
7a1fe27f81
man: slightly update the man page of sd_bus_message_read_basic()
...
Follow-up for 73a1d7d243
.
2020-11-25 14:52:40 +01:00
igo95862
78c4f2f153
man: Fixed an incomplete sentence
2020-11-25 22:27:17 +09:00
igo95862
73a1d7d243
man: Specify that sd_bus_message_read_basic returns 0 if end of array had been reached.
2020-11-25 14:10:26 +01:00
Lennart Poettering
5695ee502d
docs: document what VPNs should do to systemd-resolved.service
...
Fixes : #17588 #17512
Prompted-by: #17529
(Also relevant: #6076 )
2020-11-25 14:08:37 +01:00
Yu Watanabe
2fa0bd7d57
core/mount: mount command may fail after adding the corresponding proc mountinfo entry
...
Hopefully fixes #17617 .
2020-11-25 13:53:26 +01:00
Zbigniew Jędrzejewski-Szmek
9642983a51
Merge pull request #17715 from yuwata/specifier-follow-ups
...
Sort specifiers
2020-11-25 13:22:56 +01:00
Lennart Poettering
8bc6ade721
cryptsetup: use log_warning_errno() where we can, instead of log_warning()
2020-11-25 13:21:27 +01:00
Zbigniew Jędrzejewski-Szmek
ef58c14587
Merge pull request #17721 from poettering/more-strjoin-cryptsetup
...
two minor fixes/clean-ups
2020-11-25 13:20:42 +01:00
Lennart Poettering
e2c5e698c0
mkosi: make sure our mkosi files work with f33
2020-11-25 13:18:36 +01:00
Yu Watanabe
a0dfd10a3d
test: skip several tests in test-seccomp when running on asan
2020-11-25 13:08:19 +01:00
Yu Watanabe
866f698b66
test: skip several tests in test-seccomp when running on valgrind
2020-11-25 13:08:19 +01:00
Pavel Sapezhko
77f5277a7a
man: clarify DefaultTasksMax doc
2020-11-25 12:28:05 +01:00
Lennart Poettering
cb42e63179
units: typo fix /proc/<pid>/exec → /proc/<pid>/exe
...
Fix a pretty relevant typo introduced in
c7faa23235
.
2020-11-25 11:23:38 +01:00
Lennart Poettering
090685b5a1
cryptsetup: use strjoin() for concatenating strings
2020-11-25 11:19:06 +01:00
Franck Bui
c7faa23235
units: document why CAP_SYS_PTRACE is needed by journald
2020-11-25 09:54:28 +01:00
Yu Watanabe
48e0abb535
tree-wide: fix typo
2020-11-25 09:48:17 +01:00
Yu Watanabe
e93387f38b
tree-wide: sort specifiers and move common comments to specifier.h
2020-11-25 15:12:27 +09:00
Yu Watanabe
55318801ba
man: sort specifiers alphabetically
2020-11-25 14:39:10 +09:00
Yu Watanabe
46a3adeef3
man: add missing specifiers supported in [INSTALL] section
2020-11-25 14:38:50 +09:00
Lennart Poettering
2824aa0796
specifiers: introduce common macros for generating specifier tables
...
In many cases the tables are largely the same, hence define a common set
of macros to generate the common parts.
This adds in a couple of missing specifiers here and there, so is more
thant just refactoring: it actually fixes accidental omissions.
Note that some entries that look like they could be unified under these
macros can't really be unified, since they are slightly different. For
example in the DNSSD service logic we want to use the DNSSD hostname for
%H rather than the unmodified kernel one.
2020-11-25 14:13:02 +09:00
Michael Biebl
ff84fadbf1
Merge pull request #17706 from ddstreet/test-move-pam-systemd-user
...
test/test-functions: copy /usr/lib/pam.d into $initdir
2020-11-24 21:45:12 +01:00
Lennart Poettering
7bfcc0de6a
NEWS: mention that we intend to retrigger udev devices on package upgrade
...
Also, mention RISCV GPT partition types have been defined.
2020-11-24 20:13:48 +01:00
Christoph Ruegge
d2e545f88e
pam_systemd_home: export password as PAM_AUTHTOK
2020-11-24 17:49:43 +01:00
Lennart Poettering
567fe1d570
Merge pull request #17680 from yuwata/udev-link-mac-address
...
udev: to make MACAddress= take effect, MACAddressPolicy= must be "none"
2020-11-24 17:42:45 +01:00