SELinux

Patrick Dupre pd520 at york.ac.uk
Mon Dec 13 22:48:35 UTC 2010


Hello,

I have an application giac or xcas which gives me some troubles on
one machine and not on the other one (fedora 13 both).
Both use SELinux.
TO have it working on one machine I need to desactive the enforcing mode
because I get:
xcas: error while loading shared libraries: /usr/lib/libgiac.so.0: cannot 
restore segment prot after reloc: Permission denied

The xcas application attempted to load /usr/lib/libgiac.so.0.0.0 which 
requires text relocation. This is a potential security problem. Most 
libraries do not need this permission. Libraries are sometimes coded 
incorrectly and request this permission.

I tried to use restcorecon -v -R /usr/lib/libgiac.so.0.0.0 and
restorecon -v -R /usr/bin/xcas

but I have not been successful.

Some ideas ?

Thank.

-- 
---
==========================================================================
  Patrick DUPRÉ                      |   |
  Department of Chemistry            |   |  Phone: (44)-(0)-1904-434384
  The University of York             |   |  Fax:   (44)-(0)-1904-432516
  Heslington                         |   |
  York YO10 5DD  United Kingdom      |   |  email: patrick.dupre at york.ac.uk
==========================================================================


More information about the users mailing list