Jump to content

SElinux on Centos 5


Bukida

Recommended Posts

Hola

 

Necesito correr matlab pero al parecer SElinux bloquea una libreria o biblioteca, miren:

 

[root@pc-24-206-215-201 ROACH]# sh /usr/local/matlab/bin/matlab

/usr/local/matlab/bin/glnxa64/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory

 

 

Esto hice para que los permisos de memoria que SELinux niega

 

execmod:

 

[root@pc-24-206-215-201 ROACH]# /usr/sbin/semanage fcontext -a -t textrel_shlib_t '/usr/local/matlab/bin/glnxa64/MATLAB'

 

libsepol.sepol_context_from_string: malformed context "/lib64/libc.so.6"

libsepol.sepol_context_from_string: could not construct context from string

libsemanage.fcontext_parse: invalid security context "/lib64/libc.so.6" (/etc/selinux/targeted/modules/tmp//file_contexts.local: 5)

/lib64/x86_64-linux-gnu/libc-2.13.so /lib64/libc.so.6 system_u:object_r:textrel_shlib_t:s0

libsemanage.fcontext_parse: could not parse file context record

libsemanage.dbase_file_cache: could not cache file database

libsemanage.enter_rw: could not enter read-write section

/usr/sbin/semanage: Could not add file context for /usr/local/matlab/bin/glnxa64/MATLAB

 

alguien sabe como ayudar a correr matlab.

 

Saludos y Gracias

Link to comment
Share on other sites

  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...