If you applied the SELinux policy for snmptrapd during installation, revert to the status before applying the policy, according to the following procedure.
Run the following command in order to change the setting to "SELinux=Permissive":
# setenforce 0 |
Move the directory and uninstall the policy module.
# cd /opt/FJSVssmgr/etc/selinux/ # /usr/sbin/semodule -r snmptrapd.pp |
Run the following command to check that snmptrapd.pp is no longer displayed:
# ls /etc/selinux/targeted/modules/active/modules/ | grep snmptrapd.pp # |
Run the following command in order to revert the setting to "SELinux=Enforcing":
# setenforce 1 |