Hi guys,I'm currently studying for the RHCE and one of the topics is system optimization. I'm trying to set "vm.swappiness" to a non-default setting.First, I've created a swappiness.conf file in "/etc/sysctl.d" and removed the link pointing to the sysctl.conf file - on reboot it doesn't do it. (sysctl -p and systemctl restart systemd-sysctl works).Then, I decided to revert all changes and enter vm.swappiness=<digit> in sysctl.conf file (with and without empty spaces around the "=") and after each reboot - swappiness was set to default.After a "systemctl restart systemd-sysctl or with "sysctl -p sysctl.conf" - everything seems to be ok.I'm using CentOs 7.2 with kernel 3.10.0-327.3.1

I've tested it today.In CentOs 7.0 - works fine, in 7.0 with latest kernel - still OK.In CentOs7.0 updated to -> 7.2 - not working.In CentOs7.2 from DVD with no updates - not working.

It just seems to be a bug. For kernel tunables only sysctl config files (located in /etc/sysctl.d/ folder , and /etc/sysctl.conf) should change these parameters. On 7.2 after restart of systemd-sysctl everything works fine.