Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

On RHEL and CentOS servers, when the selinux-policy-* RPM packages receive an update, is it always necessary to manually reload any custom modules I have built? When I see an update to selinux-policy-*, I have always reloaded any modules manually.

semodule -i /root/selinux/*.pp

If they must always be reloaded manually, is there a preferred method to make this happen?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

Answer is very simple: no. Modules are replaced by name and the version number. Unless you name your module same as a module provided by the official SELinux policy (which would be really silly indeed), you should be safe. No need to reload.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.