Systemd/tmpfiles.d
Kairui Song edb8c98446 pstore: don't enable crash_kexec_post_notifiers by default
commit f00c36641a enabled
crash_kexec_post_notifiers by default regardless of whether pstore
is enabled or not.

The original intention to enabled this option by default is that
it only affects kernel post-panic behavior, so should have no harm.
But this is not true if the user wants a reliable kdump.

crash_kexec_post_notifiers is known to cause problem with kdump,
and it's documented in kernel. It's not easy to fix the problem
because of how kdump works. Kdump expects the crashed kernel to
jump to an pre-loaded crash kernel, so doing any extra job before
the jump will increase the risk.

It depends on the user to choose between having a reliable kdump or
some other post-panic debug mechanic.

So it's better to keep this config untouched by default, or it may put
kdump at higher risk of failing silently. User should enable it by
uncommenting the config line manually if pstore is always needed.

Also add a inline comment inform user about the potential issue.

Thanks to Dave Young for finding out this issue.

Fixes #16661

Signed-off-by: Kairui Song <kasong@redhat.com>
2020-10-22 11:17:39 +02:00
..
etc.conf.m4 tmpfiles: copy files to /etc only on boot 2019-07-25 19:13:41 +02:00
home.conf tmpfiles.d: change all subvolumes to use quota 2015-10-22 01:59:25 +02:00
journal-nocow.conf tmpfiles.d/journal-nocow: fix typo (#6804) 2017-09-12 13:28:21 -03:00
legacy.conf tmpfiles: drop /run/lock/lockdev 2016-02-01 12:16:24 +01:00
meson.build pstore: introduce tmpfiles.d/systemd-pstore.conf 2020-05-15 23:15:26 +02:00
portables.conf add new portable service framework 2018-05-24 17:01:57 +02:00
static-nodes-permissions.conf.in tmpfiles: override permissions of static nodes that need this 2019-08-19 12:08:14 +02:00
systemd-nologin.conf Corect man page reference in systemd-nologin.conf comments 2019-09-24 09:48:03 +02:00
systemd-nspawn.conf treewide: fix typos and remove accidental repetition of words 2016-07-11 16:18:43 +02:00
systemd-pstore.conf pstore: don't enable crash_kexec_post_notifiers by default 2020-10-22 11:17:39 +02:00
systemd-tmp.conf coredump: fixed bug - some coredump temp files could be lost 2019-05-31 12:57:35 +02:00
systemd.conf.m4 tmpfiles: apply ACLs to top-level journal directory in /run, too 2020-01-31 15:04:12 +01:00
tmp.conf tmpfiles: split tmp.conf out 2019-04-13 12:07:03 +02:00
var.conf.m4 tmpfiles: change btmp mode 0600 → 0660 (#6997) 2017-10-04 21:44:29 +02:00
x11.conf tmpfiles: remove old ICE and X11 sockets at boot (#6979) 2017-10-06 01:28:19 +02:00