Red Hat Bugzilla – Bug 436833
SELinux is preventing ~/glnxa64/MATLAB from changing the access protection of memory on the heap.
Last modified: 2008-03-13 18:25:22 EDT
Description of problem:
Whenever trying to run matlab, this problem comes up. And the matlab calculation
result is false because of this problem.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.try to run any matlab program
Created attachment 297487 [details]
report from selinux
This is a bug in MATLAB. So you have to turn on the boolean if you want to run
MATLAB until they fix it.
setsebool -P allow_execheap=1
This describes what execheap is.
My allow_execheap is already set to 1, but still got the same error message.
$ cat allow_execheap
$ cat allow_execmem
$ cat allow_execmod
$ cat allow_execstack
Please attach the avc messages from /var/log/audit/audit.log
This might be a shared library that needs to be labeled textrel_shlib_t.
chcon -t textrel_shlib_t PATHTOLIB
Created attachment 297800 [details]
avc related from /var/log/audit.log
The following command doesn't work either.
# chcon -t textrel_shlib_t PATHTOLIB
chcon: PATHTOLIB: No such file or directory
PATHTOLIB was meant to be translated by you to an offending library.
The AVC messages you are now attaching are "granted" So MATLIB is not being
deined anything. The log file is just telling you, that you are doing something
that it does not like.