Well, the easiest way is disabling SELinux, which I don't recommend, though:
setenforce 0
Or you can create a rule to allow it to write, run or whatever it needs to do and is being blocked so far. To do so, check your system log file and copy the line that is "denied", it should be something like this:
audit(...): avc: denied { write } for pid=27984 comm="hostname" name="hostname" dev=sda6 ino=307469 scontext=root:system_r:system_r:s0 tcontext=system_u:object_r:usr_t:s0 tclass=...
Copy it and run the following command:
audit2allow -M local << _EOF_
(paste the content)
_EOF_
Then, run:
semodule -i local.pp
That will create a permanent rule for it so you shouldn't need to disable SELinux. Even if you have more than one denied
line, you can paste all of them at once and audit2allow
will generate as many rules as you need in your local.pp
file.