Author Topic: FAQ: Cannot restore segment prot after reloc: Permission denied  (Read 43748 times)

0 Members and 1 Guest are viewing this topic.

Offline Anders Blom

  • QuantumATK Staff
  • Supreme QuantumATK Wizard
  • *****
  • Posts: 5405
  • Country: dk
  • Reputation: 89
    • View Profile
    • QuantumATK at Synopsys
When launching VNL after installing it, you may experience the following kind of error message:
QT ('Not available', '/home/user/vnl-2008.10.0/lib/python2.4/site-packages/ cannot restore segment prot after reloc: Permission denied')
This can also occur for ATK, in which case the error message will point to the file lib/python2.4/ The cause of this error are the new kernel security extensions from the SELinux project which are enabled in some newer Linux distributions, to allow finer-grained control over system security and shared library loading. The solution is to register the relevant libraries in the security module to allow them to be relocated in memory. For VNL:
chcon -t texrel_shlib_t lib/python2.4/site-packages/
For ATK:
chcon -t texrel_shlib_t lib/python2.4/
Don't forget that there is a local ATK installation inside the VNL installation too, which needs to be registered separately.
« Last Edit: December 11, 2008, 17:00 by Anders Blom »