diff options
author | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-09 09:57:12 +0200 |
---|---|---|
committer | Daan De Meyer <daan.j.demeyer@gmail.com> | 2024-05-09 09:57:40 +0200 |
commit | ff45d26de0fa0d179a757168de83a24b996c5e20 (patch) | |
tree | 4fd5828e7b367829e49a73421d59e5807d12c221 /mkosi.conf | |
parent | mkosi: Add raid=noautodetect to kernel command line (diff) | |
download | systemd-ff45d26de0fa0d179a757168de83a24b996c5e20.tar.xz systemd-ff45d26de0fa0d179a757168de83a24b996c5e20.zip |
mkosi: Make sure the kernel fails loudly on oops/panic/softlockup
Helps with noticing kernel related failures.
Diffstat (limited to 'mkosi.conf')
-rw-r--r-- | mkosi.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mkosi.conf b/mkosi.conf index 936c7dbdc5..6ed10d6292 100644 --- a/mkosi.conf +++ b/mkosi.conf @@ -36,6 +36,10 @@ KernelCommandLine=systemd.crash_shell systemd.setenv=SYSTEMD_ENABLE_LOG_CONTEXT=yes SYSTEMD_ENABLE_LOG_CONTEXT=yes raid=noautodetect + oops=panic + panic=-1 + softlockup_panic=1 + panic_on_warn=1 [Host] Credentials=journal.storage=persistent |