SELINUX Allow rules


Small guide to allow rules from the host in selinux.
Look in you audit.log file to se what selinux is doing on you system.
Allow rules from the log file.
Install yum packages
yum install policycoreutils-python
Cat you audit log file into audit 2 allow to build rules.
cat /var/log/audit/audit.log | audit2allow -M mailreplay
Now audit2allow will show you want rules it wants to updates / install.
Install them with
semodule -i mailreplay.pp
Change mailreplay to match you host ore rules,

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.