]> git.ipfire.org Git - thirdparty/systemd.git/log
thirdparty/systemd.git
3 years agotest: add test for truncation of program result invoked by udev 21765/head
Yu Watanabe [Mon, 13 Dec 2021 23:31:23 +0000 (08:31 +0900)] 
test: add test for truncation of program result invoked by udev

3 years agoudev: refuse to process line when invalid program output is obtained
Yu Watanabe [Wed, 15 Dec 2021 22:49:18 +0000 (07:49 +0900)] 
udev: refuse to process line when invalid program output is obtained

3 years agoudev: do not import property value from truncated line of program result
Yu Watanabe [Wed, 15 Dec 2021 22:47:24 +0000 (07:47 +0900)] 
udev: do not import property value from truncated line of program result

3 years agoudev: warn about truncation of program result
Yu Watanabe [Mon, 13 Dec 2021 23:21:58 +0000 (08:21 +0900)] 
udev: warn about truncation of program result

Closes #21078.

3 years agoudev: warn when result of string substitution is truncated
Yu Watanabe [Mon, 13 Dec 2021 23:05:41 +0000 (08:05 +0900)] 
udev: warn when result of string substitution is truncated

3 years agotest: add tests for strnpcpy_full() and friends
Yu Watanabe [Wed, 15 Dec 2021 21:19:28 +0000 (06:19 +0900)] 
test: add tests for strnpcpy_full() and friends

3 years agoutil: introduce strnpcpy_full() and friends to provide whether result is truncated...
Yu Watanabe [Mon, 13 Dec 2021 22:33:53 +0000 (07:33 +0900)] 
util: introduce strnpcpy_full() and friends to provide whether result is truncated or not

3 years agoMerge pull request #21868 from lucab/ups/factory-locale-conf
Yu Watanabe [Sat, 25 Dec 2021 06:09:35 +0000 (15:09 +0900)] 
Merge pull request #21868 from lucab/ups/factory-locale-conf

factory: populate /etc/locale.conf with systemd build-time setting

3 years agoMerge pull request #21762 from yuwata/udev-ctrl-do-not-kill
Yu Watanabe [Sat, 25 Dec 2021 06:08:13 +0000 (15:08 +0900)] 
Merge pull request #21762 from yuwata/udev-ctrl-do-not-kill

udev: do not kill "udevadm control" processes in the same cgroup

3 years agobus-dump: change capture output to use pcapng (#21738)
Stephen Hemminger [Sat, 25 Dec 2021 06:07:40 +0000 (22:07 -0800)] 
bus-dump: change capture output to use pcapng (#21738)

This patch changes busctl capture to generate pcapng format
instead of the legacy pcap format files. It includes basic
meta-data in the file and still uses microsecond time
resolution. In future, more things can be added such as
high resolution timestams, statistics, etc.

PCAP Next Generation capture file format is what tshark uses
and is in process of being standardized in IETF. It is also
readable with libpcap.

$ capinfos /tmp/new.pcapng
File name:           /tmp/new.pcapng
File type:           Wireshark/... - pcapng
File encapsulation:  D-Bus
File timestamp precision:  microseconds (6)
Packet size limit:   file hdr: (not set)
Packet size limit:   inferred: 4096 bytes
Number of packets:   22
File size:           21kB
Data size:           20kB
Capture duration:    0.005694 seconds
First packet time:   2021-12-11 11:57:42.788374
Last packet time:    2021-12-11 11:57:42.794068
Data byte rate:      3,671kBps
Data bit rate:       29Mbps
Average packet size: 950.27 bytes
Average packet rate: 3,863 packets/s
SHA256:              b85ed8b094af60c64aa6d9db4a91404e841736d36b9e662d707db9e4096148f1
RIPEMD160:           81f9bac7ec0ec5cd1d55ede136a5c90413894e3a
SHA1:                8400822ef724b934d6000f5b7604b9e6e91be011
Strict time order:   True
Capture oper-sys:    Linux 5.14.0-0.bpo.2-amd64
Capture application: systemd 250 (250-rc2-33-gdc79ae2+)
Number of interfaces in file: 1
Interface #0 info:
                     Encapsulation = D-Bus (146 - dbus)
                     Capture length = 4096
                     Time precision = microseconds (6)
                     Time ticks per second = 1000000
                     Number of stat entries = 0
                     Number of packets = 22

3 years agoMerge pull request #21737 from yuwata/network-wait-dsa-master-up
Yu Watanabe [Sat, 25 Dec 2021 06:05:36 +0000 (15:05 +0900)] 
Merge pull request #21737 from yuwata/network-wait-dsa-master-up

network: wait for DSA master up

3 years agoMerge pull request #21648 from yuwata/network-tunnel-local-automatic-address-selection
Yu Watanabe [Sat, 25 Dec 2021 06:05:13 +0000 (15:05 +0900)] 
Merge pull request #21648 from yuwata/network-tunnel-local-automatic-address-selection

network: tunnel: automatic local address selection

3 years agoMerge pull request #21871 from keszybz/meson-sbat-report
Yu Watanabe [Sat, 25 Dec 2021 06:03:50 +0000 (15:03 +0900)] 
Merge pull request #21871 from keszybz/meson-sbat-report

Report sbat settings in meson summary

3 years agoMerge pull request #21888 from mrc0mmand/ci-more-build-coverage
Yu Watanabe [Sat, 25 Dec 2021 06:03:08 +0000 (15:03 +0900)] 
Merge pull request #21888 from mrc0mmand/ci-more-build-coverage

ci: test build with supported cryptolibs to some degree

3 years agolist: drop unnecessary line continuation
Yu Watanabe [Fri, 24 Dec 2021 10:21:16 +0000 (19:21 +0900)] 
list: drop unnecessary line continuation

Fixes #21886.

3 years agoci: test build with supported cryptolibs to some degree 21888/head
Frantisek Sumsal [Fri, 24 Dec 2021 10:50:37 +0000 (11:50 +0100)] 
ci: test build with supported cryptolibs to some degree

Let's assign a specific -Dcryptolib= value to each job to have at least
some coverage for all supported cryptolibs without unnecessarily
multiplying the test matrix.

Should provide coverage for #21880.

3 years agoci: drop build test with -O2, since it's covered by -O3 tests
Frantisek Sumsal [Fri, 24 Dec 2021 10:45:51 +0000 (11:45 +0100)] 
ci: drop build test with -O2, since it's covered by -O3 tests

3 years agomeson: fix build with -Dcryptolib=openssl -Ddns-over-tls=false
Yu Watanabe [Fri, 24 Dec 2021 01:06:13 +0000 (10:06 +0900)] 
meson: fix build with -Dcryptolib=openssl -Ddns-over-tls=false

Previously, when -Ddns-over-tls=false, libopenssl was missing in the
dependency of resolved.
Also, this drops libgpg_error when it is not necessary.

Replaces #21878.

3 years agoman: also add anotations for methods
Yu Watanabe [Fri, 24 Dec 2021 05:52:44 +0000 (14:52 +0900)] 
man: also add anotations for methods

Fixes #21882.

3 years agomissing-syscall: define all MOUNT_ATTR_* if missing
Yu Watanabe [Fri, 24 Dec 2021 00:15:51 +0000 (09:15 +0900)] 
missing-syscall: define all MOUNT_ATTR_* if missing

Fixes #21876.

3 years agoNEWS: finalize release v250
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 12:32:03 +0000 (13:32 +0100)] 
NEWS: finalize release

3 years agoanalyze: fix segfault when malloc() fails (#21874)
Yu Watanabe [Thu, 23 Dec 2021 20:03:16 +0000 (05:03 +0900)] 
analyze: fix segfault when malloc() fails (#21874)

Fixes #21872.

log_syntax_callback sets 's', a.k.a. '*userdata', to POINTER_MAX to signal allocation failure.
If the error does not cause immediate failure of the program, and log_syntax_callback is called
again, it would try to use 's' as a pointer to a set and fail badly.

3 years agoMerge pull request #21869 from yuwata/sd-journal-fix-segfault
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 19:07:41 +0000 (20:07 +0100)] 
Merge pull request #21869 from yuwata/sd-journal-fix-segfault

sd-journal: fix segfault

3 years agomeson: report SBAT settings 21871/head
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 12:19:42 +0000 (13:19 +0100)] 
meson: report SBAT settings

3 years agoMerge pull request #21870 from keszybz/cleanup-and-comments
Luca Boccassi [Thu, 23 Dec 2021 17:43:37 +0000 (17:43 +0000)] 
Merge pull request #21870 from keszybz/cleanup-and-comments

Use _cleanup_ and adjust comments

3 years agofactory/locale.conf: mention systemd ownership 21868/head
Luca BRUNO [Thu, 23 Dec 2021 12:35:26 +0000 (12:35 +0000)] 
factory/locale.conf: mention systemd ownership

This explicitly mentions that comments and empty lines are supported
(and ignored) in /etc/locale.conf. It then adds ownership reference
to the factory default.

3 years agomeson: move efi summary() section to src/boot/efi
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 12:05:01 +0000 (13:05 +0100)] 
meson: move efi summary() section to src/boot/efi

This way we can add the entries more naturally in the same place where
they are defined.

3 years agomeson: move efi file lists closer to where they are used
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 11:55:40 +0000 (12:55 +0100)] 
meson: move efi file lists closer to where they are used

The goal is to have the detection of features and paths done first, and
then the build target constructions second.

3 years agosrc/basic: adjust grammar in comments 21870/head
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 12:26:09 +0000 (13:26 +0100)] 
src/basic: adjust grammar in comments

3 years agoshared: re-wrap comment
Zbigniew Jędrzejewski-Szmek [Fri, 17 Dec 2021 15:04:33 +0000 (16:04 +0100)] 
shared: re-wrap comment

3 years agohostname: use _cleanup_ in one more place
Zbigniew Jędrzejewski-Szmek [Fri, 17 Dec 2021 14:22:18 +0000 (15:22 +0100)] 
hostname: use _cleanup_ in one more place

3 years agosd-journal: fix segfault when match_new() fails 21869/head
Yu Watanabe [Thu, 23 Dec 2021 12:45:29 +0000 (21:45 +0900)] 
sd-journal: fix segfault when match_new() fails

Fixes #21867.

3 years agosd-journal: free incomplete match on failure
Yu Watanabe [Thu, 23 Dec 2021 12:35:29 +0000 (21:35 +0900)] 
sd-journal: free incomplete match on failure

3 years agoMerge pull request #21866 from yuwata/update-hwdb-and-news-v250
Zbigniew Jędrzejewski-Szmek [Thu, 23 Dec 2021 12:30:26 +0000 (13:30 +0100)] 
Merge pull request #21866 from yuwata/update-hwdb-and-news-v250

Update hwdb and news for v250

3 years agoboot: Use correct handle to find TextInputEx protocol
Jan Janssen [Tue, 21 Dec 2021 16:10:42 +0000 (17:10 +0100)] 
boot: Use correct handle to find TextInputEx protocol

LibLocateProtocol will return the protocol for the first device that
supports it. But it may not actually come from the ConIn device that
we want to use here.

This should be the root cause of what was previously considered just
broken firmware. If you ask the wrong device to return some key, of
course it will never provide one.

This changes the way we handle input yet again in light of this new
knowledge and because using the correct TextInputEx with fallback to
ConIn can actually create double input in some cases.

Since we are now confident that we get the right TextInputEx, we can
use that exclusively, only falling back to ConIn if the console input
device does not support the better interface (the spec is pretty clear
that it must support it, though).

Because some firmware is broken, we still need to provide a fallback
to the previously used TextInputEx thats overrides ConIn/ConInEx if
it is functional.

3 years agofactory: populate /etc/locale.conf with systemd build-time setting
Luca BRUNO [Thu, 23 Dec 2021 11:01:07 +0000 (11:01 +0000)] 
factory: populate /etc/locale.conf with systemd build-time setting

This adds /etc/locale.conf to the set of configuration files
populated by tmpfiles.d factory /etc handling.
In particular, the build-time locale configuration in systemd is
now wired to a /usr factory file, and installed to the system.
On boot, if other locale customization tools did not write
/etc/locale.conf on the system, the factory default file gets
copied to /etc by systemd-tmpfiles.
This is done in order to avoid skews between different system
components when no locale settings are configured. At that point,
systemd can safely act as the fallback owner of /etc/locale.conf.

3 years agoNEWS: update contributors list and release date 21866/head
Yu Watanabe [Thu, 23 Dec 2021 10:40:32 +0000 (19:40 +0900)] 
NEWS: update contributors list and release date

3 years agohwdb: update hwdb for v250-final
Yu Watanabe [Thu, 23 Dec 2021 10:36:06 +0000 (19:36 +0900)] 
hwdb: update hwdb for v250-final

Generated by `meson compile -C build update-hwdb update-hwdb-autosuspend`.

3 years agomachined: set TTYPath for container shell
Ludwig Nussel [Tue, 21 Dec 2021 10:38:49 +0000 (11:38 +0100)] 
machined: set TTYPath for container shell

TTYPath is needed for proper utmp registration of the shell to
receive wall messages.

3 years agoman: reindent and rebreak systemd.network
Yu Watanabe [Thu, 23 Dec 2021 07:49:42 +0000 (16:49 +0900)] 
man: reindent and rebreak systemd.network

Also fixes the following:
- IPServiceType= is moved to [DHCPv4] section,
- drop an incorrect sentence in RouteMTUBytes= in [DHCPv4] section.
- drop unnecessary word 'unsigned'.

3 years agomeson: fix typo
Yu Watanabe [Thu, 23 Dec 2021 08:01:55 +0000 (17:01 +0900)] 
meson: fix typo

3 years agoanalyze: do not connect to DBUS with --offline
Luca Boccassi [Wed, 22 Dec 2021 18:31:15 +0000 (18:31 +0000)] 
analyze: do not connect to DBUS with --offline

Co-authored-by: Lucas Werkmeister <mail@lucaswerkmeister.de>
3 years agoMerge pull request #21858 from yuwata/fix-test-home
Luca Boccassi [Wed, 22 Dec 2021 16:14:53 +0000 (16:14 +0000)] 
Merge pull request #21858 from yuwata/fix-test-home

test: workaround for TEST-46-HOMED

3 years agoboot: Use -fvisibility=hidden instead of -fwhole-program
Jan Janssen [Wed, 22 Dec 2021 12:35:05 +0000 (13:35 +0100)] 
boot: Use -fvisibility=hidden instead of -fwhole-program

It's functionally the same for sd-boot, but using visibilty
is generally preferred over whole-program.

3 years agomeson: make it compatible with AFL and honggfuzz again
Evgeny Vereshchagin [Tue, 21 Dec 2021 21:05:10 +0000 (21:05 +0000)] 
meson: make it compatible with AFL and honggfuzz again

afl-clang and hufzz-clang try to instrument the code and the
underlying compilers don't like it. It should probably be
fixed in both afl and honggfuzz eventually but until then
let's just use "raw" clang to build bpf-skeletons.

It's a follow-up to https://github.com/systemd/systemd/pull/21607

3 years agotest: wait for user inactive 21858/head
Yu Watanabe [Wed, 22 Dec 2021 07:52:47 +0000 (16:52 +0900)] 
test: wait for user inactive

The user may be busy when auto-rebalancing the user's home device.

Workaround for #21589.

---
Dec 01 15:03:15 H systemd-homework[1078]: Provided password unlocks user record.
Dec 01 15:03:15 H systemd-homework[1078]: Image file '/home/test-user.home' already locked, can't use.
Dec 01 15:03:15 H systemd-homed[240]: Worker reported error code EADDRINUSE.
Dec 01 15:03:15 H systemd-homed[240]: Activation failed: Address already in use
---

3 years agotest: remove test-user2
Yu Watanabe [Wed, 22 Dec 2021 06:43:05 +0000 (15:43 +0900)] 
test: remove test-user2

Otherwise, we cannot run the test multiple times.

3 years agohome: update log message
Yu Watanabe [Wed, 22 Dec 2021 08:11:31 +0000 (17:11 +0900)] 
home: update log message

The ratelimit hits even when the all previous attempts are successfull.

3 years agoMerge pull request #21848 from yuwata/errno-name-drop-aliases
Yu Watanabe [Wed, 22 Dec 2021 08:27:12 +0000 (17:27 +0900)] 
Merge pull request #21848 from yuwata/errno-name-drop-aliases

errno-name: drop aliases defined for specific arch

3 years agotest: add test for errno-list.[ch] 21848/head
Yu Watanabe [Tue, 21 Dec 2021 23:51:41 +0000 (08:51 +0900)] 
test: add test for errno-list.[ch]

3 years agoerrno-name: drop aliases defined for specific arch
Yu Watanabe [Tue, 21 Dec 2021 11:34:23 +0000 (20:34 +0900)] 
errno-name: drop aliases defined for specific arch

In kernel's arch/parisc/include/uapi/asm/errno.h, ECANCELLED and
EREFUSED are defined as aliases of ECANCELED and ECONNREFUSED,
respectively. Let's drop them.

Fixes #21844.

3 years agoMerge pull request #21857 from loongarch64/dev-pr1
Yu Watanabe [Wed, 22 Dec 2021 06:20:20 +0000 (15:20 +0900)] 
Merge pull request #21857 from loongarch64/dev-pr1

LoongArch: dmi, virt detection and testcase

3 years agotest,static-destruct: Use retain attribute to prevent linker garbage collection
Jan Janssen [Wed, 22 Dec 2021 00:33:10 +0000 (01:33 +0100)] 
test,static-destruct: Use retain attribute to prevent linker garbage collection

Fixes: #21847
3 years agotest: add LoongArch 64bit testcase 21857/head
Xiaotian Wu [Sat, 6 Nov 2021 08:29:45 +0000 (16:29 +0800)] 
test: add LoongArch 64bit testcase

3 years agovirt: add detection for LoongArch 64bit
Xiaotian Wu [Fri, 5 Nov 2021 01:23:13 +0000 (09:23 +0800)] 
virt: add detection for LoongArch 64bit

3 years agodmi: add LoongArch 64bit support
Xiaotian Wu [Mon, 19 Apr 2021 10:19:17 +0000 (18:19 +0800)] 
dmi: add LoongArch 64bit support

3 years agotest: tweak TriggerLimitIntervalSec= if we're running w/o KVM as well
Frantisek Sumsal [Tue, 21 Dec 2021 19:45:18 +0000 (20:45 +0100)] 
test: tweak TriggerLimitIntervalSec= if we're running w/o KVM as well

since in that case we might be also slow enough to miss the rate-limit
window. However, let's not set the trigger limit unconditionally to
still have coverage for the unaltered path unit (but without sacrificing
CI stability).

See: https://github.com/systemd/systemd/pull/21808#issuecomment-998927401

3 years agoboot: Fix armhf build failure
Jan Janssen [Tue, 21 Dec 2021 12:44:47 +0000 (13:44 +0100)] 
boot: Fix armhf build failure

Fixes: #21842
3 years agomeson: fix cross compiling
Yu Watanabe [Tue, 21 Dec 2021 11:10:09 +0000 (20:10 +0900)] 
meson: fix cross compiling

3 years agoshared: Remove remaining usages of GPT_ROOT_NATIVE, GPT_USR_NATIVE from dissect-image.c
Daan De Meyer [Tue, 21 Dec 2021 10:13:10 +0000 (11:13 +0100)] 
shared: Remove remaining usages of GPT_ROOT_NATIVE, GPT_USR_NATIVE from dissect-image.c

Follow-up for 49ae9d91f9ba68bf3f1a6928152a5969d329bbc2

Fixes #21843

3 years agotimedatectl: Uniform commas in NTPMessage output
Scott Worley [Mon, 20 Dec 2021 22:23:02 +0000 (14:23 -0800)] 
timedatectl: Uniform commas in NTPMessage output

3 years agotest: tweak the path trigger limit a bit when collecting coverage
Frantisek Sumsal [Mon, 20 Dec 2021 18:52:47 +0000 (19:52 +0100)] 
test: tweak the path trigger limit a bit when collecting coverage

Basically the same thing as in e70103e, but for TEST-63. Uses
directives introduced by 47dba9f.

Follow-up to aaae822.

3 years agoNEWS: add missing noun v250-rc3
Zbigniew Jędrzejewski-Szmek [Mon, 20 Dec 2021 13:55:32 +0000 (14:55 +0100)] 
NEWS: add missing noun

3 years agoMerge pull request #21839 from yuwata/repart-issue-reproducer-21817
Yu Watanabe [Mon, 20 Dec 2021 17:30:53 +0000 (02:30 +0900)] 
Merge pull request #21839 from yuwata/repart-issue-reproducer-21817

test: add test case for #21817

3 years agojournal: Handle partially read HashItem's when punching holes
Daan De Meyer [Mon, 20 Dec 2021 13:55:02 +0000 (14:55 +0100)] 
journal: Handle partially read HashItem's when punching holes

3 years agonss-resolve: expose various source-disablement settings as variables
Zbigniew Jędrzejewski-Szmek [Mon, 20 Dec 2021 13:16:44 +0000 (14:16 +0100)] 
nss-resolve: expose various source-disablement settings as variables

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=2006761:
> systemd-resolved always (reverse)-resolves the host's IP addresses and FQDN.
> This can be harmful when an application (for instance, a DNS zone manager) is
> installed on the same server instance.  That application would expect
> NXDOMAIN to be returned if the current server's IP does not belong in an
> already managed reverse zone.

This allows clients of nss-resolve to use the same config options that are
available through the dbus api and as command-line options to resolvectl.

The man page text is is mostly copied directly from
c6f20515ab600098b5c2871bae2e9ecab3b41555.

3 years agotest: add a test case for issue #21817 21839/head
Yu Watanabe [Mon, 20 Dec 2021 14:47:52 +0000 (23:47 +0900)] 
test: add a test case for issue #21817

3 years agotest: install losetup by default
Yu Watanabe [Mon, 20 Dec 2021 14:34:17 +0000 (23:34 +0900)] 
test: install losetup by default

Preparation for the next commit.

3 years agoNEWS: add note about path unit's TriggerLimitBurst= and TriggerLimitIntervalSec=
Luca Boccassi [Mon, 20 Dec 2021 13:52:43 +0000 (13:52 +0000)] 
NEWS: add note about path unit's TriggerLimitBurst= and TriggerLimitIntervalSec=

3 years agorepart: use real disk start/end for bar production
Tom Yan [Sun, 19 Dec 2021 17:30:38 +0000 (01:30 +0800)] 
repart: use real disk start/end for bar production

Partitions are not always within our aligned scope. Bar printing
involves foreign partitions as well.

Fixes #21817.

3 years agohwdb: update for -rc3
Zbigniew Jędrzejewski-Szmek [Mon, 20 Dec 2021 12:24:41 +0000 (13:24 +0100)] 
hwdb: update for -rc3

Just a small bunch of additions and a naming updates.

3 years agojournal-remote: use MHD_HTTP_CONTENT_TOO_LARGE as MHD_HTTP_PAYLOAD_TOO_LARGE is depre...
Yu Watanabe [Mon, 20 Dec 2021 11:48:32 +0000 (20:48 +0900)] 
journal-remote: use MHD_HTTP_CONTENT_TOO_LARGE as MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated since 0.9.74

3 years agoMerge pull request #21831 from keszybz/man-dnssec-fixlets
Luca Boccassi [Mon, 20 Dec 2021 12:04:41 +0000 (12:04 +0000)] 
Merge pull request #21831 from keszybz/man-dnssec-fixlets

Fixlets for DNSSEC-related documentation

3 years agoNEWS: add the boot loader stuff
Zbigniew Jędrzejewski-Szmek [Mon, 20 Dec 2021 11:20:47 +0000 (12:20 +0100)] 
NEWS: add the boot loader stuff

3 years agobuild(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1
dependabot[bot] [Mon, 20 Dec 2021 09:19:10 +0000 (09:19 +0000)] 
build(deps): bump actions/upload-artifact from 2.3.0 to 2.3.1

Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/da838ae9595ac94171fa2d4de5a2f117b3e7ac32...82c141cc518b40d92cc801eee768e7aafc9c2fa2)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
3 years agoman: correctly document default for DNSSEC= and DNSoverTLS= 21831/head
Zbigniew Jędrzejewski-Szmek [Sat, 18 Dec 2021 16:03:43 +0000 (17:03 +0100)] 
man: correctly document default for DNSSEC= and DNSoverTLS=

https://bugzilla.redhat.com/show_bug.cgi?id=1926323

3 years agoman: describe flags for record resolving
Zbigniew Jędrzejewski-Szmek [Tue, 14 Dec 2021 18:39:36 +0000 (19:39 +0100)] 
man: describe flags for record resolving

3 years agoman: describe $SYSTEMD_NSS_RESOLVE_VALIDATE
Zbigniew Jędrzejewski-Szmek [Tue, 14 Dec 2021 17:48:25 +0000 (18:48 +0100)] 
man: describe $SYSTEMD_NSS_RESOLVE_VALIDATE

This variable has a pretty important effect, but we didn't mention it
anywhere in the docs. It was added in aee9d18c8d909eb7aca2838e4bce5da018b6a112.

3 years agoMerge pull request #21807 from keszybz/bootcls-no-autodetect
Daan De Meyer [Mon, 20 Dec 2021 09:43:18 +0000 (10:43 +0100)] 
Merge pull request #21807 from keszybz/bootcls-no-autodetect

Use KERNEL_INSTALL_MACHINE_ID and KERNEL_INSTALL_LAYOUT with bootctl install

3 years agobasic: add a size check to format timex members properly
Mike Gilbert [Mon, 20 Dec 2021 00:39:37 +0000 (19:39 -0500)] 
basic: add a size check to format timex members properly

As of glibc-2.34, the size of members in struct timex varies depending on
the _TIME_BITS macro.

Fixes: https://github.com/systemd/systemd/issues/21826
3 years agosd-radv: do not use goto for non-error-handling cases
Yu Watanabe [Sun, 19 Dec 2021 00:03:16 +0000 (09:03 +0900)] 
sd-radv: do not use goto for non-error-handling cases

Follow-up for 059d7b6eae827e73c73633bcc40fe74f3696f3f6.

The comment https://github.com/systemd/systemd/pull/21814#discussion_r771842132
suggests to introduce new helper, but it is used only one place.
Let's not add such, but simply replace the goto with a flag.

3 years agoMerge pull request #21818 from bluca/path_trigger_limit
Daan De Meyer [Sun, 19 Dec 2021 11:42:11 +0000 (12:42 +0100)] 
Merge pull request #21818 from bluca/path_trigger_limit

path unit: add TriggerLimitBurst= and TriggerLimitIntervalSec=

3 years agologind: Use new macros
Nishal Kulkarni [Fri, 17 Dec 2021 16:36:31 +0000 (22:06 +0530)] 
logind: Use new macros

Migrate logind to use the new macros to declare a D-Bus method or signal.
Replaced SD_BUS_METHOD_WITH_NAMES with SD_BUS_METHOD_WITH_ARGS.
Replaced SD_BUS_SIGNAL_WITH_NAMES with SD_BUS_SIGNAL_WITH_ARGS.

3 years agoMerge pull request #21814 from yuwata/network-dhcp-pd-fixes
Yu Watanabe [Sat, 18 Dec 2021 23:52:08 +0000 (08:52 +0900)] 
Merge pull request #21814 from yuwata/network-dhcp-pd-fixes

network: several fixes for DHCP prefix delegation

3 years agopath unit: add TriggerLimitBurst= and TriggerLimitIntervalSec= 21818/head
Luca Boccassi [Sat, 18 Dec 2021 17:52:52 +0000 (17:52 +0000)] 
path unit: add TriggerLimitBurst= and TriggerLimitIntervalSec=

Given there's now a default for these settings, also allow users to configure
them, matching socket units

3 years agoman: fix typo in systemd.socket.5
Luca Boccassi [Sat, 18 Dec 2021 17:23:53 +0000 (17:23 +0000)] 
man: fix typo in systemd.socket.5

3 years agoMerge pull request #21808 from DaanDeMeyer/path-trigger-limit
Luca Boccassi [Sat, 18 Dec 2021 16:56:05 +0000 (16:56 +0000)] 
Merge pull request #21808 from DaanDeMeyer/path-trigger-limit

core: Add trigger limit for path units

3 years agoudev: do not kill "udevadm control" process in the same cgroup 21762/head
Yu Watanabe [Mon, 13 Dec 2021 20:30:58 +0000 (05:30 +0900)] 
udev: do not kill "udevadm control" process in the same cgroup

Fixes #16867.

3 years agoudev-ctrl: make udev_ctrl_send() accept integer and string through a single argument
Yu Watanabe [Thu, 16 Dec 2021 18:13:43 +0000 (03:13 +0900)] 
udev-ctrl: make udev_ctrl_send() accept integer and string through a single argument

3 years agocore: Add trigger limit for path units 21808/head
Daan De Meyer [Fri, 17 Dec 2021 19:01:31 +0000 (20:01 +0100)] 
core: Add trigger limit for path units

When conditions fail on a service unit, a path unit can cause
PID 1 to busy loop as it keeps trying to activate the service unit.
To avoid this from happening, add a trigger limit to the path unit,
identical to the trigger limit we have for socket units.

Initially, let's start with a high limit and not make it configurable.
If needed, we can add properties to configure the rate limit similar
to the ones we have for socket units.

3 years agohomed: Use new SD_BUS_METHOD_WITH_ARGS macro
Nishal Kulkarni [Fri, 17 Dec 2021 13:01:55 +0000 (18:31 +0530)] 
homed: Use new SD_BUS_METHOD_WITH_ARGS macro

Migrate homed to use the new macros to declare a D-Bus method.
Replaced `SD_BUS_METHOD_WITH_NAMES` with `SD_BUS_METHOD_WITH_ARGS`

3 years agotest-network: add tests for renewing/rebinding lease 21814/head
Yu Watanabe [Sat, 18 Dec 2021 00:52:04 +0000 (09:52 +0900)] 
test-network: add tests for renewing/rebinding lease

3 years agotest-network: introduce dump_dnsmasq_log_file()
Yu Watanabe [Sat, 18 Dec 2021 00:55:54 +0000 (09:55 +0900)] 
test-network: introduce dump_dnsmasq_log_file()

3 years agotest-network: use dnsmasq for testing DHCP4-6RD
Yu Watanabe [Fri, 17 Dec 2021 22:56:42 +0000 (07:56 +0900)] 
test-network: use dnsmasq for testing DHCP4-6RD

3 years agotest-network: use --bind-interfaces option for dnsmasq
Yu Watanabe [Fri, 17 Dec 2021 22:55:07 +0000 (07:55 +0900)] 
test-network: use --bind-interfaces option for dnsmasq

Also make the interface name and router address configurable.

3 years agosd-dhcp-client: add log message when a message is received
Yu Watanabe [Sat, 18 Dec 2021 00:53:27 +0000 (09:53 +0900)] 
sd-dhcp-client: add log message when a message is received

3 years agonetwork: dhcp-pd: do not stack 6rd sit tunnel
Yu Watanabe [Sat, 18 Dec 2021 01:06:59 +0000 (10:06 +0900)] 
network: dhcp-pd: do not stack 6rd sit tunnel

3 years agonetwork: route: update expiration timer in link_request_route()
Yu Watanabe [Sat, 18 Dec 2021 00:50:08 +0000 (09:50 +0900)] 
network: route: update expiration timer in link_request_route()

3 years agonetwork: route: do not drop unreachable route on reconfiguring downstream interface
Yu Watanabe [Sat, 18 Dec 2021 00:46:55 +0000 (09:46 +0900)] 
network: route: do not drop unreachable route on reconfiguring downstream interface

Previously, when a downstream is reconfigured, the unreachable route
was removed as there is no corresponding static config in .network
files.

3 years agonetwork: dhcp-pd: fix condition in dhcp_pd_prefix_lost()
Yu Watanabe [Sat, 18 Dec 2021 00:46:23 +0000 (09:46 +0900)] 
network: dhcp-pd: fix condition in dhcp_pd_prefix_lost()