2017-12-22 06:56 AM
Hi
I am trying to deploy a VLC and I am getting strange error in there while I am trying to save iptables
iptables: Saving firewall rules to /etc/sysconfig/iptables: cp: cannot remove `/etc/sysconfig/iptables.save': Operation not permitted
[FAILED]
I am logged in as the 'root' user. The permissions of the files are as below:
[root@xx etc]# ls -ld /etc/sysconfig
drwxr-xr-x. 7 root root 4096 Dec 22 11:41 /etc/sysconfig
[root@xx etc]# ls -ld /etc/
drwxrwxr-x. 108 root root 12288 Dec 22 11:12 /etc/
[root@xx etc]# ls -l /etc/sysconfig/iptables
-rw-------. 1 root root 3580 Sep 26 11:01 /etc/sysconfig/iptables
Strangely enough, I am not even able to change permissions even though I am logged in as the root user. Any pointers on this?
2017-12-24 09:27 PM
Hi Shishir,
It could be SELINUX settings problematic.
Try SELINUX=permissive in /etc/sysconfig/selinux and Run puppet agent -t command.