naccyde / rpms / systemd

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