Daan De Meyer
f9fc97824a
resolved: Add missing nullable annotation for ifindex in ResolvedRecord
2024-06-02 19:15:21 +02:00
Daan De Meyer
6063978f75
hostnamed: Add missing VSockCID varlink introspection data
2024-06-02 16:38:20 +02:00
Daan De Meyer
e77afcc699
pcrlock: Fix ReadEventLog() interface definition
2024-06-02 16:34:33 +02:00
Daan De Meyer
a173292ffa
Merge pull request #33154 from yuwata/test-async
...
test-async: wait a while for fd to be closed
2024-06-02 08:49:44 +02:00
hanjinpeng
9246d16d3d
man: mention that ExecCondition= in COMMAND LINES section for systemd.service
2024-06-02 09:23:12 +09:00
Yu Watanabe
94e8dd54d0
test-async: also check if the directory is removed
2024-06-02 09:19:47 +09:00
Yu Watanabe
b593d86d1b
test-async: wait a while for fd to be closed
...
When this is run on slow environment, e.g. sanitizer is enabled,
then waiting for 1 second may not be enough.
Hopefully fixes #33150 .
2024-06-02 09:10:06 +09:00
Piotr Drąg
cbc96ad976
po: Translated using Weblate (Polish)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Piotr Drąg <piotrdrag@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pl/
Translation: systemd/main
2024-06-02 06:24:37 +09:00
김인수
e4bb42a2f5
po: Translated using Weblate (Korean)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: 김인수 <simmon@nplob.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ko/
Translation: systemd/main
2024-06-02 06:24:37 +09:00
Luca Boccassi
64d3d46c0b
Merge pull request #33140 from yuwata/test-journal
...
test: sync journal in short-living services
2024-06-01 19:17:09 +02:00
Yu Watanabe
46322f2742
test: exit earlier when cgroup user xattr is not supported
...
Also, use trap for cleaning up the test environment.
2024-06-01 22:35:07 +09:00
Yu Watanabe
5f03c19f7b
test: reduce number of 'systemctl daemon-reload' a bit
2024-06-01 22:28:32 +09:00
Yu Watanabe
7faf8987ed
test: sync journal in short-living services
...
This also adjusts LogLevelMax=.
Hopefully, this makes the test much stabler.
2024-06-01 22:25:50 +09:00
Oğuz Ersen
56d23c2850
po: Translated using Weblate (Turkish)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Oğuz Ersen <oguz@ersen.moe>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/tr/
Translation: systemd/main
2024-06-01 21:28:37 +09:00
Yu Watanabe
ed68675d64
Merge pull request #33139 from weblate/weblate-systemd-main
...
Translations update from Fedora Weblate
2024-06-01 15:30:45 +09:00
Yu Watanabe
77356099ce
test-network: add missing sleep()
...
Fixes a bug introduced by 7ef26afca5
.
Fixes #33098 .
2024-06-01 08:25:10 +02:00
Weblate
838d2a142a
po: 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/main/
Translation: systemd/main
2024-06-01 08:22:42 +02:00
Sergey A
6aa36b259d
po: Translated using Weblate (Russian)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Sergey A <sw@atrus.ru>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ru/
Translation: systemd/main
2024-06-01 08:22:42 +02:00
Yu Watanabe
ecce45cd3f
po: update systemd.pot and Japanese Translation
2024-06-01 15:14:13 +09:00
Yu Watanabe
49c27e4b13
network: drop period from the message title
...
We usually do not add full-stop for policy message title.
Follow-up for f90eb08627
.
2024-06-01 15:10:44 +09:00
Yu Watanabe
4ccaf512d7
man: fix typo
...
Follow-up for d24ceef937
.
2024-06-01 14:42:19 +09:00
Leonard
f3a02fc053
hwdb: added hwdb rules for micmute and power button on Acer Nitro AN 515-58 ( #32867 )
2024-06-01 11:29:42 +09:00
Luca Boccassi
4b4393466a
meson: add static libs to libudev/libsystemd target aliases
...
If static libraries are enabled, then group them in the build target together
with the shared libraries, to match the install tags.
2024-06-01 00:38:26 +02:00
Luca Boccassi
d12018ca18
meson: add alias targets to group nss and pam modules
...
Add aliases grouping these modules, so that they can be built
without knowing the SONAME version in advance. Match the install
tag names.
2024-05-31 23:57:24 +02:00
Daan De Meyer
f9dd837104
mkosi: Filter out sdubby and grubby from fedora rpm dependencies
...
When we query dependencies with rpmspec, we get the following:
"""
bash-5.2# mkosi-chroot rpmspec --with upstream --query --requires --define "_topdir /var/tmp" --define "_sourcedir pkg/fedora" "pkg/fedora/systemd.spec" | sort --unique
(grubby > 8.40-72 if grubby)
(sdubby > 1.0-3 if sdubby)
(systemd-rpm-macros = 256~rc3-1.fc41 if rpm-build)
(util-linux-core or util-linux)
/bin/sh
coreutils
dbus >= 1.9.18
firewalld-filesystem
grep
kbd
kmod >= 18-4
libidn2.so.0()(64bit)
libidn2.so.0(IDN2_0.0.0)(64bit)
libkmod.so.2()(64bit)
libkmod.so.2(LIBKMOD_5)(64bit)
openssl-libs
python3dist(cryptography)
python3dist(pefile)
python3dist(psutil)
python3dist(zstd)
systemd = 256~rc3-1.fc41
systemd(x86-64) = 256~rc3-1.fc41
systemd-boot
systemd-libs(x86-64) = 256~rc3-1.fc41
systemd-networkd = 256~rc3-1.fc41
systemd-pam(x86-64) = 256~rc3-1.fc41
systemd-udev = 256~rc3-1.fc41
"""
Trying to install with dnf5 correctly filters out grubby and sdubby
as they are conditional dependencies and shouldn't be installed. However,
dnf doesn't do the right thing and tries to install both grubby and sdubby,
and since they conflict this causes the build to fail.
Let's filter out sdubby and grubby explicitly to work around the bug in dnf
as it's unlikely to get fixed since all development effort is now focused on
dnf5.
2024-05-31 23:46:58 +02:00
Daan De Meyer
f4a0dd0ef6
Merge pull request #33105 from DaanDeMeyer/sanitizers
...
Sanitizers
2024-05-31 19:44:05 +02:00
Daan De Meyer
ebec3c88c3
ci: Build Fedora rawhide with sanitizers in mkosi
...
Let's make sure one build has sanitizers enabled for extra coverage.
2024-05-31 17:26:13 +02:00
Daan De Meyer
605d72cb14
TEST-21-DFUZZER: Stop marking as slow
...
This was a workaround to not run TEST-21-DFUZZER without sanitizers.
Now that we're going to get sanitizer support, let's run it by default
again.
2024-05-31 17:26:13 +02:00
Daan De Meyer
e690a8cd09
TEST-69-SHUTDOWN: Order after systemd-user-sessions.service
...
Make sure that we're allowed to login by ordering ourselves after
systemd-user-sessions.service.
2024-05-31 17:26:13 +02:00
Daan De Meyer
8919f86f57
mkosi: Sanitizer improvements
...
- Let's set the environment on the kernel command line so it applies
to initrd and main system.
- Let's add the necessary wrappers that are also added in test-functions.
Unlike test-functions we don't use gcc/clang to get the library path as
that requires installing gcc/clang in the initrd.
- Let's drop the hack to get journald writing to the console and have
it write to kmsg instead. We'll get the output either way.
- Stop removing libstdc++ and sanitizer libraries from Arch Linux
initrds and other images as it's required by the sanitizer libraries.
- Add a workaround for specifying extra meson options for opensuse
- Add a leak sanitizer suppression file as a workaround for a false
positive leak in verify_selinuxmnt() in libselinux. We do a soname match
because the stacktrace can't be properly symbolized on Debian.
2024-05-31 17:26:13 +02:00
Daan De Meyer
5d2a40ab11
mkosi: Add note about kernel command line limit
2024-05-31 17:26:01 +02:00
Daan De Meyer
9a7df79652
Merge pull request #33126 from keszybz/revert-ci-workaround
...
Revert ci workaround
2024-05-31 15:41:28 +02:00
Daan De Meyer
80a5f762bb
Merge pull request #33121 from yuwata/test-integration-tests-mkosi
...
Test: several integration test improvements
2024-05-31 15:40:43 +02:00
Daan De Meyer
c95f8dd784
mkosi: Drop kernel command line to enable log context
...
The log context is already enabled by virtue of the log level being
set to debug, so no need to enable it explicitly.
2024-05-31 13:48:14 +02:00
Zbigniew Jędrzejewski-Szmek
822ee89b95
meson: fix comment
2024-05-31 13:34:58 +02:00
Zbigniew Jędrzejewski-Szmek
00d359e988
Revert "mkosi: Disable add-determinism on Fedora"
...
This reverts commit e74a994ebf
.
The description in that commit was confused, add-determinism was not broken
and was not causing any problems, except a log message.
2024-05-31 13:34:58 +02:00
Daan De Meyer
7ce0104da8
cryptsetup-generator: Fix memory leak
2024-05-31 13:29:22 +02:00
Mike Yuan
3b23501a0d
core/unit: refuse to spawn units under frozen cgroup
...
Currently, Unit.freezer_state is always initialized to
FREEZER_RUNNING. While realizing cgroups for frozen units
was disabled in 7923e9493c
,
the commit only checked for freezer_state of the unit inself,
meaning that newly-loaded units might be started and the kernel
would hang pid1 when trying to spawn sd-executor into sub-cgroup.
This can be easily reproduced by the following:
```console
# systemd-run --slice=test.slice sleep infinity
# systemctl freeze test.slice
# systemd-run --slice=test.slice sleep infinity
```
Therefore, let's correctly initialize Unit.freezer_state
based on the parent slice.
2024-05-31 13:25:20 +02:00
Luca Boccassi
87d6cedfdb
Merge pull request #33123 from DaanDeMeyer/fix
...
Two mkosi fixes
2024-05-31 11:38:43 +02:00
Luca Boccassi
77da8c4e9b
Merge pull request #33122 from weblate/weblate-systemd-main
...
Translations update from Fedora Weblate
2024-05-31 10:44:43 +02:00
Daan De Meyer
3a8e9b4a0e
mkosi: Unify device timeout for CI and local runs
...
Now that we use KVM and don't use repart anymore to create a root
partition on first boot, let's see if we can use the same device timeout
for both local and CI runs.
2024-05-31 10:25:08 +02:00
Daan De Meyer
e2219740f3
mkosi: Drop two unnecessary settings in CI config
...
We don't build erofs images anymore and the firmware to use is set
per test so no need to configure it the CI config.
2024-05-31 10:23:58 +02:00
dependabot[bot]
d4d59423b5
build(deps): bump redhat-plumbers-in-action/advanced-issue-labeler
...
Bumps [redhat-plumbers-in-action/advanced-issue-labeler](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler ) from 3.0.0 to 3.2.0.
- [Release notes](https://github.com/redhat-plumbers-in-action/advanced-issue-labeler/releases )
- [Commits](9e55064634...d498805e5c
)
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/advanced-issue-labeler
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 10:17:44 +02:00
dependabot[bot]
f47f849fad
build(deps): bump redhat-plumbers-in-action/devel-freezer
...
Bumps [redhat-plumbers-in-action/devel-freezer](https://github.com/redhat-plumbers-in-action/devel-freezer ) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/redhat-plumbers-in-action/devel-freezer/releases )
- [Commits](396c94ba8c...ad766eafd5
)
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/devel-freezer
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 10:17:10 +02:00
dependabot[bot]
4c8858dda6
build(deps): bump meson from 1.4.0 to 1.4.1 in /.github/workflows
...
Bumps [meson](https://github.com/mesonbuild/meson ) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/mesonbuild/meson/releases )
- [Commits](https://github.com/mesonbuild/meson/compare/1.4.0...1.4.1 )
---
updated-dependencies:
- dependency-name: meson
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-05-31 10:16:56 +02:00
Tiago Rocha Cunha
2f97321662
po: Translated using Weblate (Portuguese)
...
Currently translated at 100.0% (233 of 233 strings)
po: Translated using Weblate (Portuguese (Brazil))
Currently translated at 82.4% (192 of 233 strings)
Co-authored-by: Tiago Rocha Cunha <tiagocunha.me@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pt/
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/pt_BR/
Translation: systemd/main
2024-05-31 10:15:20 +02:00
Pierre GRASSER
99eb4ffc95
po: Translated using Weblate (French)
...
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Pierre GRASSER <pierre.grasser@proton.me>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/fr/
Translation: systemd/main
2024-05-31 10:15:20 +02:00
Yu Watanabe
1f4345b5ed
networkd-test: first wait for interface being configured
...
DNS setting propagation to resolved may take some time.
2024-05-31 10:00:21 +02:00
Yu Watanabe
7ae191a5ea
test: optionally allow to disable user service manager, and disable it on TEST-64
...
The test triggers many uevents, and running both system and user service
managers make the test slow.
2024-05-31 16:29:19 +09:00
Yu Watanabe
052500a072
test: make it sure that devices are processed by udevd before running subtests
2024-05-31 16:10:55 +09:00