Files
kdumpst/20-panic-sysctls.conf
Guilherme G. Piccoli acd5a64652 all: Add LICENSE (and fix SPDX deprecated header)
Thanks to the heads-up from Foxboron (on Arch Linux IRC channel)
add hereby a LICENSE file to the project that matches the SPDX
headers. While at it, fix the SPDX short identifier on headers,
that was deprecated (as per [0]).

The license file was a pure copy obtained today from [1].

[0] https://spdx.org/licenses/LGPL-2.1+.html
[1] https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt

Signed-off-by: Guilherme G. Piccoli <gpiccoli@igalia.com>
2023-04-02 12:26:00 -03:00

21 lines
626 B
Plaintext

# SPDX-License-Identifier: LGPL-2.1-or-later
#
# Copyright (c) 2022 Valve.
# Maintainer: Guilherme G. Piccoli <gpiccoli@igalia.com>
#
# This file sets the sysctl parameters that are used by the
# kdumpst package, in order to panic and reboot on severe
# events, like oops or hard lockups.
# We also set panic_print in order to collect more info.
kernel.panic_on_oops = 1
kernel.hardlockup_panic = 1
# reboot as soon as possible after a panic event.
kernel.panic = -1
# dump more information when facing a panic event:
# bit 1 - print system memory info
# bit 6 - print all CPUs backtrace
kernel.panic_print = 66