SELinux building module
Revision as of 00:02, 5 May 2022 by Dcunningham (talk | contribs) (Created page with "To check for SELinux audit entries: <pre> audit2allow -a -b </pre> To turn SELinux audit entries into a new SELinux module: <pre> audit2allow -a -b -M enswitch </pre> To com...")
To check for SELinux audit entries:
audit2allow -a -b
To turn SELinux audit entries into a new SELinux module:
audit2allow -a -b -M enswitch
To compile the SELinux module for Enswitch:
cd /opt/enswitch/current/etc/selinux checkmodule -M -m -o enswitch.mod enswitch.te semodule_package -o enswitch.pp -m enswitch.mod semodule -i enswitch.pp rm enswitch.mod