Blame SOURCES/procps-ng-3.3.15-sysctl-config-dir-order.patch

4f348c
diff -up ./NEWS.ori ./NEWS
4f348c
diff -up ./sysctl.8.ori ./sysctl.8
4f348c
--- ./sysctl.8.ori	2018-03-03 07:59:18.064843718 +0100
4f348c
+++ ./sysctl.8	2022-07-29 16:33:02.906648974 +0200
4f348c
@@ -6,7 +6,7 @@
4f348c
 .\" but WITHOUT ANY WARRANTY; without even the implied warranty of
4f348c
 .\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4f348c
 .\" GNU General Public License for more details."
4f348c
-.TH SYSCTL "8" "2018-02-19" "procps-ng" "System Administration"
4f348c
+.TH SYSCTL "8" "2020-02-27" "procps-ng" "System Administration"
4f348c
 .SH NAME
4f348c
 sysctl \- configure kernel parameters at runtime
4f348c
 .SH SYNOPSIS
4f348c
@@ -81,10 +81,10 @@ directories in the following list in giv
4f348c
 Once a file of a given filename is loaded, any file of the same name
4f348c
 in subsequent directories is ignored.
4f348c
 .br
4f348c
-/run/sysctl.d/*.conf
4f348c
-.br
4f348c
 /etc/sysctl.d/*.conf
4f348c
 .br
4f348c
+/run/sysctl.d/*.conf
4f348c
+.br
4f348c
 /usr/local/lib/sysctl.d/*.conf
4f348c
 .br
4f348c
 /usr/lib/sysctl.d/*.conf
4f348c
@@ -152,6 +152,16 @@ echo 256 > /proc/sys/net/ipv6/neigh/eth0
4f348c
 .SH FILES
4f348c
 .I /proc/sys
4f348c
 .br
4f348c
+.I /etc/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /run/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /usr/local/lib/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /usr/lib/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /lib/sysctl.d/*.conf
4f348c
+.br
4f348c
 .I /etc/sysctl.conf
4f348c
 .SH SEE ALSO
4f348c
 .BR sysctl.conf (5)
4f348c
diff -up ./sysctl.conf.5.ori ./sysctl.conf.5
4f348c
--- ./sysctl.conf.5.ori	2017-12-22 05:13:14.771653252 +0100
4f348c
+++ ./sysctl.conf.5	2022-07-29 16:33:02.907648980 +0200
4f348c
@@ -51,22 +51,22 @@ to list all possible parameters. The des
4f348c
 .RE
4f348c
 .PP
4f348c
 .SH FILES
4f348c
-.TP
4f348c
-/run/sysctl.d/*.conf
4f348c
-.TQ
4f348c
-/etc/sysctl.d/*.conf
4f348c
-.TQ
4f348c
-/usr/local/lib/sysctl.d/*.conf
4f348c
-.TQ
4f348c
-/usr/lib/sysctl.d/*.conf
4f348c
-.TQ
4f348c
-/lib/sysctl.d/*.conf
4f348c
-.TQ
4f348c
-/etc/sysctl.conf
4f348c
+.I /etc/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /run/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /usr/local/lib/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /usr/lib/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /lib/sysctl.d/*.conf
4f348c
+.br
4f348c
+.I /etc/sysctl.conf
4f348c
+
4f348c
 The paths where
4f348c
-sysctl
4f348c
+.B sysctl
4f348c
 preload files usually exist.  See also
4f348c
-sysctl
4f348c
+.B sysctl
4f348c
 option
4f348c
 .IR \-\-system .
4f348c
 .SH SEE ALSO
4f348c
diff -up ./sysctl.c.ori ./sysctl.c
4f348c
--- ./sysctl.c.ori	2018-05-17 13:23:41.574213737 +0200
4f348c
+++ ./sysctl.c	2022-07-29 16:33:02.907648980 +0200
4f348c
@@ -614,8 +614,8 @@ static int PreloadSystem(void)
4f348c
 {
4f348c
 	unsigned di, i;
4f348c
 	const char *dirs[] = {
4f348c
-		"/run/sysctl.d",
4f348c
 		"/etc/sysctl.d",
4f348c
+		"/run/sysctl.d",
4f348c
 		"/usr/local/lib/sysctl.d",
4f348c
 		"/usr/lib/sysctl.d",
4f348c
 		"/lib/sysctl.d",