Perl Math::Pari Problem?

Discuss usability issues, general maintenance, and general support issues for a grsecurity-enabled system.

Perl Math::Pari Problem?

Postby Richard M » Mon Aug 25, 2008 2:32 pm

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?
Richard M
 
Posts: 2
Joined: Mon Aug 25, 2008 2:26 pm

Re: Perl Math::Pari Problem?

Postby PaX Team » Mon Aug 25, 2008 3:18 pm

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.
PaX Team
 
Posts: 2310
Joined: Mon Mar 18, 2002 4:35 pm

Re: Perl Math::Pari Problem?

Postby Richard M » Mon Aug 25, 2008 6:55 pm

Many thanks.

execstack -c on the .so did the trick!
Richard M
 
Posts: 2
Joined: Mon Aug 25, 2008 2:26 pm


Return to grsecurity support

cron