anitazha / rpms / systemd

Forked from rpms/systemd 3 years ago
Clone

Blame SOURCES/0032-sysctl-add-some-hints-how-to-override-settings.patch

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