I'm trying to configure SELinux on my home pc. During installation /etc/selinux/policy file had not been created thus I was not able to configure custom policy with checkpolicy. So I've copied it from an example. Here it is:
SELINUX=permissive SELINUXTYPE=targeted SETLOCALDEFS=0 REQUIREUSERS=0 AUTORELABEL=1
Configuration itself seems extremely simple, yet when I try
I get an error
policy.conf:1:ERROR 'syntax error' at token 'SELINUX' on line 1:
How can this be fixed? I feel like the whole idea of adding this file manually is wrong.
selinux version is 0.5.6
Linux debian 4.9.0-8-amd64