]>
git.ipfire.org Git - thirdparty/systemd.git/log
Daan De Meyer [Mon, 3 Jun 2024 08:40:35 +0000 (10:40 +0200)]
core: Fix CPUQuotaPerSecUSec unit file serialization
CPUQuota= can deal with float percentages perfectly fine these days
(up to two places after the dot), so let's take that into account
when serializing the value to the transient unit file so we don't lose
precision when specifying e.g. "CPUQuota=0.5%".
Kamil Szczęk [Wed, 5 Jun 2024 09:21:23 +0000 (11:21 +0200)]
json: use secure un{base64,hex}mem for sensitive variants
While tracing a LUKS code path in homework, I've noticed that we don't
erase buffers when doing unbase64 or unhex on JSON variants, even if the
variant is marked as sensitive.
Yu Watanabe [Wed, 5 Jun 2024 08:59:28 +0000 (17:59 +0900)]
network/route: fix condition in route_can_update()
An existing route with lifetime can be always updated with a new
finite lifetime. As the comment in the code says, we cannot disable the
lifetime. So, the condition must be '==', rather than '!='.
Fixes #33210.
hanjinpeng [Wed, 5 Jun 2024 07:44:40 +0000 (09:44 +0200)]
po: Translated using Weblate (Chinese (Simplified) (zh_CN))
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: hanjinpeng <hanjinpeng127@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/zh_CN/
Translation: systemd/main
David Seifert [Tue, 4 Jun 2024 15:15:14 +0000 (17:15 +0200)]
libpasswdqc: add missing `#include "dlfcn-util.h"`
Luca Boccassi [Tue, 4 Jun 2024 15:37:53 +0000 (16:37 +0100)]
Merge pull request #33199 from DaanDeMeyer/optimization
mkosi: Build with -O0 by default
Edson Juliano Drosdeck [Tue, 4 Jun 2024 11:35:14 +0000 (08:35 -0300)]
Fix key toggle touchpad and programmable buttom for Positivo N14AP7
Daan De Meyer [Tue, 4 Jun 2024 14:03:45 +0000 (16:03 +0200)]
mkosi: Stop sourcing /etc/makepkg.conf
We don't need this anymore since we now just do delayed evaluation
of $CFLAGS in /etc/makepkg.conf and it imports $CFLAGS into the
script environment which messes everything up.
Daan De Meyer [Tue, 4 Jun 2024 13:53:06 +0000 (15:53 +0200)]
mkosi: Build with -O0 by default
This was accidentally removed in https://github.com/systemd/systemd/pull/33193
Luca Boccassi [Tue, 4 Jun 2024 12:38:00 +0000 (13:38 +0100)]
Merge pull request #33193 from DaanDeMeyer/fortify
mkosi: Disable FORTIFY_SOURCE when building without optimizations or with sanitizers
Luca Boccassi [Tue, 4 Jun 2024 10:32:27 +0000 (11:32 +0100)]
Merge pull request #33192 from DaanDeMeyer/packaging
mkosi: Various opensuse improvements
Daan De Meyer [Tue, 4 Jun 2024 10:27:29 +0000 (12:27 +0200)]
mkosi: Build Arch Linux image with -D_FORTIFY_SOURCE=3
_FORTIFY_SOURCE requires optimizations to be enabled so we set -O2
as well.
Daan De Meyer [Sat, 1 Jun 2024 10:54:49 +0000 (12:54 +0200)]
mkosi: Drop $OPTIMIZATION variable
Let's instead just use $CFLAGS to override the optimization level.
Daan De Meyer [Tue, 4 Jun 2024 09:04:05 +0000 (11:04 +0200)]
mkosi: Use __meson_verbose in opensuse build script
OpenSUSE Tumbleweed now ships meson 1.4.0 which ships the new
__meson_verbose macro.
Daan De Meyer [Tue, 4 Jun 2024 09:00:53 +0000 (11:00 +0200)]
mkosi: Use meson_extra_configure_options for opensuse
This is now available so let's use it.
Daan De Meyer [Tue, 4 Jun 2024 09:00:38 +0000 (11:00 +0200)]
mkosi: Update opensuse commit to latest
Luna Jernberg [Tue, 4 Jun 2024 05:35:58 +0000 (07:35 +0200)]
po: Translated using Weblate (Swedish)
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Luna Jernberg <bittin@reimu.nl>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/sv/
Translation: systemd/main
Pierre GRASSER [Tue, 4 Jun 2024 05:35:58 +0000 (07:35 +0200)]
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
Luca Boccassi [Mon, 3 Jun 2024 21:48:11 +0000 (22:48 +0100)]
Merge pull request #33173 from yuwata/test-network
test-network: several cleanups
Yu Watanabe [Mon, 3 Jun 2024 09:04:55 +0000 (18:04 +0900)]
test-network: introduce a .network file to protect existing interfaces
Yu Watanabe [Mon, 3 Jun 2024 08:49:26 +0000 (17:49 +0900)]
test-network: show PID and Invocation ID of networkd
Then, we can easily find relevant journal entry on failure.
This is especially useful when the test is running with --no-journal.
Yu Watanabe [Mon, 3 Jun 2024 08:43:43 +0000 (17:43 +0900)]
test-network: flush stream buffer and journals before/after running test
Yu Watanabe [Mon, 3 Jun 2024 08:24:23 +0000 (17:24 +0900)]
test-network: generate debugging logs of networkd-persistent-storage.service
Luca Boccassi [Mon, 3 Jun 2024 16:15:08 +0000 (17:15 +0100)]
test: disable TEST-21-DFUZZER in mkosi, as it is very flacky
Can be re-enabled once https://github.com/systemd/systemd/issues/33156
is solved
Luca Boccassi [Fri, 31 May 2024 15:40:12 +0000 (16:40 +0100)]
journald: enable persistent FD Store to fix logging during soft-reboot
A unit with StandardOutput=journal (the default) will get its stdout/stderr sockets
disconnected when journald stops, as the file descriptors on journald's side are
not preserved (it works on restart, as the FD Store keeps them open during restarts).
Set FileDescriptorStorePreserve=yes so that the journal FD's stay open during a soft
reboot, and applications don't get broken stdout/stderr.
Heran Yang [Mon, 3 Jun 2024 12:51:54 +0000 (20:51 +0800)]
docs: fix escaped $ in CGroup Interface
Luca Boccassi [Mon, 3 Jun 2024 13:51:15 +0000 (14:51 +0100)]
Revert "test: Run end.sh when running integration tests with mkosi"
It seems this introduced a regression in the CentOS CI;
14:25:58 FAILED TASKS:14:25:58 -------------
14:25:58 TEST-03-JOBS
14:25:58 TEST-52-HONORFIRSTSHUTDOWN
14:25:58 TEST-63-PATH
Revert for now.
This reverts commit
da3c6fc55363af2163b4d2613c9951bdaea24810 .
Daan De Meyer [Mon, 3 Jun 2024 13:43:31 +0000 (15:43 +0200)]
Merge pull request #33146 from DaanDeMeyer/clang
mkosi: Add support for building with LLVM
Daan De Meyer [Mon, 3 Jun 2024 07:47:33 +0000 (09:47 +0200)]
mkosi: Allow using $MESON_VERBOSE to enable verbose meson output
Daan De Meyer [Sat, 1 Jun 2024 13:14:08 +0000 (15:14 +0200)]
mkosi: Build Fedora Rawhide sanitizers job with LLVM
More coverage and clang tends to be better at sanitizers than gcc.
Daan De Meyer [Sat, 1 Jun 2024 11:01:03 +0000 (13:01 +0200)]
mkosi: Build with --werror in CI
Daan De Meyer [Sat, 1 Jun 2024 12:45:22 +0000 (14:45 +0200)]
mkosi: Allow clearing meson cache with WIPE=1
meson does not support changing compilation flags on the fly, when
doing so, the entire build directory has to be cleared explicitly, so
let's add a way to do that by setting WIPE=1.
Let's also allow developers to specify their own meson options via
$MESON_OPTIONS.
dependabot[bot] [Sat, 1 Jun 2024 09:13:38 +0000 (09:13 +0000)]
build(deps): bump redhat-plumbers-in-action/differential-shellcheck
Bumps [redhat-plumbers-in-action/differential-shellcheck](https://github.com/redhat-plumbers-in-action/differential-shellcheck) from 5.1.2 to 5.3.0.
- [Release notes](https://github.com/redhat-plumbers-in-action/differential-shellcheck/releases)
- [Changelog](https://github.com/redhat-plumbers-in-action/differential-shellcheck/blob/main/docs/CHANGELOG.md)
- [Commits](https://github.com/redhat-plumbers-in-action/differential-shellcheck/compare/
52bab0caa5249d6acd8bcd5bc7a68e69ac9319f9 ...
60c9f2b924a9c5a2ddbb25e7b23e8e11b56faab9 )
---
updated-dependencies:
- dependency-name: redhat-plumbers-in-action/differential-shellcheck
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Sat, 1 Jun 2024 09:13:45 +0000 (09:13 +0000)]
build(deps): bump ossf/scorecard-action from 2.3.1 to 2.3.3
Bumps [ossf/scorecard-action](https://github.com/ossf/scorecard-action) from 2.3.1 to 2.3.3.
- [Release notes](https://github.com/ossf/scorecard-action/releases)
- [Changelog](https://github.com/ossf/scorecard-action/blob/main/RELEASE.md)
- [Commits](https://github.com/ossf/scorecard-action/compare/
0864cf19026789058feabb7e87baa5f140aac736 ...
dc50aa9510b46c811795eb24b2f1ba02a914e534 )
---
updated-dependencies:
- dependency-name: ossf/scorecard-action
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Sat, 1 Jun 2024 09:13:45 +0000 (09:13 +0000)]
build(deps): bump softprops/action-gh-release from 2.0.4 to 2.0.5
Bumps [softprops/action-gh-release](https://github.com/softprops/action-gh-release) from 2.0.4 to 2.0.5.
- [Release notes](https://github.com/softprops/action-gh-release/releases)
- [Changelog](https://github.com/softprops/action-gh-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/softprops/action-gh-release/compare/
9d7c94cfd0a1f3ed45544c887983e9fa900f0564 ...
69320dbe05506a9a39fc8ae11030b214ec2d1f87 )
---
updated-dependencies:
- dependency-name: softprops/action-gh-release
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
dependabot[bot] [Sat, 1 Jun 2024 09:13:51 +0000 (09:13 +0000)]
build(deps): bump actions/checkout from 4.1.2 to 4.1.6
Bumps [actions/checkout](https://github.com/actions/checkout) from 4.1.2 to 4.1.6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/
9bb56186c3b09b4f86b1c65136769dd318469633 ...
a5ac7e51b41094c92402da3b24376905380afc29 )
---
updated-dependencies:
- dependency-name: actions/checkout
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
Daan De Meyer [Sat, 1 Jun 2024 10:58:29 +0000 (12:58 +0200)]
mkosi: Allow setting custom CFLAGS and LDFLAGS
Daan De Meyer [Mon, 3 Jun 2024 10:57:57 +0000 (12:57 +0200)]
mkosi: Fix comment
Daan De Meyer [Sat, 1 Jun 2024 10:27:45 +0000 (12:27 +0200)]
mkosi: Add support for building with LLVM
Now you can do mkosi -E LLVM=1 to build with clang+lld. This includes
support for building with sanitizers.
Daan De Meyer [Sun, 2 Jun 2024 08:26:20 +0000 (10:26 +0200)]
mkosi: Make sure initrd coredumps are also stored in the journal
Let's also translate the coredump config into a dropin so we don't
accidentally override any existing configuration.
Daan De Meyer [Sat, 1 Jun 2024 11:18:35 +0000 (13:18 +0200)]
mkosi: Update debian packaging to latest
Daan De Meyer [Sun, 2 Jun 2024 15:54:41 +0000 (17:54 +0200)]
mkosi: Disable iscsiuio.socket as well
Daan De Meyer [Sun, 2 Jun 2024 15:07:53 +0000 (17:07 +0200)]
mkosi: Use env where appropriate
Daan De Meyer [Mon, 3 Jun 2024 07:31:26 +0000 (09:31 +0200)]
meson: Pass -Wno-deprecated-declarations when detecting libcryptsetup functions
Otherwise we fail to detect crypt_reencrypt() if -Werror is used.
Daan De Meyer [Mon, 3 Jun 2024 09:49:34 +0000 (11:49 +0200)]
mkosi: drop Debian /tmp hack
/tmp is now a tmpfs in debian testing so let's drop our workaround.
Daan De Meyer [Mon, 3 Jun 2024 09:53:00 +0000 (11:53 +0200)]
mkosi: Add missing [Content] section
Daan De Meyer [Mon, 3 Jun 2024 09:17:48 +0000 (11:17 +0200)]
mkosi: Make system dependencies conditional on format
If the none format is specified, we don't use the extra trees at all
so let's make the dependencies on the subimages conditional on Format=
not being set to "none".
This speeds up builds when using Format=none.
Heran Yang [Mon, 3 Jun 2024 08:56:56 +0000 (16:56 +0800)]
docs: fix typo in CGroup Interface
Arian van Putten [Sun, 2 Jun 2024 19:44:33 +0000 (21:44 +0200)]
docs/DAEMON_SOCKET_ACTIVATION
Remove non-sensical network.target dependencies
There is no need to have these dependencies on socket units as far as I am aware.
Daan De Meyer [Sun, 2 Jun 2024 20:19:16 +0000 (22:19 +0200)]
importctl: Fix 0 flags argument in sd_bus_message_append()
Daan De Meyer [Sun, 2 Jun 2024 17:57:39 +0000 (19:57 +0200)]
repart: Fix unused variable warning
Yu Watanabe [Mon, 3 Jun 2024 06:10:37 +0000 (15:10 +0900)]
Merge pull request #33168 from weblate/weblate-systemd-main
Translations update from Fedora Weblate
Scrambled 777 [Mon, 3 Jun 2024 00:35:59 +0000 (02:35 +0200)]
po: Translated using Weblate (Hindi)
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Scrambled 777 <weblate.scrambled777@simplelogin.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/hi/
Translation: systemd/main
Temuri Doghonadze [Mon, 3 Jun 2024 00:35:59 +0000 (02:35 +0200)]
po: Translated using Weblate (Georgian)
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Temuri Doghonadze <temuri.doghonadze@gmail.com>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/ka/
Translation: systemd/main
Yuri Chornoivan [Mon, 3 Jun 2024 00:35:59 +0000 (02:35 +0200)]
po: Translated using Weblate (Ukrainian)
Currently translated at 100.0% (233 of 233 strings)
Co-authored-by: Yuri Chornoivan <yurchor@ukr.net>
Translate-URL: https://translate.fedoraproject.org/projects/systemd/main/uk/
Translation: systemd/main
Sergey A [Mon, 3 Jun 2024 00:35:58 +0000 (02:35 +0200)]
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
Daan De Meyer [Sun, 2 Jun 2024 19:04:56 +0000 (21:04 +0200)]
Merge pull request #33157 from DaanDeMeyer/end
test: Run end.sh when running integration tests with mkosi
Daan De Meyer [Sun, 2 Jun 2024 08:59:09 +0000 (10:59 +0200)]
test: Run end.sh when running integration tests with mkosi
Daan De Meyer [Sun, 2 Jun 2024 14:43:00 +0000 (16:43 +0200)]
TEST-16-EXTEND-TIMEOUT: Convert to oneshot service
To match the other service units more and allow adding more
ExecStart= lines via dropins.
Daan De Meyer [Sun, 2 Jun 2024 17:14:43 +0000 (19:14 +0200)]
resolved: Add missing nullable annotation for ifindex in ResolvedRecord
Daan De Meyer [Sun, 2 Jun 2024 14:37:56 +0000 (16:37 +0200)]
hostnamed: Add missing VSockCID varlink introspection data
Daan De Meyer [Sun, 2 Jun 2024 14:33:47 +0000 (16:33 +0200)]
pcrlock: Fix ReadEventLog() interface definition
Daan De Meyer [Sun, 2 Jun 2024 06:49:44 +0000 (08:49 +0200)]
Merge pull request #33154 from yuwata/test-async
test-async: wait a while for fd to be closed
hanjinpeng [Sat, 1 Jun 2024 13:58:36 +0000 (21:58 +0800)]
man: mention that ExecCondition= in COMMAND LINES section for systemd.service
Yu Watanabe [Sun, 2 Jun 2024 00:17:40 +0000 (09:17 +0900)]
test-async: also check if the directory is removed
Yu Watanabe [Sun, 2 Jun 2024 00:10:03 +0000 (09:10 +0900)]
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.
Piotr Drąg [Sat, 1 Jun 2024 14:53:15 +0000 (16:53 +0200)]
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
김인수 [Sat, 1 Jun 2024 14:53:15 +0000 (16:53 +0200)]
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
Luca Boccassi [Sat, 1 Jun 2024 17:17:09 +0000 (19:17 +0200)]
Merge pull request #33140 from yuwata/test-journal
test: sync journal in short-living services
Yu Watanabe [Sat, 1 Jun 2024 13:34:11 +0000 (22:34 +0900)]
test: exit earlier when cgroup user xattr is not supported
Also, use trap for cleaning up the test environment.
Yu Watanabe [Sat, 1 Jun 2024 13:25:06 +0000 (22:25 +0900)]
test: reduce number of 'systemctl daemon-reload' a bit
Yu Watanabe [Sat, 1 Jun 2024 06:54:44 +0000 (15:54 +0900)]
test: sync journal in short-living services
This also adjusts LogLevelMax=.
Hopefully, this makes the test much stabler.
Oğuz Ersen [Sat, 1 Jun 2024 10:59:54 +0000 (12:59 +0200)]
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
Yu Watanabe [Sat, 1 Jun 2024 06:30:45 +0000 (15:30 +0900)]
Merge pull request #33139 from weblate/weblate-systemd-main
Translations update from Fedora Weblate
Yu Watanabe [Sat, 1 Jun 2024 01:40:30 +0000 (10:40 +0900)]
test-network: add missing sleep()
Fixes a bug introduced by
7ef26afca555a5e167ebc59514490906a46db2cb .
Fixes #33098.
Weblate [Sat, 1 Jun 2024 06:13:46 +0000 (08:13 +0200)]
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
Sergey A [Sat, 1 Jun 2024 06:13:46 +0000 (08:13 +0200)]
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
Yu Watanabe [Sat, 1 Jun 2024 06:14:13 +0000 (15:14 +0900)]
po: update systemd.pot and Japanese Translation
Yu Watanabe [Sat, 1 Jun 2024 06:10:15 +0000 (15:10 +0900)]
network: drop period from the message title
We usually do not add full-stop for policy message title.
Follow-up for
f90eb086270f0aea8efcbff5a5e4c338d178cfd4 .
Yu Watanabe [Sat, 1 Jun 2024 05:42:16 +0000 (14:42 +0900)]
Leonard [Sat, 1 Jun 2024 02:29:42 +0000 (04:29 +0200)]
hwdb: added hwdb rules for micmute and power button on Acer Nitro AN 515-58 (#32867)
Luca Boccassi [Fri, 31 May 2024 20:44:43 +0000 (21:44 +0100)]
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.
Luca Boccassi [Fri, 31 May 2024 20:02:31 +0000 (21:02 +0100)]
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.
Daan De Meyer [Fri, 31 May 2024 21:21:05 +0000 (23:21 +0200)]
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.
Daan De Meyer [Fri, 31 May 2024 17:44:05 +0000 (19:44 +0200)]
Merge pull request #33105 from DaanDeMeyer/sanitizers
Sanitizers
Daan De Meyer [Thu, 16 May 2024 15:20:24 +0000 (17:20 +0200)]
ci: Build Fedora rawhide with sanitizers in mkosi
Let's make sure one build has sanitizers enabled for extra coverage.
Daan De Meyer [Fri, 31 May 2024 15:15:47 +0000 (17:15 +0200)]
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.
Daan De Meyer [Fri, 31 May 2024 15:01:27 +0000 (17:01 +0200)]
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.
Daan De Meyer [Thu, 16 May 2024 15:18:38 +0000 (17:18 +0200)]
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.
Daan De Meyer [Fri, 31 May 2024 15:26:01 +0000 (17:26 +0200)]
mkosi: Add note about kernel command line limit
Daan De Meyer [Fri, 31 May 2024 13:41:28 +0000 (15:41 +0200)]
Merge pull request #33126 from keszybz/revert-ci-workaround
Revert ci workaround
Daan De Meyer [Fri, 31 May 2024 13:40:43 +0000 (15:40 +0200)]
Merge pull request #33121 from yuwata/test-integration-tests-mkosi
Test: several integration test improvements
Daan De Meyer [Fri, 31 May 2024 11:48:14 +0000 (13:48 +0200)]
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.
Zbigniew Jędrzejewski-Szmek [Mon, 13 May 2024 13:34:23 +0000 (15:34 +0200)]
meson: fix comment
Zbigniew Jędrzejewski-Szmek [Fri, 31 May 2024 11:33:57 +0000 (13:33 +0200)]
Revert "mkosi: Disable add-determinism on Fedora"
This reverts commit
e74a994ebf7c813979b9e045f37907e6a5064f23 .
The description in that commit was confused, add-determinism was not broken
and was not causing any problems, except a log message.
Daan De Meyer [Fri, 31 May 2024 09:33:12 +0000 (11:33 +0200)]
cryptsetup-generator: Fix memory leak
Mike Yuan [Fri, 31 May 2024 04:41:31 +0000 (12:41 +0800)]
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
7923e9493c48694b32d1a6de7b9a996c0194bf17 ,
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.
Luca Boccassi [Fri, 31 May 2024 09:38:43 +0000 (11:38 +0200)]
Merge pull request #33123 from DaanDeMeyer/fix
Two mkosi fixes
Luca Boccassi [Fri, 31 May 2024 08:44:43 +0000 (10:44 +0200)]
Merge pull request #33122 from weblate/weblate-systemd-main
Translations update from Fedora Weblate
Daan De Meyer [Fri, 31 May 2024 08:25:08 +0000 (10:25 +0200)]
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.