-
Bug
-
Resolution: Unresolved
-
Normal
-
None
-
CentOS Stream 9, rhel-9.3.0
-
Yes
-
Important
-
Regression
-
rhel-sst-cs-plumbers
-
ssg_core_services
-
2
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
All
-
None
Bug description:
sysctl settings takes precedence in the reversed order of what it should be. If multiple files specify the same option, the file that is read first takes precedence.
This is the opposite behavior of what is described in upstream's man page and Red Hat's documentation (What is order of reading sysctl.d and /etc/sysctl.conf in RHEL-7 and later ? - Red Hat Customer Portal).
The bug only affects RHEL and not Fedora.
Please provide the package NVR for which bug is seen:
procps-ng
How reproducible:
Always
Steps to reproduce
- echo "fs.protected_fifos = 2" > /etc/sysctl.d/990-security-misc.conf
- sysctl -p
- sysctl -a | grep fifo
Expected results
fs.protected_fifos = 2
Actual results
fs.protected_fifos = 1