systemd/.git
13 months agovarious: correct laccess() error check
Mike Yuan [Fri, 4 Oct 2024 19:05:21 +0000 (21:05 +0200)]
various: correct laccess() error check

laccess is our own macro that uses RET_NERRNO.

(cherry picked from commit 7c1dd9e288047a69d4a6a6dd6585725410cfdadd)

13 months agoFix generator logging
Daan De Meyer [Mon, 16 Sep 2024 19:45:55 +0000 (21:45 +0200)]
Fix generator logging

log_setup() overrides the previously set log target again so we
can't use it in log_setup_generator().

Follow-up for aa976d87889ae22b7347787a1ebd03a31dcc0a9e

(cherry picked from commit b3ebd480d6674ce4f66200858c88557595713bd5)

13 months agomkosi: update debian commit reference
Luca Boccassi [Tue, 8 Oct 2024 10:20:01 +0000 (11:20 +0100)]
mkosi: update debian commit reference

cb00be93e5 Upstream profile: skip dh_strip_nondeterminism
c948e192a8 autopkgtest: skip gdm3 on armel for smoke tests
e12116becb initramfs-tools: ensure rules file exists before invoking chzdev
c8904f67e9 Filter out zdev rules in the initramfs hook (LP: #2044104)
9967984fc8 salsa-ci: test the stage1 build profile
2c81f4a6cc d/e/checkout-upstream: undo quilt patches before switching debian branch
e75197fa10 d/e/checkout-upstream: do not rebase on main when building stable branches
7989319bca Drop patch merged upstream
b7127a0725 Depend on new linux-bpf-dev package where available
7966d2543f autopkgtest: use hint-testsuite-triggers to ensure other packages changes trigger our testsuite
777af76cae autopkgtest: run upstream test last
f257c53fe3 Stop installing legaly pkla file in upstream CI too
a4b54fd693 Use d/not-installed instead of manual removals
e0fdbb4496 Stop shipping empty /etc/init.d directory
202c7fc8f9 Use debian/clean instead of override in d/rules
ba81ea64a6 Drop redundant pot build
9152d0e064 autopkgtest: allow localectl in localed tests
319a078b8e Fix D-Bus policy for locale1 blocking
28daa8b37b Drop last patch, all merged upstream
7bf7bf6f4e Drop out-of-tree localed patch and use D-Bus policy instead
409028b7e6 Drop /etc/sysctl.d/99-sysctl.conf symlink
6f37d3cb3e d/e/checkout-upstream: switch packaging branch on upstream stable PRs
b7e53c00b2 d/e/checkout-upstream: do not fail if rebase fails
1364bb81d4 d/e/checkout-upstream: fix shellcheck warnings
796d133b0c initramfs-tools: copy network drop-ins too

13 months agomkosi: mark test as skipped when QEMU crashes
Luca Boccassi [Mon, 7 Oct 2024 15:48:55 +0000 (16:48 +0100)]
mkosi: mark test as skipped when QEMU crashes

On Ubuntu/Debian infrastructure QEMU crashes a lot, so mark the test
as skipped in that case as there's nothing we can do about it and
we shouldn't mark runs as failed

(cherry picked from commit 0d7f5a9ae6f5fc70c5ad23398c2b7a515e9b1982)

13 months agosemaphore: do not build docs
Luca Boccassi [Mon, 7 Oct 2024 18:40:31 +0000 (19:40 +0100)]
semaphore: do not build docs

There are other CI runs that build manpages, speed up build which is close to 1hr limit

(cherry picked from commit d58a904d35d3abcb7265b28b14aac596631e27d6)

13 months agosemaphore: stop building and running extra unit tests
Luca Boccassi [Mon, 7 Oct 2024 18:38:16 +0000 (19:38 +0100)]
semaphore: stop building and running extra unit tests

This slows down the build, which is often near the 1hr limit. There are
other jobs running the extra unit tests.

(cherry picked from commit 3bc5480bac474263881e4c5919d5cce0debf3c40)

13 months agoSemaphore: switch from /tmp to /var/tmp to avoid disk space issues
Luca Boccassi [Mon, 7 Oct 2024 10:23:32 +0000 (11:23 +0100)]
Semaphore: switch from /tmp to /var/tmp to avoid disk space issues

Builds have been failing as we run out of space in /tmp/, move to
/var/tmp

(cherry picked from commit 0c7b5dad33ee01b7ff6b7a8c583a7e2c27ac0673)

13 months agotest: set TEST_NESTED_KVM as default
Thomas Blume [Thu, 19 Sep 2024 10:02:27 +0000 (12:02 +0200)]
test: set TEST_NESTED_KVM as default

(cherry picked from commit 5540c37bb8b275cb58b1c936ff701d1c80503e9b)

13 months agomkosi: Switch to Fedora 41
Daan De Meyer [Mon, 7 Oct 2024 07:49:38 +0000 (09:49 +0200)]
mkosi: Switch to Fedora 41

It's due for release soon and will fix the flakyness of TEST-58-REPART
so let's bump the Fedora 40 job to Fedora 41.

(cherry picked from commit 12a1b02b528e1802025fdc7e3ac9de9426a14391)

13 months agocore: warn if a generator is world-writable
Lukas Nykryn [Fri, 4 Oct 2024 08:51:02 +0000 (10:51 +0200)]
core: warn if a generator is world-writable

... because that is obviously a security risk.

(cherry picked from commit da32cac8a014ddf048fc7bad84dafdbc204d4dc8)

13 months agotest: add test case for issue #34637
Yu Watanabe [Sun, 6 Oct 2024 06:39:36 +0000 (15:39 +0900)]
test: add test case for issue #34637

(cherry picked from commit 88d186e4829bc7ef4a4253fe2bf4857903bca830)

13 months agoudev-node: skip stack directory creation for diskseq
Yu Watanabe [Sun, 6 Oct 2024 05:43:45 +0000 (14:43 +0900)]
udev-node: skip stack directory creation for diskseq

The disk/by-diskseq symlink should not be shared with multiple block
devices. Hence, it is not necessary to create stack directory for the
symlink that manages which device owns the symlink.

This is not just a optimization.
If a service unit tries to mount a disk image but the service fails, then
the diskseq of the loop device for the image may be continuously increased
during restart, and inodes in /run may increase rapidly, as the stack
directories are cleaned up only when udev queue is empty.

Fixes #34637.

(cherry picked from commit 09373c1a50297079e6b0447ea97af4e9a60f77fa)

13 months agoUse case insensitive comparison for the machine's architechture
Daniel Martinez [Sun, 6 Oct 2024 03:39:43 +0000 (23:39 -0400)]
Use case insensitive comparison for the machine's architechture

boot loader specification states:

architecture: refers to the architecture this entry is for. The argument
should be an architecture identifier, using the architecture vocabulary
defined by the EFI specification (i.e. IA32, x64, IA64, ARM, AA64, …).
If specified and it does not match the local system architecture this
entry should be hidden. The comparison should be done case-insensitively.

Example: architecture aa64

https://uapi-group.org/specifications/specs/boot_loader_specification/#type-1-boot-loader-entry-keys
(cherry picked from commit f819a516dbbddb16724f33dcef5badcb6fe8b80b)

13 months agotest: Add test for per-device cgroup properties
Michal Koutný [Fri, 4 Oct 2024 18:40:51 +0000 (20:40 +0200)]
test: Add test for per-device cgroup properties

Reported in #34126

(cherry picked from commit 321637743313f896e275fd038996b8cfb5a070b3)

13 months agochase: Fix shortcut
Daan De Meyer [Fri, 4 Oct 2024 19:34:33 +0000 (21:34 +0200)]
chase: Fix shortcut

We can't shortcut chaseat() if CHASE_PARENT is set.

(cherry picked from commit 87333bd1dc69195b93e9aee9b91c06fb167b152e)

13 months agorepart: Don't copy root directory mode from source file
Daan De Meyer [Fri, 4 Oct 2024 19:33:52 +0000 (21:33 +0200)]
repart: Don't copy root directory mode from source file

If the source is a file, don't copy the mode and such from it to
the root directory, even if the target is /.

(cherry picked from commit 413d3ce1b76b42ba691eea54cd1704b14602442e)

13 months agoman: Use proper conjunction and remove superfluous or
Jörg Behrmann [Fri, 4 Oct 2024 11:24:32 +0000 (13:24 +0200)]
man: Use proper conjunction and remove superfluous or

(cherry picked from commit 56f32d9e782f8ba43f17cb04687c915a7e41d10e)

13 months agorepart: Handle empty arg_copy_source in file_is_denylisted()
Daan De Meyer [Fri, 4 Oct 2024 08:27:04 +0000 (10:27 +0200)]
repart: Handle empty arg_copy_source in file_is_denylisted()

(cherry picked from commit 7cd56ec9515a7ffc4edbd7d10ab7d001129abf57)

13 months agoman: consolidate list of active unit states into a shared table
Luca Boccassi [Thu, 3 Oct 2024 19:50:38 +0000 (20:50 +0100)]
man: consolidate list of active unit states into a shared table

Avoids the need to maintain the same list over and over again, and
link it to the defition table in the implementation as a reminder
too

(cherry picked from commit 3509fe124d3a4fe2934028f83ae156ade050c8fe)

13 months agorepart: open target devices before UUID creation
Michael Ferrari [Thu, 3 Oct 2024 12:02:12 +0000 (14:02 +0200)]
repart: open target devices before UUID creation

This is to ensure that the UUIDs from the CopyBlocks= devices are copied
to the corresponding new partition instead of creating a new UUID for
it. With this verity partitions can be copied, keeping their UUIDs to
ensure that they still match up with what is specified in roothash=.

(cherry picked from commit f106fd2dbdbd9debfc2d2ed4d96ae3108a29c79b)

13 months agohomectl: fix inverted table footer condition
Zbigniew Jędrzejewski-Szmek [Thu, 3 Oct 2024 17:06:49 +0000 (19:06 +0200)]
homectl: fix inverted table footer condition

Fixup for 2413a0fab4fdad7eef3ce1d4b57664be5795b002.

(cherry picked from commit 3be87dca031956bc0f7744d0bb9e1fea04acd945)

13 months agonsresourced: Fix declaration of bpf_rdonly_cast()
Daan De Meyer [Thu, 3 Oct 2024 08:46:27 +0000 (10:46 +0200)]
nsresourced: Fix declaration of bpf_rdonly_cast()

Fixes compilation error

"""
[780/3171] /usr/bin/clang -std=gnu11 -Wno-compare-distinct-pointer-types -fno-stack-protector -O2 -target bpf -g -c -D__aarch64__ -I. -isystem /usr/include/ -idirafter /usr/include ../src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.c -o src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.unstripped.o -I/usr/src/kernels/6.11.1-0.hs1.hs+fb.el9.aarch64
FAILED: src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.unstripped.o
/usr/bin/clang -std=gnu11 -Wno-compare-distinct-pointer-types -fno-stack-protector -O2 -target bpf -g -c -D__aarch64__ -I. -isystem /usr/include/ -idirafter /usr/include ../src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.c -o src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.unstripped.o -I/usr/src/kernels/6.11.1-0.hs1.hs+fb.el9.aarch64
../src/nsresourced/bpf/userns_restrict/userns-restrict.bpf.c:27:7: error: conflicting types for 'bpf_rdonly_cast'
   27 | void *bpf_rdonly_cast(void *, __u32) __ksym;
      |       ^
/usr/src/kernels/6.11.1-0.hs1.hs+fb.el9.aarch64/vmlinux.h:143063:14: note: previous declaration is here
 143063 | extern void *bpf_rdonly_cast(const void *obj__ign, u32 btf_id__k) __weak __ksym;
        |              ^
1 error generated.
"""

(cherry picked from commit 33f1c5287f6c5b1b02324bbbb5aafb27d34b00cb)

13 months agoman: using WantedBy=default.target is not a good idea
Lukas Nykryn [Tue, 1 Oct 2024 09:30:18 +0000 (11:30 +0200)]
man: using WantedBy=default.target is not a good idea

We had several users, that wrote their unit files with
WantedBy=default.target because it should be started "every time".
But for example in Fedora/CentOS/RHEL, this often breaks for
example selinux relabels (where we just want to do a relabel and reboot).

(cherry picked from commit 67b6404b80cf8078f3d9ec6d4c2f34ac25b15077)

13 months agomkosi: Stop installing bpftrace
Daan De Meyer [Wed, 2 Oct 2024 09:27:55 +0000 (11:27 +0200)]
mkosi: Stop installing bpftrace

bpftrace nudges the Fedora Rawhide images towards compiler-rt18 while the
sanitizer builds pull in clang19, leading to the sanitizer libraries
not being found at runtime. Let's drop bpftrace for now so that compiler-rt19
is pulled in in the main image.

(cherry picked from commit d98b6c66ffaccbef1c86fc729f2f9601bfb02fd5)

13 months agomkosi: Pass ASAN_OPTIONS to subimages
Daan De Meyer [Wed, 2 Oct 2024 09:27:09 +0000 (11:27 +0200)]
mkosi: Pass ASAN_OPTIONS to subimages

systemd built with sanitizers is installed in subimages and tools
might get invoked in postinstall scripts so we have to disable ASAN
in the subimages as well during the image build.

(cherry picked from commit 345a4fcbb6ed16ab19d0d5b0c7344e5cdfe29efd)

13 months agomkosi: Don't sync if the packaging specs repo is dirty
Daan De Meyer [Wed, 2 Oct 2024 08:50:59 +0000 (10:50 +0200)]
mkosi: Don't sync if the packaging specs repo is dirty

(cherry picked from commit 9c7762c943bd5612f02a93b2ec986141fcb5226d)

13 months agotree-wide: Fix Wformat warnings
Daan De Meyer [Tue, 1 Oct 2024 07:28:42 +0000 (09:28 +0200)]
tree-wide: Fix Wformat warnings

The latest clang has started catching more integer promotions which
cause us to pass the wrong type to printf() format specifiers so let's
fix those.

(cherry picked from commit c73d14c43e7998ca54011875ad25afc634d57498)

13 months agoman: drop reference to /bin/ from docs regarding binary search path
Lennart Poettering [Tue, 1 Oct 2024 13:52:56 +0000 (15:52 +0200)]
man: drop reference to /bin/ from docs regarding binary search path

We don't support "split /usr" systems anymore, hence no point in
mentioning /bin/ anymore as being part of the binary search path.

(cherry picked from commit f39e66b85a4a97818a618758e34019d052aeb772)

13 months agoman: soft deprecate use of ";" for separating multiple command lines in ExecStart=
Lennart Poettering [Tue, 1 Oct 2024 10:12:52 +0000 (12:12 +0200)]
man: soft deprecate use of ";" for separating multiple command lines in ExecStart=

So far we supported this syntax:

    ExecStart=foo ; bar

as equivalent to:

    ExecStart=foo
    ExecStart=bar

With this change we'll "soft" deprecate the first syntax. i.e. it's
still supported in code, but not documented anymore.

The concept was originally added to make things easier for 3rd party
.ini readers, as it allowed writing unit files with a .ini framework
that doesn't allow multiple assignments for the same key. But frankly,
this is kinda pointless, as so many other of our knobs require the
double assignment.

Hence, let's just stop advertising the concept, let's simplify the docs,
by removing one entirely redundant feature from it.

Replaces: #34570
(cherry picked from commit 225f18b9a9d39331ea862478ab2ff893678e249d)

13 months agotree-wide: always do dlopen() with RTLD_NOW + RTLD_NODELETE
Lennart Poettering [Tue, 1 Oct 2024 14:44:18 +0000 (16:44 +0200)]
tree-wide: always do dlopen() with RTLD_NOW + RTLD_NODELETE

Let's systematically use RTL_NOW|RLTD_NODELETE as flags passed to
dlopen(), across our codebase.

Various distros build with "-z now" anyway, hence it's weird to specify
RTLD_LAZY trying to override that (which it doesn't). Hence, let's
follow suit, and just do what everybody else does.

Also set RTLD_NODELETE, which is apparently what distros will probably
end up implying sooner or later anyway. Given that for pretty much all
our dlopen() calls we never call dlclose() anyway, let's just set this
everywhere too, to make things systematic.

This way, the flags we use by default match what distros such as fedora
do, there are no surprises, and read-only relocations can be a thing.

Fixes: #34537
(cherry picked from commit bd4beaa2ebfbbec0a1263a7091a91e528ce8cf13)

13 months agobuild(deps): bump systemd/mkosi
dependabot[bot] [Tue, 1 Oct 2024 12:54:11 +0000 (12:54 +0000)]
build(deps): bump systemd/mkosi

Bumps [systemd/mkosi](https://github.com/systemd/mkosi) from 2c9954fa51a3a995bbdc02db6ef51f5bd27bc1ba to 3454f7bd4ef0336ec80a117d593baaef0fe53398.
- [Release notes](https://github.com/systemd/mkosi/releases)
- [Commits](https://github.com/systemd/mkosi/compare/2c9954fa51a3a995bbdc02db6ef51f5bd27bc1ba...3454f7bd4ef0336ec80a117d593baaef0fe53398)

---
updated-dependencies:
- dependency-name: systemd/mkosi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 6aed4876e8bd74c6814a6d588b556d9f0ab1f021)

13 months agobpf: fix cross build failure on Debian
Helmut Grohne [Mon, 30 Sep 2024 15:56:18 +0000 (17:56 +0200)]
bpf: fix cross build failure on Debian

For compiling bpf code, the system include directory needs to be
constructed. On Debian-like systems, this requires passing a multiarch
directory. Since clang's -dump-machine prints something other that the
multiarch triplet, gcc was interrogated earlier, but that also yields a
wrong result for cross compilation and was thus skipped resulting in
clang not finding asm/types.h.

Rather than, -dump-machine we should ask for -print-multiarch (which
rarely differs). Whenever gcc is in use, this is right (even for cross
building). Since clang does not support -print-multiarch and its
-dump-machine never matches Debian's multiarch, we resort to asking gcc
when building natively. For cross builds using clang, we are out of
luck.

(cherry picked from commit 608009dc6218f7c41420f665586f2449b64a08f7)

13 months agoUpdate sd_bus_message_append_array.xml
Marcel Hellwig [Tue, 1 Oct 2024 12:31:08 +0000 (14:31 +0200)]
Update sd_bus_message_append_array.xml

fix pointer constness in documentation

(cherry picked from commit fec09ff094670a6903b12b1c599b00b39a2b0c88)

13 months agoAdd %posttrans versions of the systemd %postun scriptlets
Daan De Meyer [Mon, 30 Sep 2024 14:08:17 +0000 (16:08 +0200)]
Add %posttrans versions of the systemd %postun scriptlets

On upgrades, only the %postun scriptlets of the old package version
run. This means that any changes related to restarting daemons require
two releases before they're actually used.

%postun is used because it runs after the old package has been removed,
which is important as it means any lingering dropins from the old package
will have been removed as well.

To allow deploying fixes in just a single release while still running after
the old package has been removed, let's introduce %posttrans versions of these
scriptlets as %posttrans of the new package runs on upgrade and install after
the old package has been removed.

(cherry picked from commit 9fd8a9dffe9b8f29da52e4e1481926bceed5ce6c)

13 months agosystemd-integritysetup: accept integrity-algorithm=xxhash64
Daniel Dawson [Fri, 27 Sep 2024 00:44:03 +0000 (17:44 -0700)]
systemd-integritysetup: accept integrity-algorithm=xxhash64

Signed-off-by: Daniel Dawson <danielcdawson@gmail.com>
(cherry picked from commit 0c96911afb67fc1632866548efe151f6f10191b0)

13 months agoman: add a comment that inode type policy might be enforces via an LSM or similar
Lennart Poettering [Mon, 30 Sep 2024 16:28:27 +0000 (18:28 +0200)]
man: add a comment that inode type policy might be enforces via an LSM or similar

Just to tighten the language a bit, why people should care about where
they place their inodes.

(cherry picked from commit 5b53894123b9d01f5738b02befd4189625c5451f)

13 months agoman: clarify that the defined file hiearchy is just a skeleton
Lennart Poettering [Mon, 30 Sep 2024 16:19:33 +0000 (18:19 +0200)]
man: clarify that the defined file hiearchy is just a skeleton

(And specifically mention /usr/include + /var/spool as not covered here,
but being OK to add downstream)

(cherry picked from commit fd6e079e7b296696028c161224d2a86fce70726f)

13 months agoman: drop /var/spool/ mention from file-hierarchy(7) man page
Lennart Poettering [Mon, 30 Sep 2024 15:29:35 +0000 (17:29 +0200)]
man: drop /var/spool/ mention from file-hierarchy(7) man page

Today it seems this is mostly used by mail and printer servers, and it's
not clear to me at all what the property is that makes
/var/spool/<package> the better place for the relevant data than
/var/lib/<package>.

Hence, in the interest of shortening the spec, let's not mention the dir
anymore. In particular as the dir really isn't used by us much, for
example we do not have a counterpart for RuntimeDirectory=,
StateDirectory=, … that would cover the spool.

Since most systems these days we care about probably come *without* a
printer or mail server, let's maybe no mention this in the man page that
is supposed to discuss the rough skeleton how things are set up. After
all, people are supposed to exend the skeleton with their stuff, and
this sounds more like a case for an extension of the skeleton instead of
being considered part of the skeleton itself.

(cherry picked from commit b0201b36d2e0181d08530aaad496322812c4e77e)

13 months agoman: drop mention of /usr/include/ from file-hierarchy(7) man page
Lennart Poettering [Mon, 30 Sep 2024 15:29:15 +0000 (17:29 +0200)]
man: drop mention of /usr/include/ from file-hierarchy(7) man page

The man page is supposed to provide a "generalized, though minimal and
modernized subset" (as per introductory pargapraghs), from a systemd
perspective. But the thing is that /usr/include/ really doesn't matter
to us. It's a development thing, and slightly weird (because it arguably
would be better places in /usr/share/include/ or so). It's not going to
be there on 95% of deployed systems, and we really don't want people to
bother with it on such systems.

We only define the skeleton of directories in this document, and it's
expected that people extend it, and I think this really should be one of
those dirs that is an extension of our skeleton, but not part of the
skeleton, if that makes any sense.

(cherry picked from commit 9e7b691073922433a71cf49dcaaf7f9f61f58e6d)

13 months agologind-dbus: really cancel scheduled shutdown
David Tardon [Thu, 26 Sep 2024 07:45:44 +0000 (09:45 +0200)]
logind-dbus: really cancel scheduled shutdown

Fixes #34554

(cherry picked from commit cd9c3327cbc936fc7e3a07d12b94328586ccfbaa)

13 months agorepart: Apply denylist to individual files as well
Daan De Meyer [Mon, 30 Sep 2024 11:41:26 +0000 (13:41 +0200)]
repart: Apply denylist to individual files as well

(cherry picked from commit 0bbe63fc66a7cf47fa0f4b9a0f4579e3d7cf2e1e)

13 months agosystemctl: fix printing of RootImageOptions
Zbigniew Jędrzejewski-Szmek [Fri, 27 Sep 2024 18:17:12 +0000 (20:17 +0200)]
systemctl: fix printing of RootImageOptions

The type is a(ss), so a custom printer is required.

Fixes https://github.com/systemd/systemd/issues/33967.

(cherry picked from commit 69c751c61cb2b386afe51f03b58f8f7ceeeb643e)

13 months agoseccomp-util: include @sandbox in @default
Mickaël Salaün [Wed, 25 Sep 2024 13:20:23 +0000 (15:20 +0200)]
seccomp-util: include @sandbox in @default

Every services and containers should be able to protect their users and
limit the impact of security bugs thanks to the security syscalls
provided by seccomp and Landlock.  The goal of these syscalls is to
improve security with additional restrictions.  They are designed to be
safely used by unprivileged (and then potentially malicious) users.

Remove the now-redundant "seccomp" entry for nspawn.

(cherry picked from commit e9966634754b8c9ee3f3c579f25d938e185c282e)

13 months agoman: fix formatting in file-hierarchy
Zbigniew Jędrzejewski-Szmek [Thu, 26 Sep 2024 09:18:26 +0000 (11:18 +0200)]
man: fix formatting in file-hierarchy

Somebody wrapped the text, but whitespace is preserved in <programlisting>, so
the output was mangled. It also doesn't make sense to run systemd-path as root
(as indicated by '#'), so drop that. Also, this chunk should be a separate
paragraph.

(cherry picked from commit 1ca81b2e005ccef6e9ddf06c3e3441bae0a6e1d5)

13 months agomkosi: update arch commit reference
Daan De Meyer [Wed, 25 Sep 2024 13:52:06 +0000 (15:52 +0200)]
mkosi: update arch commit reference

d5a2dc54da Use vmlinux.h from linux-headers
59912d804f update checksums...
83edb5244e build: set ssh privsep dir to /usr/share/empty.sshd
65363cc5ba build: explicitly enable vmlinux-h=generated
14e6d27dd4 build: drop deprecated default-hierarchy option
81e7545ca3 systemd.install: stop applying ACL ourselves
147c214201 systemd-hook: use systemd-notify --booted to detect if systemd is running
010bc3c05c upgpkg: 256.6-1: new upstream release

(cherry picked from commit 5acca1b88551633c91ae602351f9a23af178ce6b)

13 months agoFix reference to FileDescriptorStoreMax= directive
Nils K [Mon, 23 Sep 2024 19:01:38 +0000 (21:01 +0200)]
Fix reference to FileDescriptorStoreMax= directive

(cherry picked from commit 543015a164c1fbf22c13c357efb180cf1adc5f03)

13 months agomachine: resolve race condition in TEST-13-NSPAWN.machinectl.sh
Ivan Kruglov [Fri, 20 Sep 2024 10:20:53 +0000 (12:20 +0200)]
machine: resolve race condition in TEST-13-NSPAWN.machinectl.sh

I encountered this race condition while working on TEST-13-NSPAWN.varlinkctl.sh.
The long-running machine's init script sometimes does not have time to start and
register signals. As result, occasiounally failed tests.

(cherry picked from commit e826a8bed447f3b3f9ad487f96ab7f8c7620c75b)

13 months agocreds: fix cat with encrypted credentials
Simon Pilkington [Wed, 25 Sep 2024 09:25:48 +0000 (11:25 +0200)]
creds: fix cat with encrypted credentials

Fixes: https://github.com/systemd/systemd/issues/34547
(cherry picked from commit 32951fe4de683f5d42cec2fb2e036f766b051e2b)

13 months agorepart: Determine verity sig size based on partition designator
Daan De Meyer [Thu, 19 Sep 2024 12:04:34 +0000 (14:04 +0200)]
repart: Determine verity sig size based on partition designator

Verity= is an image build concept, not a first boot concept, whereas
a partition designator is always available, so let's do the size stuff
based on that.

(cherry picked from commit e11745d000d7e9b3112bb336735c1bdfa77e9add)

13 months agocore/cgroup: Apply IODevice*= directives in configured order
Michal Koutný [Fri, 13 Sep 2024 17:27:13 +0000 (19:27 +0200)]
core/cgroup: Apply IODevice*= directives in configured order

Different device paths may resolve to same device node
(lookup_block_device()), e.g.
        IOReadBandwidthMax=/dev/sda1 18879
        IOReadBandwidthMax=/dev/sda2 18878
where both partitions resolve to /dev/sda and when these values are
applied (they are associated with original paths, i.e. as if applied for
different device) in the order from io_device_limits.

The parsing code prepends, so they end up in reverse order wrt config
file. Switch the direction so that the order of application matches the
order of configuration -- i.e. semantics in all other unit file
directives.

Apply same change to all directives that use per-device lists. (The
question whether partitions should be resolved to base device is
independent.)

And apply the changes equally to DBus properties write handlers.

Fixes #34126

(cherry picked from commit 0fa0dfa04465651a18107d503f9967f84bd761d1)

13 months agocore/cgroup: cache IO accounting data when pruning a cgroup
Ivan Shapovalov [Fri, 20 Sep 2024 11:01:51 +0000 (13:01 +0200)]
core/cgroup: cache IO accounting data when pruning a cgroup

When removing a cgroup in unit_prune_cgroup(), read IO metrics to cache
them similar to the existing treatment of the CPU and memory usage data.

Note that we do not do this for the IP metrics as the firewall objects
are only destroyed in unit_free() and thus stay alive long enough to
be read out directly by all interested parties.

Fixes #26988.

(cherry picked from commit 17bbdefd8c49617d7596bbf708c818a9773a9b44)

13 months agocore/cgroup: drop `allow_cache` parameter in `unit_get_io_accounting()`
Ivan Shapovalov [Fri, 20 Sep 2024 15:02:13 +0000 (17:02 +0200)]
core/cgroup: drop `allow_cache` parameter in `unit_get_io_accounting()`

The name of the parameter is misleading and it does not save us much
work because it is not used during regular unit property queries.
It is only used during unit_log_resources(), and the cgroup is already
dead by that point so it won't be read anyway.

(cherry picked from commit a0020ad84bb092fc72cde7dca5784a0a4e613fd7)

13 months agoman: say that SYSEXT_SCOPE=initrd also applies to exitrds
Zbigniew Jędrzejewski-Szmek [Mon, 23 Sep 2024 10:01:21 +0000 (12:01 +0200)]
man: say that SYSEXT_SCOPE=initrd also applies to exitrds

We generally do _not_ want the same sysexts to be loaded in both initrd and
exitrd phases. The environment is completely different and it's unlikely that
the same code can be useful in both places. Nevertheless, it can be useful in
_some_ cases, for example when the sysexts contains debugging tools.

I think we don't need to differentiate between initrds and exitrds through
SYSEXT_SCOPE, because the two types are made available in completely different
locations and loaded through a different mechanism, with very little chance of
an initrd being loaded as an exitrd without an explicit admin action (or the
other way around). So let's not complicate our code or definitions by an
explicit "exitrd" sysext designator, but just clarify that "initrd" also
encompasses exitrds in this context.

(cherry picked from commit 7352a0093f4ef96c361be22337cde3296d79da01)

13 months agoman: slightly enhance docs about "exitrd" and remove TODO entry for it
Zbigniew Jędrzejewski-Szmek [Mon, 23 Sep 2024 09:41:29 +0000 (11:41 +0200)]
man: slightly enhance docs about "exitrd" and remove TODO entry for it

The concept is fairly well established and present in our docs in various
places.

Say that the exitrd is also marked by the presence of /etc/initrd-release.

(cherry picked from commit ace26a511ff63dbc15f1b2b0b941cbd3294a288c)

13 months agorepart: Add a log message when we're about to fsync().
Daan De Meyer [Sun, 22 Sep 2024 13:42:52 +0000 (15:42 +0200)]
repart: Add a log message when we're about to fsync().

(cherry picked from commit f3b8e81f5443fefb1dd2bb62d6b41c2559dca475)

13 months agomkosi: Add missing SPDX line
Daan De Meyer [Sun, 22 Sep 2024 13:23:08 +0000 (15:23 +0200)]
mkosi: Add missing SPDX line

(cherry picked from commit 80d4ea44577e90beed49fcbb7c00538bf203dfbb)

13 months agomkosi: Add back support for running clangd within mkosi
Daan De Meyer [Sat, 21 Sep 2024 17:29:15 +0000 (19:29 +0200)]
mkosi: Add back support for running clangd within mkosi

This allows hacking on systemd without installing any build
dependencies except mkosi on the host machine.

(cherry picked from commit 6d862a9dc08285fffb9da29055235b5c9935dcf8)

13 months agomachined: fix bogus error check for machine_link()
Mike Yuan [Fri, 20 Sep 2024 21:58:14 +0000 (23:58 +0200)]
machined: fix bogus error check for machine_link()

(cherry picked from commit 533c20ca5bd7002d8983b7d48f47ff78c25347c3)

13 months agoAdd an extra debug log to dissect_image()
Daan De Meyer [Thu, 19 Sep 2024 12:53:53 +0000 (14:53 +0200)]
Add an extra debug log to dissect_image()

(cherry picked from commit 0121b84e41cd187e44c275a23db1a656656ec37f)

13 months agomkosi: bump mkosi MinimumVersion
Zbigniew Jędrzejewski-Szmek [Fri, 20 Sep 2024 14:14:08 +0000 (16:14 +0200)]
mkosi: bump mkosi MinimumVersion

dbff64ddf06f64ab94bd314df27d6c089b75de52 bumped the hash to
a commit after 24.3, so let's tell the users that 25~devel is
the minimum required.

(cherry picked from commit 3a157e7cb4b1ec6fb822a014d67161ecfee546a2)

13 months agosd-ipv4acd: fix assertion triggered when an ARP received in STARTED state
Yu Watanabe [Fri, 20 Sep 2024 00:58:12 +0000 (09:58 +0900)]
sd-ipv4acd: fix assertion triggered when an ARP received in STARTED state

When a network is busy, an ARP may be received before the timer event
source triggered first time.

Fixes #34489.

(cherry picked from commit 146b44d0a0001712ced2f22ca76d242eedac26ad)

13 months agoboot: use INC_SAFE where appropriate
Mike Yuan [Thu, 19 Sep 2024 14:07:01 +0000 (16:07 +0200)]
boot: use INC_SAFE where appropriate

(cherry picked from commit 48837c65008a312810c4cad2789dd3fb7bc27488)

13 months agotmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks
Mike Yuan [Thu, 19 Sep 2024 11:38:47 +0000 (13:38 +0200)]
tmpfiles: ERRNO_IS_NOINFO -> _IS_NEG_, correct negative errno checks

(cherry picked from commit 755877f20a2e18d1a2c4149662c2caec80230879)

13 months agoman: update PCR and Secure Boot key names and paths
cvlc12 [Wed, 11 Sep 2024 18:18:26 +0000 (20:18 +0200)]
man: update PCR and Secure Boot key names and paths

(cherry picked from commit dbf5b09de40a9d22b67611524bea12feae657462)

13 months agotest: add tests for seccomp_suppress_sync()
Yu Watanabe [Wed, 18 Sep 2024 16:53:19 +0000 (01:53 +0900)]
test: add tests for seccomp_suppress_sync()

(cherry picked from commit c07e10628b6add9ee9664956a28d3f727c9848f8)

13 months agoseccomp-util: pass negative fds as is to fsync() and friends
Yu Watanabe [Thu, 19 Sep 2024 18:52:19 +0000 (03:52 +0900)]
seccomp-util: pass negative fds as is to fsync() and friends

Closes #34478.

Co-authored-by: Mike Yuan <me@yhndnzj.com>
(cherry picked from commit 144fbbac235b6b89d5d31795be1cc0dca9852ccc)

13 months agotest: Run TEST-74-AUX-UTILS in virtual machine
Daan De Meyer [Wed, 18 Sep 2024 13:53:33 +0000 (15:53 +0200)]
test: Run TEST-74-AUX-UTILS in virtual machine

Various tests skip themselves when running in a container so make
sure the test runs in a virtual machine so we get full coverage.

(cherry picked from commit f4faac20730cbb339ae05ed6e20da687a2868e76)

13 months agoman: fix typo
Yu Watanabe [Thu, 19 Sep 2024 00:18:44 +0000 (09:18 +0900)]
man: fix typo

Follow-up for 8aee931e7ae1adb01eeac0e1e4c0aef6ed3969ec.

(cherry picked from commit 07e6a111c0c64b68147d940fabe4d3c4e63e1172)

14 months agoci: Don't add testuser to wheel and systemd-journal groups
Daan De Meyer [Wed, 18 Sep 2024 13:38:43 +0000 (15:38 +0200)]
ci: Don't add testuser to wheel and systemd-journal groups

This breaks TEST-74-AUX-UTILS when run in a VM as the user gets access
to journal files that the test expects it can't access.

(cherry picked from commit 1d5b4317cd0140c043495f946e5352b188f3bec0)

14 months agomkosi: Stop applying device groups patch on Arch
Daan De Meyer [Thu, 12 Sep 2024 19:27:03 +0000 (21:27 +0200)]
mkosi: Stop applying device groups patch on Arch

It stopped applying so let's stop applying it to make CI green again.

(cherry picked from commit cf94f513f055d04d2c46b25e30948ea12adbe25c)

14 months agomkosi: Disable makepkg PKGBUILD linting using the newly added environment variable
Daan De Meyer [Sun, 15 Sep 2024 08:25:06 +0000 (10:25 +0200)]
mkosi: Disable makepkg PKGBUILD linting using the newly added environment variable

(cherry picked from commit 27a8a29e32fbfc9ca350f58b97ef70ce9e6ea988)

14 months agomkosi: supress error messages from git
Zbigniew Jędrzejewski-Szmek [Fri, 20 Sep 2024 13:58:32 +0000 (15:58 +0200)]
mkosi: supress error messages from git

When updating, I get a message like:
fatal: Not a valid object name a67221c3f0d0b81b9b5b3230a71d09044342f1a4^{commit}

The failure here is expected, it just means that an update is
necessary, so suppress output.

(cherry picked from commit 3f922abe49a14316aec87f8a8e2b0fe9ad4d5e52)

14 months agoboot: Make initrd_prepare() semantically equivalent to combine_initrds()
Daan De Meyer [Fri, 13 Sep 2024 19:37:20 +0000 (21:37 +0200)]
boot: Make initrd_prepare() semantically equivalent to combine_initrds()

Currently, trying to boot images with type 1 entries generated by mkosi
with qemu freezes in the kernel EFI stub. I'm not going to pretend I
understand what's going on, but when I reported a similar problem with
UKIs, the fix was to rework the code in combine_initrds() in the stub
to behave like it does today. It seems that same fix was never applied
to systemd-boot's combine_initrds() function, so let's do that now to
fix the freezes I've been seeing trying to boot images with type 1 entries
in qemu.

(cherry picked from commit f8fa4222c9ac3e74e91c64e25e9532c99559cf99)

14 months agoportable: ensure PORTABLE_FORCE_ATTACH works even when there is a leftover unit
Luca Boccassi [Fri, 30 Aug 2024 16:55:18 +0000 (17:55 +0100)]
portable: ensure PORTABLE_FORCE_ATTACH works even when there is a leftover unit

Force means force, we skip checks with PID1 for existing units, but
then bail out with EEXIST if the files are actually there. Overwrite
everything instead.

(cherry picked from commit 1e2d1a7202400e08a00782f32804fdc503259806)

14 months agotest: mount ld.so.cache in minimal nspawn container if present
Luca Boccassi [Wed, 28 Aug 2024 21:08:33 +0000 (22:08 +0100)]
test: mount ld.so.cache in minimal nspawn container if present

In some cases (SUSE Tumbleweed) this is needed as a library (libz) is
not in the default path, so it fails to run.

(cherry picked from commit 1e17e48b96bb509754a0a11ea8bd0394965564c6)

14 months agomeson: bump version to 256.6 v256.6
Luca Boccassi [Tue, 10 Sep 2024 15:02:09 +0000 (17:02 +0200)]
meson: bump version to 256.6

14 months agohwdb: update to main@{2024-09-10}
Luca Boccassi [Tue, 10 Sep 2024 15:01:26 +0000 (17:01 +0200)]
hwdb: update to main@{2024-09-10}

git restore -s origin/main hwdb.d/ test/hwdb.d

14 months agomkosi: Add back accidentally removed .gdbinit file
Daan De Meyer [Mon, 8 May 2023 14:04:24 +0000 (16:04 +0200)]
mkosi: Add back accidentally removed .gdbinit file

(cherry picked from commit b811b9addfa44dd076c6407649e74b7f016b583f)

14 months agomkosi: use util-linux's autologin
Luca Boccassi [Wed, 28 Aug 2024 12:53:31 +0000 (13:53 +0100)]
mkosi: use util-linux's autologin

login is now from util-linux so credentials are supported.
It also needs to be pulled in as it's Protected: yes rather than
Essential: yes.

Keep the old setting for Ubuntu as that still uses login from shadow.

(cherry picked from commit ec540290177ea208eafb6dfd49de2d9344bee4ce)

14 months agomkosi: Don't create sanitizer wrappers for every mkfs binary
Daan De Meyer [Sun, 1 Sep 2024 07:31:12 +0000 (09:31 +0200)]
mkosi: Don't create sanitizer wrappers for every mkfs binary

mksquashfs for some reason ends up in nss_systemd and mkfs.btrfs
links against libudev. The others don't need a sanitizer wrapper
script.

(cherry picked from commit 67b240f6b0babf99dce108d1e0f4e3b4b0cf3ec6)

14 months agobuild(deps): bump systemd/mkosi
dependabot[bot] [Sun, 1 Sep 2024 09:10:17 +0000 (09:10 +0000)]
build(deps): bump systemd/mkosi

Bumps [systemd/mkosi](https://github.com/systemd/mkosi) from 8c2f828701a1bdb3dc9b80d6f2ab979f0430a6b8 to 31b4e756c1484c302435653da5d3b9bdfae38518.
- [Release notes](https://github.com/systemd/mkosi/releases)
- [Changelog](https://github.com/systemd/mkosi/blob/main/NEWS.md)
- [Commits](https://github.com/systemd/mkosi/compare/8c2f828701a1bdb3dc9b80d6f2ab979f0430a6b8...31b4e756c1484c302435653da5d3b9bdfae38518)

---
updated-dependencies:
- dependency-name: systemd/mkosi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 0333969a405ea32be4d79e563db4d9578b996ec1)

14 months agomkosi: Use apt patterns to install dependencies on Debian/Ubuntu
Daan De Meyer [Tue, 3 Sep 2024 13:18:49 +0000 (15:18 +0200)]
mkosi: Use apt patterns to install dependencies on Debian/Ubuntu

Instead of parsing the human readable output of apt-cache, let's
use apt patterns to figure out the dependencies.

We also filter out virtual packages as apt will fail and say we need
to install an implementation of the virtual package even if a package
that provides the virtual package is already installed.

(cherry picked from commit 89c579788d1f864778c4d6f47b30bf37d04c4947)

14 months agomkosi: Make systemd package filtering more robust
Daan De Meyer [Tue, 3 Sep 2024 10:53:23 +0000 (12:53 +0200)]
mkosi: Make systemd package filtering more robust

Let's not just filter everything with systemd in the name, but instead
use the same list of volatile packages that we install to do the
filtering.

(cherry picked from commit 70ecdbfa230258ee88d3ed42ec8bbcd91e27bba3)

14 months agomkosi: Include noarch in dnf repoquery architectures
Daan De Meyer [Wed, 28 Aug 2024 10:10:12 +0000 (12:10 +0200)]
mkosi: Include noarch in dnf repoquery architectures

ukify is noarch so we should include noarch to get all results.

(cherry picked from commit 3e09a3eac20423cae5e596e72a4fc40b6ce454e6)

14 months agomkosi: fix typo
Yu Watanabe [Fri, 2 Aug 2024 20:47:52 +0000 (05:47 +0900)]
mkosi: fix typo

Follow-up for 7205fc7dc31eb2be3075ee6ba23ebe84324aa5cb.

(cherry picked from commit f38aac5e01990d913b005aee0ac2b8cfb4a57309)

14 months agomkosi: Switch back to src.opensuse.org for opensuse spec
Daan De Meyer [Wed, 28 Aug 2024 15:52:40 +0000 (17:52 +0200)]
mkosi: Switch back to src.opensuse.org for opensuse spec

Supposedly they're never going to rewrite their git history again
so let's give src.opensuse.org another try given that code.opensuse.org
is down again.

(cherry picked from commit ffd76bdd9737484a3582c5f146f4f43318154b5c)

14 months agomkosi: update fedora commit reference
Daan De Meyer [Thu, 29 Aug 2024 11:26:28 +0000 (13:26 +0200)]
mkosi: update fedora commit reference

a67221c3f0 Always build ukify package
abb115a905 Do not use patch to modify systemd-user pam config file
196ec98228 Drop %upstream conditionalization for patches

(cherry picked from commit e921a8ad674c4a117ac217057b34fe53e5bb8066)

14 months agomkosi: Don't fetch remote if the commit to check out already exists
Daan De Meyer [Thu, 29 Aug 2024 16:36:55 +0000 (18:36 +0200)]
mkosi: Don't fetch remote if the commit to check out already exists

If the commit we're about to check out already exists in the local
repository, don't fetch from the remote repository.

(cherry picked from commit c5730846fe78518fb9fdabaedfd6f20eb5568582)

14 months agomkosi: Always specify _sourcedir as an absolute path
Daan De Meyer [Mon, 12 Aug 2024 10:19:37 +0000 (12:19 +0200)]
mkosi: Always specify _sourcedir as an absolute path

A relative path is not supported by rpm so let's make sure we specify
it as an absolute path.

(cherry picked from commit 71acb00c28a2d02fd582267a9bc263cd0ef9bd97)

14 months agomkosi: Don't apply distribution specific patches
Daan De Meyer [Tue, 27 Aug 2024 11:17:38 +0000 (13:17 +0200)]
mkosi: Don't apply distribution specific patches

rpm upstream is going to imply --noprep when running with --build-in-place so let's do the same on older
versions of rpm (https://github.com/rpm-software-management/rpm/commit/e0925ad6e3185030b004343f73a5917fdc562d6c)

Also, to keep things consistent between distros, run with --noprepare
on Arch Linux as well (we already skip patches on Debian/Ubuntu).

To keep things working on Arch, we apply the one downstream patch
manually ourselves.

(cherry picked from commit 00a2a67d814651cd3d6e2dff6dab22a3f8e5f5f3)

14 months agomkosi: Stop using git commit timestamps for package releases
Daan De Meyer [Mon, 26 Aug 2024 11:08:25 +0000 (13:08 +0200)]
mkosi: Stop using git commit timestamps for package releases

This prevents bisecting to figure out which commit broke something
as when going backwards the git commit timestamp will be older meaning
package managers will refuse to upgrade to the "older" version. Let's
make sure the release is always newer by using the current date unless
$SOURCE_DATE_EPOCH is set.

(cherry picked from commit caf5eb586afa1a71ed04a3442585536930b150c2)

14 months agomkosi: update fedora commit reference
Daan De Meyer [Wed, 28 Aug 2024 07:46:07 +0000 (09:46 +0200)]
mkosi: update fedora commit reference

28076e6232 Only make python3-pillow Recommends on Fedora
a9807c4486 Do not require grubby on CentOS Stream 9
d38cacfd3a Version 256.5
38291e13c1 Disable integration of userdb in sshd
53118d2112 Backport patch to only read /proc/cmdline when not in container
903e8e0f88 Backport upstream patch to try more initrd variants in 90-loaderentry.install
b29a66006c Version 256.4
1cdae03391 Update tmpfiles --destroy-data patch
4fd4ef72a6 Upload sources
3c3772150d Version 256.3

(cherry picked from commit 92c22e02c1a591b4bc97ae4c6d0025851549f0fc)

14 months agomkosi: update opensuse commit reference
Daan De Meyer [Wed, 28 Aug 2024 07:46:05 +0000 (09:46 +0200)]
mkosi: update opensuse commit reference

2866762da8 Update systemd to version 256.4 / rev 429 via SR 1192932

(cherry picked from commit 051fddfc4191dae851a40ee239707b7ab0061116)

14 months agomkosi: update arch commit reference
Daan De Meyer [Wed, 28 Aug 2024 07:46:04 +0000 (09:46 +0200)]
mkosi: update arch commit reference

ea5f086275 handle uncommon license
43e43faab8 upgpkg: 256.5-1: new upstream release
7f4443062f Provide /etc/cryptsetup-keys.d/
262a14b8e5 upgpkg: 256.4-1: new upstream release
1aff4eb5f6 upgpkg: 256.3-1: new upstream release

(cherry picked from commit caf984def5fb74d4cc674493be561e4c6fea8294)

14 months agomkosi: Update to latest
Daan De Meyer [Tue, 27 Aug 2024 10:56:07 +0000 (12:56 +0200)]
mkosi: Update to latest

(cherry picked from commit dbff64ddf06f64ab94bd314df27d6c089b75de52)

14 months agomkosi: Update to latest
Daan De Meyer [Thu, 22 Aug 2024 13:22:37 +0000 (15:22 +0200)]
mkosi: Update to latest

Should fix the Fedora Rawhide CI failure.

(cherry picked from commit f134a79ff8f2146e0f5aa9570df02431d246e9da)

14 months agomkosi: Update to latest
Daan De Meyer [Mon, 19 Aug 2024 09:27:26 +0000 (11:27 +0200)]
mkosi: Update to latest

(cherry picked from commit 2dc99fdadb1eeba998e21760301bbe0142653446)

14 months agomkosi: Improve formatting
Daan De Meyer [Mon, 19 Aug 2024 09:27:11 +0000 (11:27 +0200)]
mkosi: Improve formatting

(cherry picked from commit bc07b026f08afbecc8ff9e4c8171dbb8c246a153)

14 months agobuild(deps): bump systemd/mkosi
dependabot[bot] [Thu, 1 Aug 2024 09:02:16 +0000 (09:02 +0000)]
build(deps): bump systemd/mkosi

Bumps [systemd/mkosi](https://github.com/systemd/mkosi) from 4eba736412c702bbbe2c6d4a58a92fa977219249 to 63fc1fde5b1aac1abf07ac499068c2b62263dafb.
- [Release notes](https://github.com/systemd/mkosi/releases)
- [Changelog](https://github.com/systemd/mkosi/blob/main/NEWS.md)
- [Commits](https://github.com/systemd/mkosi/compare/4eba736412c702bbbe2c6d4a58a92fa977219249...63fc1fde5b1aac1abf07ac499068c2b62263dafb)

---
updated-dependencies:
- dependency-name: systemd/mkosi
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
(cherry picked from commit 5186b40c6ff34a176c684c38afa922ef8d7ff33d)

14 months agotests: Don't override QemuKvm= value if TEST_NO_KVM=0
Daan De Meyer [Tue, 20 Aug 2024 12:39:45 +0000 (14:39 +0200)]
tests: Don't override QemuKvm= value if TEST_NO_KVM=0

Let's disable KVM if TEST_NO_KVM=1 is set but let's not specify anything
if it's not set so the QemuKvm= setting from mkosi.conf is used.

(cherry picked from commit c8e7cfeddc7be498c688c564f31676b856181120)