mkosi: Mask mdmonitor and isc-dhcp-server services
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 May 2024 07:11:51 +0000 (09:11 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Tue, 14 May 2024 10:43:28 +0000 (12:43 +0200)
They always fail and do not ship with proper units so we can't
disable them with presets so we mask them instead.

mkosi.conf

index 6ed10d6292ba8513b95019a1ebe37a821f5d599c..9d23f4f8b2c8f99aa02edd46432bdfdac221b74f 100644 (file)
@@ -40,6 +40,9 @@ KernelCommandLine=systemd.crash_shell
                   panic=-1
                   softlockup_panic=1
                   panic_on_warn=1
+                  # These don't ship proper units with [Install] directives so we have to mask them instead.
+                  systemd.mask=isc-dhcp-server.service
+                  systemd.mask=mdmonitor.service
 
 [Host]
 Credentials=journal.storage=persistent