richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
17aa40
From b1b5f4625bda683871e8120d2c7b4a59b3ad3951 Mon Sep 17 00:00:00 2001
17aa40
From: Lennart Poettering <lennart@poettering.net>
17aa40
Date: Fri, 26 Jul 2019 09:24:11 +0200
17aa40
Subject: [PATCH] man: document the new sysctl.d/ - prefix
17aa40
17aa40
(cherry picked from commit e08be64937293e3aa8adb08048497520d58445c6)
17aa40
17aa40
Related: #2037807
17aa40
---
17aa40
 man/sysctl.d.xml | 4 ++++
17aa40
 1 file changed, 4 insertions(+)
17aa40
17aa40
diff --git a/man/sysctl.d.xml b/man/sysctl.d.xml
17aa40
index 7c8fde0dba..61820f2c4b 100644
17aa40
--- a/man/sysctl.d.xml
17aa40
+++ b/man/sysctl.d.xml
17aa40
@@ -60,6 +60,10 @@
17aa40
     <filename>/proc/sys/net/ipv4/conf/enp3s0.200/forwarding</filename>.
17aa40
     </para>
17aa40
 
17aa40
+    <para>If a variable assignment is prefixed with a single <literal>-</literal> character, any attempts to
17aa40
+    set it that fail will be ignored (though are logged). Moreover, any access permission errors, and
17aa40
+    attempts to write variables not defined on the local system are ignored (and logged) too.</para>
17aa40
+
17aa40
     <para>The settings configured with <filename>sysctl.d</filename>
17aa40
     files will be applied early on boot. The network
17aa40
     interface-specific options will also be applied individually for