|
|
923a60 |
From 66d069acb953ed8f2bfc6d76561d594520b5c67b Mon Sep 17 00:00:00 2001
|
|
|
923a60 |
From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= <zbyszek@in.waw.pl>
|
|
|
923a60 |
Date: Thu, 26 Feb 2015 19:05:51 -0500
|
|
|
923a60 |
Subject: [PATCH] sysctl: add some hints how to override settings
|
|
|
923a60 |
|
|
|
923a60 |
Also a link to decent documentation for sysrq keys. It is surprising
|
|
|
923a60 |
hard to find.
|
|
|
923a60 |
|
|
|
923a60 |
https://lists.fedoraproject.org/pipermail/devel/2015-February/208412.html
|
|
|
923a60 |
(cherry picked from commit 16b65d7f463e91f6299dfa7b83d4b5fbeb109d1c)
|
|
|
923a60 |
---
|
|
|
923a60 |
sysctl.d/50-default.conf | 9 ++++++++-
|
|
|
923a60 |
1 file changed, 8 insertions(+), 1 deletion(-)
|
|
|
923a60 |
|
|
|
923a60 |
diff --git a/sysctl.d/50-default.conf b/sysctl.d/50-default.conf
|
|
|
923a60 |
index f18923399b..def151bb84 100644
|
|
|
923a60 |
--- a/sysctl.d/50-default.conf
|
|
|
923a60 |
+++ b/sysctl.d/50-default.conf
|
|
|
923a60 |
@@ -5,9 +5,16 @@
|
|
|
923a60 |
# the Free Software Foundation; either version 2.1 of the License, or
|
|
|
923a60 |
# (at your option) any later version.
|
|
|
923a60 |
|
|
|
923a60 |
-# See sysctl.d(5) and core(5) for for details.
|
|
|
923a60 |
+# See sysctl.d(5) and core(5) for for documentation.
|
|
|
923a60 |
+
|
|
|
923a60 |
+# To override settings in this file, create a local file in /etc
|
|
|
923a60 |
+# (e.g. /etc/sysctl.d/90-override.conf), and put any assignments
|
|
|
923a60 |
+# there.
|
|
|
923a60 |
|
|
|
923a60 |
# System Request functionality of the kernel (SYNC)
|
|
|
923a60 |
+#
|
|
|
923a60 |
+# Use kernel.sysrq = 1 to allow all keys.
|
|
|
923a60 |
+# See http://fedoraproject.org/wiki/QA/Sysrq for a list of values and keys.
|
|
|
923a60 |
kernel.sysrq = 16
|
|
|
923a60 |
|
|
|
923a60 |
# Append the PID to the core filename
|