I use "echo 0 > /proc/sys/vm/swappiness" to set swappiness but even if I'm root i've got access denied. Do you know what should I do to unlock it ?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
|
I suspect SELinux. Try getenforce and if it returns enforcing, you can temporarily disable SELinux with setenforce 0. For permanent disablement see /etc/selinux/config. Before disabling SELinux you may try sysctl -w vm.swappiness=0. |
|||
|
|
|
You might want to check if SELinux is active. It imposes restrictions even on The commmand |
|||
|
|