two selinux config files in Fedora 18
Hi, In my fresh fedora-18 installation, there are two different selinux config files: /etc/selinux/config and /etc/sysconfig/selinux. I normally disable selinux in /etc/sysconfig/selinux and it use to work till F-16, since /etc/sysconfig/selinux is a soft link to /etc/selinux/config. But, in F-18 they are two different files and my changes to /etc/sysconfig/selinux are not reflecting in selinux status. Only changes in /etc/sysconfig/selinux are reflecting in selinux status.
Is this a bug ?
-Mohan
I'm curious - why are you disabling SELinux?
Disabling it entirely is a really big hammer where a screwdriver would do. Pipe the relevant reports in /var/log/audit/audit.log to
audit2why
and it'll probably tell you what boolean needs to be switched to allow the desired behavior, or the context to be applied, etc. Changing the policy to allow only the desired activity is just as simple as disabling it entirely, once you know how.