naccyde / rpms / systemd

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