I don't see anything related in the audit log (I'm using audit2why).
As for labeling: [root@web-devel-local-1 ~]# ll -Z /etc/ | grep sysctl drwxr-xr-x. root root system_u:object_r:etc_t:s0 sysctl.d
[root@web-devel-local-1 ~]# ll -Z /etc/sysctl.d/ -rw-r--r--. root root unconfined_u:object_r:system_conf_t:s0 sysctl.conf
On Thu, Dec 24, 2015 at 10:51 AM, Gordon Messmer gordon.messmer@gmail.com wrote:
On 12/23/2015 11:12 PM, Ofer Hasson wrote:
[root@web-devel-local-1 ~]# /usr/lib/systemd/systemd-sysctl [root@web-devel-local-1 ~]# cat /proc/sys/vm/swappiness 10
So... you know that it works when you run it from a root shell, but not during boot. Is the file labeled properly? Anything in audit.log?
CentOS mailing list CentOS@centos.org https://lists.centos.org/mailman/listinfo/centos