Selinux

Patrick Dupre patrick.dupre at york.ac.uk
Mon May 2 09:59:21 UTC 2011


On Sun, 1 May 2011, Garry T. Williams wrote:

> On Sunday, May 01, 2011 20:00:51 Patrick Lists wrote:
>> On 05/02/2011 01:49 AM, Patrick Dupre wrote:
>>> cannot restore segment prot after reloc
>>
>>  From a little googling I understand this should fix the error:
>>
>> chcon -t texrel_shlib_t
>> /home/pdupre/Spectroscopy/test/blib/arch/auto/ttt/ttt.so
>>
>> Iirc the actual fix has something to do with compiler flags and not
>> touching the stack (or something like that).
>
> Your work-around will get it done, but...
>
> Dont't do that.  Make a position independent library so relocation is
> not needed.
>
> Compile with -fpic and you won't require relocation.
THis does not help.
It seems that it is an issue with libstdc++-3-libc6.2-2-2.10.0.so
But I cannot recompile the code. the source is not available
compat-libstdc++-296-2.96-143.src.rpm / compat-gcc-296-2.96-143.src.rpm

It should be on download.fedora.redhat.com which is done.

-- 
---
==========================================================================
  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