Edit File by line
/home/barbar84/www/wp-conte.../plugins/sujqvwi/ShExBy/shex_roo.../lib/tmpfiles...
File: systemd-pstore.conf
# SPDX-License-Identifier: LGPL-2.1+
[0] Fix | Delete
#
[1] Fix | Delete
# The systemd-pstore.service(1) archives the contents of /sys/fs/pstore
[2] Fix | Delete
# upon boot so that there is room for a subsequent dump. This service
[3] Fix | Delete
# is enabled with:
[4] Fix | Delete
# systemctl enable systemd-pstore
[5] Fix | Delete
#
[6] Fix | Delete
# With the service enabled, the kernel still needs to be configured
[7] Fix | Delete
# to write data into the pstore. The kernel has two parameters,
[8] Fix | Delete
# crash_kexec_post_notifiers and printk.always_kmsg_dump, that
[9] Fix | Delete
# control writes into pstore.
[10] Fix | Delete
#
[11] Fix | Delete
# The crash_kexec_post_notifiers parameter enables the kernel to write
[12] Fix | Delete
# dmesg (including stack trace) into pstore upon a panic even if kdump
[13] Fix | Delete
# is loaded, only needed if you want to use pstore with kdump. Without
[14] Fix | Delete
# this parameter, kdump could block writing to pstore for stability
[15] Fix | Delete
# reason. Note this increases the risk of kdump failure even if pstore
[16] Fix | Delete
# is not available.
[17] Fix | Delete
#
[18] Fix | Delete
# The printk.always_kmsg_dump parameter enables the kernel to write dmesg
[19] Fix | Delete
# upon a normal shutdown (shutdown, reboot, halt).
[20] Fix | Delete
#
[21] Fix | Delete
# To configure the kernel parameters, uncomment the appropriate
[22] Fix | Delete
# line(s) below. The value written is either 'Y' to enable the
[23] Fix | Delete
# kernel parameter, or 'N' to disable the kernel parameter.
[24] Fix | Delete
#
[25] Fix | Delete
# After making a change to this file, do:
[26] Fix | Delete
# systemd-tmpfiles --create path/to/tmpfiles.d/systemd-pstore.conf
[27] Fix | Delete
#
[28] Fix | Delete
# These changes are automatically applied on future re-boots.
[29] Fix | Delete
[30] Fix | Delete
d /var/lib/systemd/pstore 0755 root root 14d
[31] Fix | Delete
#w- /sys/module/printk/parameters/always_kmsg_dump - - - - Y
[32] Fix | Delete
#w- /sys/module/kernel/parameters/crash_kexec_post_notifiers - - - - Y
[33] Fix | Delete
[34] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function