From d3ae14bd2feb8ee07b72bef0bd397c8cdd43a4ea Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Thu, 27 Mar 2025 13:18:45 +0100 Subject: [PATCH] mkosi: Disable various extra things in the default preset --- .../usr/lib/systemd/system-preset/00-mkosi.preset | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset b/mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset index 42db0c9b987..5076886f50f 100644 --- a/mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset +++ b/mkosi.extra.common/usr/lib/systemd/system-preset/00-mkosi.preset @@ -40,6 +40,15 @@ disable iscsi.service disable iscsid.socket disable iscsiuio.socket +# Enabled by default on Fedora, but don't make sense for our use case. +disable lvm2-lvmpolld.socket +disable lvm2-monitor.service +disable dracut-shutdown.service +disable dm-event.socket +disable fstrim.timer +disable raid-check.timer +disable systemd-tmpfiles-clean.timer + # mkosi relabels the image itself so no need to do it on boot. disable selinux-autorelabel-mark.service -- 2.47.3