SELinux
Lisandro Dalcin
dalcinl at gmail.com
Mon Jan 14 14:16:06 CST 2008
The very funny error below:
libpetsc.so: cannot restore segment prot after reloc: Permission denied
should NEVER occur if source code is correctly built (using -fPIC or
equivalent) and good programming practices are followed.
Can someone (Satish?) comment the specific scenario where this issue
arised? I believe it would be better not to depend on 'chcon' to get
things workig, but make sure all source code is compiled and written
as it should be. However, I believe this can still cause problems when
building a sharedlib PETSc with a staticlib pre-built external
package.
--
Lisandro Dalcín
---------------
Centro Internacional de Métodos Computacionales en Ingeniería (CIMEC)
Instituto de Desarrollo Tecnológico para la Industria Química (INTEC)
Consejo Nacional de Investigaciones Científicas y Técnicas (CONICET)
PTLC - Güemes 3450, (3000) Santa Fe, Argentina
Tel/Fax: +54-(0)342-451.1594
More information about the petsc-dev
mailing list