Page 1 of 1

Perl Math::Pari Problem?

PostPosted: Mon Aug 25, 2008 2:32 pm
by Richard M
My RHEL5 had grsecurity added by a server hardening utlity (Atomic Secured Linux).

After a reboot I found that Math:: Pari no longer worked:

Can't load
'/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Math/Pari/Pari.so'
for module Math::Pari:
/usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/auto/Math/Pari/Pari.so:
cannot enable executable stack as shared object requires: Permission denied at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230.


This is a BIG problem for me!

I suspect that this is grsecurity "doing its thing"? What can I do to fix this? How do I disable grsecurity to test the idea that it is the trigger?

Re: Perl Math::Pari Problem?

PostPosted: Mon Aug 25, 2008 3:18 pm
by PaX Team
Richard M wrote:I suspect that this is grsecurity "doing its thing"? What can I do to fix this? How do I disable grsecurity to test the idea that it is the trigger?
look at https://bugs.gentoo.org/show_bug.cgi?id=200293 or try execstack -c on the .so for a quick fix.

Re: Perl Math::Pari Problem?

PostPosted: Mon Aug 25, 2008 6:55 pm
by Richard M
Many thanks.

execstack -c on the .so did the trick!