You can install audit2why by installing the policycoreutils package
sudo dnf install policycoreutils-python-utils
Show what and why something is failing
audit2why < /var/log/audit/audit.log
Search with ausearch
ausearch -m avc --start recent
Create and apply a module to fix the failure
This creates two files, a .pp and .te. The .pp is the compiled version of the .te
audit2allow -M mymodule < /var/log/audit/audit.log
semodule -i mymodule.pp
Note that “mymodule.pp” will replace any previous “mymodule.pp”. If your needing to create multiple modules/allow multiple exceptions, you can change the name of each module.
You can also add the rules together then manually compile it. Refer to the first link for more details.
Links with more info
https://danwalsh.livejournal.com/24750.html