1 Star 0 Fork 48

fe.zhang/systemd

forked from src-anolis-os/systemd 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0738-man-document-the-new-sysctl.d-prefix.patch 1.09 KB
一键复制 编辑 原始数据 按行查看 历史
geliwei 提交于 2022-04-13 15:44 . update to systemd-239-58.el8.src.rpm
From b1b5f4625bda683871e8120d2c7b4a59b3ad3951 Mon Sep 17 00:00:00 2001
From: Lennart Poettering <lennart@poettering.net>
Date: Fri, 26 Jul 2019 09:24:11 +0200
Subject: [PATCH] man: document the new sysctl.d/ - prefix
(cherry picked from commit e08be64937293e3aa8adb08048497520d58445c6)
Related: #2037807
---
man/sysctl.d.xml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/man/sysctl.d.xml b/man/sysctl.d.xml
index 7c8fde0dba..61820f2c4b 100644
--- a/man/sysctl.d.xml
+++ b/man/sysctl.d.xml
@@ -60,6 +60,10 @@
<filename>/proc/sys/net/ipv4/conf/enp3s0.200/forwarding</filename>.
</para>
+ <para>If a variable assignment is prefixed with a single <literal>-</literal> character, any attempts to
+ set it that fail will be ignored (though are logged). Moreover, any access permission errors, and
+ attempts to write variables not defined on the local system are ignored (and logged) too.</para>
+
<para>The settings configured with <filename>sysctl.d</filename>
files will be applied early on boot. The network
interface-specific options will also be applied individually for
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/fe_zhang/systemd.git
git@gitee.com:fe_zhang/systemd.git
fe_zhang
systemd
systemd
a8

搜索帮助