or just run it as root?

>>> Joe Orton <[EMAIL PROTECTED]> 20-Jan-06 08:24:54 AM >>>
On Thu, Jan 19, 2006 at 09:35:30PM -0600, Eamon Daly wrote:
> 1. Problem Description:
> 
> Hey, all. I'm trying to build mod_perl against the stock
> httpd in RedHat 4ES. The build runs without issue, but
> "make test" fails immediately with the following error:
> 
> Can't load '/tmp/mod_perl-2.0.2/blib/arch/auto/ModPerl/Const/Const.so' for 
> module ModPerl::Const: 
> /tmp/mod_perl-2.0.2/blib/arch/auto/ModPerl/Const/Const.so: failed to map 
> segment from shared object: Operation not permitted at 
> /usr/lib/perl5/5.8.5/i386-linux-thread-multi/DynaLoader.pm line 230.
> at /tmp/mod_perl-2.0.2/blib/lib/Apache2/Const.pm line 17

These types of errors are caused by the SELinux policy being enforced 
for /usr/sbin/httpd.  It would be simplest to temporarily disable the 
part of the policy applied to httpd whilst running the test suite, by 
doing:

   setsebool httpd_disable_trans 1
   make test
   setsebool httpd_disable_trans 0

Regards,

joe

Reply via email to