From 9f0d1c8b8f52da245e7bfe3e0d9514f168af19c3 Mon Sep 17 00:00:00 2001 From: Bas van der Vlies Date: Thu, 25 Feb 2021 09:35:33 +0100 Subject: [PATCH] sysctl man page update for pattern pattern must be used before `--system` else it does not work for sysctl file(s) ``` root# /sbin/sysctl --system --pattern '^net.ipv6' * Applying /etc/sysctl.d/30-ceph-osd.conf ... fs.aio-max-nr = 1048576 kernel.pid_max = 4194304 * Applying /etc/sysctl.d/protect-links.conf ... fs.protected_hardlinks = 1 fs.protected_symlinks = 1 * Applying /etc/sysctl.d/sara_tweaks.conf ... net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 0 * Applying /etc/sysctl.conf ... ``` vs: ``` root# /sbin/sysctl --pattern '^net.ipv6' --system * Applying /etc/sysctl.d/30-ceph-osd.conf ... * Applying /etc/sysctl.d/protect-links.conf ... * Applying /etc/sysctl.d/sara_tweaks.conf ... net.ipv6.conf.all.disable_ipv6 = 1 net.ipv6.conf.lo.disable_ipv6 = 0 * Applying /etc/sysctl.conf ... ``` --- sysctl.8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sysctl.8 b/sysctl.8 index c872c4e1..329f0a2d 100644 --- a/sysctl.8 +++ b/sysctl.8 @@ -138,7 +138,7 @@ Display version information and exit. .br /sbin/sysctl \-a \-\-pattern 'net.ipv4.conf.(eth|wlan)0.arp' .br -/sbin/sysctl \-\-system \-\-pattern '^net.ipv6' +/sbin/sysctl \-\-pattern '^net.ipv6' \-\-system .SH DEPRECATED PARAMETERS The .B base_reachable_time