See this kb article: https://kb.bmc.com/infocenter/index?page=content&id=KA315000
I believe this should be documented in the users guide as well. You can install agent without disabling SELinux as well. See the kb for the workaround.
the agent should prompt to run the noted selinux commands during install if it detects selinux is enabled.
If getenforce returns enforcing, we should be trying to set things properly. That said, if the following two commands fail in this environment, we’re not doing the right thing…
setsebool -P allow_execstack=1
setsebool -P allow_execmod=1
The installer first checks to see if we’re silent, and if we are, it sets IS_ALLOW_SELINUX=1 if that variable is not already set. Then it looks for /usr/sbin/getenforce, and finding it, it tests for the result “Enforcing”. If that’s true, it sets SELINUX_ENFORCING=1.
So if IS_ALLOW_SELINUX and SELINUX_ENFORCING are both 1, the install executes the setsebool commands.
If you want to check the status then you can do the debugging mode:
export BSA_DEBUG=1;<install command>)and then maybe we can see where the process breaks.