summaryrefslogtreecommitdiffstats
path: root/mkosi.conf
diff options
context:
space:
mode:
authorDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-31 17:26:01 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-05-31 17:26:01 +0200
commit5d2a40ab11fb7661c9361c438d4447bb2109f1fe (patch)
tree42da668b0c6b5782b2e0b30252a0becc259d106d /mkosi.conf
parentmkosi: Drop kernel command line to enable log context (diff)
downloadsystemd-5d2a40ab11fb7661c9361c438d4447bb2109f1fe.tar.xz
systemd-5d2a40ab11fb7661c9361c438d4447bb2109f1fe.zip
mkosi: Add note about kernel command line limit
Diffstat (limited to 'mkosi.conf')
-rw-r--r--mkosi.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/mkosi.conf b/mkosi.conf
index 1f9e987e0b..300b86bf97 100644
--- a/mkosi.conf
+++ b/mkosi.conf
@@ -20,6 +20,8 @@ Environment=ASAN_OPTIONS=verify_asan_link_order=false
@SELinuxRelabel=no
BuildSourcesEphemeral=yes
+# Adding more kernel command line arguments is likely to hit the kernel command line limit (512 bytes) in
+# various scenarios. Consider adding support for a credential instead if possible and using that.
KernelCommandLine=systemd.crash_shell
systemd.log_level=debug,console:info
systemd.log_ratelimit_kmsg=0