diff --git a/tmpfiles.d/systemd-pstore.conf b/tmpfiles.d/systemd-pstore.conf index 8b6a1dafc3..e8e9ed48ae 100644 --- a/tmpfiles.d/systemd-pstore.conf +++ b/tmpfiles.d/systemd-pstore.conf @@ -11,8 +11,13 @@ # control writes into pstore. # # The crash_kexec_post_notifiers parameter enables the kernel to write -# dmesg (including stack trace) into pstore upon a panic, and -# printk.always_kmsg_dump parameter enables the kernel to write dmesg +# dmesg (including stack trace) into pstore upon a panic even if kdump +# is loaded, only needed if you want to use pstore with kdump. Without +# this parameter, kdump could block writing to pstore for stability +# reason. Note this increases the risk of kdump failure even if pstore +# is not available. +# +# The printk.always_kmsg_dump parameter enables the kernel to write dmesg # upon a normal shutdown (shutdown, reboot, halt). # # To configure the kernel parameters, uncomment the appropriate @@ -26,4 +31,4 @@ d /var/lib/systemd/pstore 0755 root root 14d #w- /sys/module/printk/parameters/always_kmsg_dump - - - - Y -w- /sys/module/kernel/parameters/crash_kexec_post_notifiers - - - - Y +#w- /sys/module/kernel/parameters/crash_kexec_post_notifiers - - - - Y