]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Stop running auxiliary programs in systemd scopes 4111/head
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Tue, 6 Jan 2026 20:29:04 +0000 (21:29 +0100)
committerDaanDeMeyer <daan.j.demeyer@gmail.com>
Tue, 6 Jan 2026 20:29:04 +0000 (21:29 +0100)
commit634b0ef4c7ee7ccd3196b2f6cc1e1549ba316260
tree657c942ea771a8e36073a9cd4fd94f575d40713f
parent5ae58b253cb14999901497051b58aaa4cd3f6271
Stop running auxiliary programs in systemd scopes

Similar to the same change made in systemd-vmspawn, let's stop running
virtiofsd, systemd-journal-remote and swtpm in scopes. Nobody ever makes
use of the features this provides and it simplifies our code quite a bit.

This also means we drop the UnitProperties setting, which was effectively
unused anyway.

This allows us to get rid of the --suspend setting in mkosi-sandbox, which
only really existed to allow waiting for systemd-run to finish its setup
before registering the machine. Because registering a machine means it needs
a cgroup, we allow systemd-machined to create the scope itself if needed.
mkosi/__init__.py
mkosi/config.py
mkosi/qemu.py
mkosi/resources/man/mkosi-sandbox.1.md
mkosi/resources/man/mkosi.1.md
mkosi/run.py
mkosi/sandbox.py
tests/test_json.py