Unable to enable custom SELinux rule
I think this is caused because there will already be a logrotate.pp file on the system (/etc/selinux/targeted/modules/active/modules/logrotate.pp
).
You should create your local policy with a different name e.g.
audit2allow -M MY_logrotate <somefilewithmessages
then use
semodule -i MY_logrotate.pp
to install it. Yeah it's not the best of error messages.