Command semodule -i mypol.pp takes more than one minute to execute. Why?
Why does it take so much time to execute semodule -i mypol.pp?
selinux
Without seeing the policy file, one can only guess, but it's probably because the policy is somewhat far-reaching in what it affects. Policies amount to changes to the filesystem, labeling the affected files. So, if your policy names a broad swath of the filesystem as being under its control, all of those files have to have their metadata modified.