Problem with Atomic kernel?

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
RichardM
Forum User
Forum User
Posts: 69
Joined: Sun Apr 20, 2008 2:51 pm

Problem with Atomic kernel?

Unread post by RichardM »

My RHEL5 server depends heavily on a Perl module "Math::Pari"

Today I needed to reboot the server - and as a result I think I have activated ASL's kernel and GRSecurity stuff. :?

Unfortunately this is causing (I think) Math::Pari to fail:

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.


Although in /etc/asl/config I have "ALLOW_kmod_loading="no", in the GUI I see GRSecurity stuff as switched on.

Any ideas?
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

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 lies. It does not need an executable stack.Turn that off with:

execstack -c /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm


What RPM does that file belong to? rpm -qf /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm
breun
Long Time Forum Regular
Long Time Forum Regular
Posts: 2813
Joined: Sat Aug 20, 2005 9:30 am
Location: The Netherlands

Re: Problem with Atomic kernel?

Unread post by breun »

RichardM wrote:Today I needed to reboot the server - and as a result I think I have activated ASL's kernel and GRSecurity stuff. :?
That's actually a good thing, really.
Although in /etc/asl/config I have "ALLOW_kmod_loading="no", in the GUI I see GRSecurity stuff as switched on.
ALLOW_kmod_loading=no means that the ASL kernel won't allow loading kernel modules (at runtime).
Lemonbit Internet Dedicated Server Management
RichardM
Forum User
Forum User
Posts: 69
Joined: Sun Apr 20, 2008 2:51 pm

Unread post by RichardM »

scott wrote: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 lies. It does not need an executable stack.Turn that off with:

execstack -c /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm


What RPM does that file belong to? rpm -qf /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm
It belongs to perl-5.8.8-10.el5_2.3

The execstack -c fixed it.

Excellent! Thanks so much.
Post Reply